﻿* {
    box-sizing: border-box;
}

:root {
    --ink: #14202b;
    --muted: #5b6672;
    --line: #d9e2ea;
    --panel: #ffffff;
    --panel-soft: #f3f7fa;
    --accent: #0e7c86;
    --accent-deep: #0a4f5b;
    --steel: #83909c;
    --dark: #111821;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(14, 124, 134, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(14, 124, 134, 0.08) 1px, transparent 1px),
        #eef3f6;
    background-size: 42px 42px;
}

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

body:has(.home-shell),
body:has(.vertex-shell),
body:has(.products-shell),
body:has(.about-shell),
body:has(.legal-shell),
body:has(.custom-shell),
body:has(.dealer-shell),
body:has(.admin-shell) {
    background:
        radial-gradient(circle at 72% 22%, rgba(30, 190, 200, 0.2), transparent 28%),
        radial-gradient(circle at 18% 70%, rgba(6, 82, 113, 0.55), transparent 34%),
        linear-gradient(135deg, #02070d 0%, #06202c 45%, #04141f 100%);
    background-size: auto;
}

button,
a {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.site-shell.home-scroll-locked {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

.home-shell,
.vertex-shell,
.products-shell,
.about-shell,
.legal-shell,
.custom-shell,
.dealer-shell,
.admin-shell {
    color: #eaf5f7;
    background:
        radial-gradient(circle at 72% 22%, rgba(30, 190, 200, 0.2), transparent 28%),
        radial-gradient(circle at 18% 70%, rgba(6, 82, 113, 0.55), transparent 34%),
        linear-gradient(135deg, #02070d 0%, #06202c 45%, #04141f 100%);
}

.home-shell::before,
.vertex-shell::before,
.products-shell::before,
.about-shell::before,
.legal-shell::before,
.custom-shell::before,
.dealer-shell::before,
.admin-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(76, 219, 229, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(76, 219, 229, 0.08) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.22));
}

.home-shell .topbar,
.vertex-shell .topbar,
.products-shell .topbar,
.about-shell .topbar,
.legal-shell .topbar,
.custom-shell .topbar,
.dealer-shell .topbar,
.admin-shell .topbar {
    color: #eaf5f7;
    border-bottom-color: transparent;
    background: rgba(18, 19, 21, 0.76);
}

.home-shell .brand-mark,
.home-shell h1,
.vertex-shell .brand-mark,
.vertex-shell h1,
.products-shell .brand-mark,
.products-shell h1,
.about-shell .brand-mark,
.about-shell h1,
.legal-shell .brand-mark,
.legal-shell h1,
.dealer-shell .brand-mark,
.dealer-shell h1,
.admin-shell .brand-mark,
.admin-shell h1 {
    color: #f4fbfc;
}

.custom-shell .brand-mark {
    color: #f4fbfc;
}

.home-shell .nav-actions button,
.vertex-shell .nav-actions button,
.products-shell .nav-actions button,
.about-shell .nav-actions button,
.legal-shell .nav-actions button,
.custom-shell .nav-actions button,
.dealer-shell .nav-actions button,
.admin-shell .nav-actions button,
.home-shell .login-toggle,
.home-shell .login-state button,
.vertex-shell .login-toggle,
.vertex-shell .login-state button,
.products-shell .login-toggle,
.products-shell .login-state button,
.about-shell .login-toggle,
.about-shell .login-state button,
.legal-shell .login-toggle,
.legal-shell .login-state button,
.custom-shell .login-toggle,
.custom-shell .login-state button,
.dealer-shell .login-toggle,
.dealer-shell .login-state button,
.admin-shell .login-toggle,
.admin-shell .login-state button {
    color: #dceff2;
    border-color: rgba(132, 226, 235, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.home-shell .manage-menu button,
.vertex-shell .manage-menu button,
.products-shell .manage-menu button,
.about-shell .manage-menu button,
.legal-shell .manage-menu button,
.custom-shell .manage-menu button,
.dealer-shell .manage-menu button,
.admin-shell .manage-menu button {
    color: var(--ink);
    border-color: var(--line);
    background: #ffffff;
}

.home-shell .manage-menu button:hover,
.vertex-shell .manage-menu button:hover,
.products-shell .manage-menu button:hover,
.about-shell .manage-menu button:hover,
.legal-shell .manage-menu button:hover,
.custom-shell .manage-menu button:hover,
.dealer-shell .manage-menu button:hover,
.admin-shell .manage-menu button:hover {
    color: #ffffff;
    border-color: var(--accent-deep);
    background: var(--accent-deep);
}

.home-shell .nav-actions button.active,
.home-shell .language-toggle,
.vertex-shell .nav-actions button.active,
.vertex-shell .language-toggle,
.products-shell .nav-actions button.active,
.products-shell .language-toggle,
.about-shell .nav-actions button.active,
.about-shell .language-toggle,
.custom-shell .nav-actions button.active,
.custom-shell .language-toggle,
.dealer-shell .nav-actions button.active,
.dealer-shell .language-toggle,
.admin-shell .nav-actions button.active,
.admin-shell .language-toggle,
.home-shell .login-toggle,
.vertex-shell .login-toggle,
.products-shell .login-toggle,
.about-shell .login-toggle,
.custom-shell .login-toggle,
.dealer-shell .login-toggle,
.admin-shell .login-toggle {
    color: #031019;
    border-color: #8be7ee;
    background: #8be7ee;
}

.home-shell .lead,
.home-shell .wide-panel p,
.vertex-shell .lead,
.vertex-shell .body-copy,
.vertex-shell .wide-panel p,
.products-shell .lead,
.about-shell .lead,
.about-shell .body-copy,
.about-shell .wide-panel p,
.dealer-shell .lead,
.admin-shell .lead {
    color: #b5cbd1;
}

.home-shell .wide-panel,
.home-shell .product-visual,
.home-shell .signal-card,
.vertex-shell .wide-panel,
.vertex-shell .vertex-carousel,
.about-shell .tech-board,
.about-shell .wide-panel {
    border-color: rgba(132, 226, 235, 0.18);
    background: rgba(4, 21, 33, 0.76);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    height: 70px;
    min-height: 70px;
    padding: 0 32px;
    border-bottom: 0;
    background: rgba(247, 250, 252, 0.94);
    backdrop-filter: blur(18px) saturate(0.72);
    transition:
        opacity 900ms ease,
        transform 900ms cubic-bezier(0.16, 0.78, 0.18, 1);
}

.home-shell .topbar {
    position: fixed;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(-22px);
    pointer-events: none;
}

.home-shell .topbar.home-nav-reveal {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-weight: 800;
}

.brand-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    color: #ffffff;
    background: var(--dark);
    letter-spacing: 0;
}

.brand-logo-image {
    display: block;
    width: 148px;
    height: 58px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
}

.nav-actions {
    display: inline-flex;
    justify-content: center;
    justify-self: center;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid rgba(20, 32, 43, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 18px 44px rgba(10, 24, 34, 0.12);
    backdrop-filter: blur(18px) saturate(0.72);
}

.nav-actions button,
.language-toggle,
.login-toggle,
.login-state button {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    background: #ffffff;
}

.nav-actions button {
    position: relative;
    border: 0;
    color: rgba(20, 32, 43, 0.76);
    background: transparent;
    font-size: 14px;
    font-weight: 800;
    overflow: visible;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-actions button:hover {
    color: var(--accent-deep);
    background: rgba(14, 124, 134, 0.08);
}

.nav-actions button.active,
.language-toggle,
.login-toggle {
    color: #ffffff;
    border-color: var(--accent-deep);
    background: var(--accent-deep);
}

.nav-actions button.active,
.nav-actions button.open {
    color: #05131a;
    background: rgba(139, 231, 238, 0.18);
}

.nav-label {
    position: relative;
    z-index: 2;
}

.nav-lamp {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(139, 231, 238, 0.16), rgba(139, 231, 238, 0.04));
    box-shadow: inset 0 0 0 1px rgba(139, 231, 238, 0.16);
    pointer-events: none;
    animation: nav-lamp-breathe 3.4s ease-in-out infinite;
}

.nav-lamp::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 36px;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: #8be7ee;
    transform: translateX(-50%);
    box-shadow:
        0 0 9px rgba(139, 231, 238, 0.98),
        0 0 20px rgba(139, 231, 238, 0.52);
}

.nav-lamp::after {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    width: 58px;
    height: 26px;
    border-radius: 999px;
    background: rgba(139, 231, 238, 0.22);
    filter: blur(10px);
    transform: translateX(-50%);
}

.nav-actions button.nav-item-vertex {
    color: #c49334;
    text-shadow:
        0 0 8px rgba(196, 147, 52, 0.24),
        0 1px 10px rgba(0, 0, 0, 0.24);
}

.nav-actions button.nav-item-vertex:hover,
.nav-actions button.nav-item-vertex.active {
    color: #e0ad45;
    background: rgba(176, 121, 24, 0.14);
}

.nav-actions button.nav-item-vertex:hover .nav-lamp,
.nav-actions button.nav-item-vertex.active .nav-lamp {
    background: linear-gradient(180deg, rgba(198, 143, 34, 0.2), rgba(198, 143, 34, 0.06));
    box-shadow: inset 0 0 0 1px rgba(198, 143, 34, 0.22);
}

.nav-actions button.nav-item-vertex:hover .nav-lamp::before,
.nav-actions button.nav-item-vertex.active .nav-lamp::before {
    background: #c58b22;
    box-shadow:
        0 0 9px rgba(213, 164, 65, 0.98),
        0 0 22px rgba(176, 121, 24, 0.62);
}

.nav-actions button.nav-item-vertex:hover .nav-lamp::after,
.nav-actions button.nav-item-vertex.active .nav-lamp::after {
    background: rgba(198, 143, 34, 0.24);
}

.nav-actions button.nav-item-vertex:hover::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    z-index: 3;
    width: 36px;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: #c58b22;
    transform: translateX(-50%);
    box-shadow:
        0 0 9px rgba(213, 164, 65, 0.98),
        0 0 22px rgba(176, 121, 24, 0.62);
    pointer-events: none;
}

.nav-actions button.nav-item-vertex:hover::after {
    content: "";
    position: absolute;
    top: -16px;
    left: 50%;
    z-index: 2;
    width: 58px;
    height: 26px;
    border-radius: 999px;
    background: rgba(198, 143, 34, 0.24);
    filter: blur(10px);
    transform: translateX(-50%);
    pointer-events: none;
}

@keyframes nav-lamp-breathe {
    0%, 100% {
        opacity: 0.78;
    }
    50% {
        opacity: 1;
    }
}

.home-shell .nav-actions,
.vertex-shell .nav-actions,
.products-shell .nav-actions,
.about-shell .nav-actions,
.legal-shell .nav-actions,
.custom-shell .nav-actions,
.dealer-shell .nav-actions,
.admin-shell .nav-actions {
    border-color: rgba(132, 226, 235, 0.16);
    background: rgba(3, 16, 25, 0.36);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.home-shell .nav-actions button,
.vertex-shell .nav-actions button,
.products-shell .nav-actions button,
.about-shell .nav-actions button,
.legal-shell .nav-actions button,
.custom-shell .nav-actions button,
.dealer-shell .nav-actions button,
.admin-shell .nav-actions button {
    color: #dceff2;
    border: 0;
    background: transparent;
}

.home-shell .nav-actions button:hover,
.vertex-shell .nav-actions button:hover,
.products-shell .nav-actions button:hover,
.about-shell .nav-actions button:hover,
.legal-shell .nav-actions button:hover,
.custom-shell .nav-actions button:hover,
.dealer-shell .nav-actions button:hover,
.admin-shell .nav-actions button:hover {
    color: #ffffff;
    background: rgba(139, 231, 238, 0.1);
}

.home-shell .nav-actions button.active,
.home-shell .nav-actions button.open,
.vertex-shell .nav-actions button.active,
.vertex-shell .nav-actions button.open,
.products-shell .nav-actions button.active,
.products-shell .nav-actions button.open,
.about-shell .nav-actions button.active,
.about-shell .nav-actions button.open,
.legal-shell .nav-actions button.active,
.legal-shell .nav-actions button.open,
.custom-shell .nav-actions button.active,
.custom-shell .nav-actions button.open,
.dealer-shell .nav-actions button.active,
.dealer-shell .nav-actions button.open,
.admin-shell .nav-actions button.active,
.admin-shell .nav-actions button.open {
    color: #f8fdff;
    border: 0;
    background: rgba(139, 231, 238, 0.14);
}

.home-shell .nav-actions button.nav-item-vertex,
.vertex-shell .nav-actions button.nav-item-vertex,
.products-shell .nav-actions button.nav-item-vertex,
.about-shell .nav-actions button.nav-item-vertex,
.custom-shell .nav-actions button.nav-item-vertex,
.dealer-shell .nav-actions button.nav-item-vertex,
.admin-shell .nav-actions button.nav-item-vertex {
    color: #c49334;
}

.home-shell .nav-actions button.nav-item-vertex:hover,
.home-shell .nav-actions button.nav-item-vertex.active,
.vertex-shell .nav-actions button.nav-item-vertex:hover,
.vertex-shell .nav-actions button.nav-item-vertex.active,
.products-shell .nav-actions button.nav-item-vertex:hover,
.products-shell .nav-actions button.nav-item-vertex.active,
.about-shell .nav-actions button.nav-item-vertex:hover,
.about-shell .nav-actions button.nav-item-vertex.active,
.custom-shell .nav-actions button.nav-item-vertex:hover,
.custom-shell .nav-actions button.nav-item-vertex.active,
.dealer-shell .nav-actions button.nav-item-vertex:hover,
.dealer-shell .nav-actions button.nav-item-vertex.active,
.admin-shell .nav-actions button.nav-item-vertex:hover,
.admin-shell .nav-actions button.nav-item-vertex.active {
    color: #e0ad45;
    background: rgba(176, 121, 24, 0.14);
}

.legal-shell .nav-actions button.nav-item-vertex {
    color: #dceff2;
    text-shadow: none;
}

.topbar-tools,
.login-state {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-state button {
    color: var(--ink);
    background: #ffffff;
}

.manage-state {
    position: relative;
}

.manage-menu-wrap {
    position: relative;
}

.manage-menu-toggle.open {
    color: #ffffff;
    border-color: var(--accent-deep);
    background: var(--accent-deep);
}

.manage-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    display: grid;
    gap: 6px;
    min-width: 180px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(20, 32, 43, 0.18);
}

.manage-menu button {
    justify-content: flex-start;
    width: 100%;
    min-height: 38px;
    text-align: left;
    white-space: nowrap;
}

.manage-menu button:hover {
    color: #ffffff;
    border-color: var(--accent-deep);
    background: var(--accent-deep);
}

.nav-actions button.open {
    color: #ffffff;
    border-color: #101820;
    background: #101820;
}

.product-mega {
    position: fixed;
    top: 76px;
    left: 0;
    z-index: 31;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding: clamp(22px, 2.5vw, 32px) clamp(22px, 6vw, 72px);
    color: #f4f7f9;
    background: #15191d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
    opacity: 0;
    transform: translateY(-18px);
    pointer-events: none;
    transition: transform 220ms ease, opacity 180ms ease;
}

@media (min-width: 861px) {
    .topbar:has(.nav-item-products:hover) + .product-mega,
    .product-mega:hover,
    .product-mega.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.product-mega.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.product-mega-item {
    display: flex;
    align-items: center;
    min-height: clamp(76px, 6.25vw, 120px);
    padding: 0 clamp(16px, 3vw, 48px);
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    color: #f7fbff;
    background: transparent;
    font-size: clamp(22px, 1.9vw, 48px);
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}

.product-mega-item:first-child {
    border-left: 0;
}

.product-mega-item.selected {
    color: #8be7ee;
}

.product-mega-item:hover,
.product-mega-item:focus-visible {
    color: #8be7ee;
}

@media (min-width: 861px) and (max-width: 1500px) {
    .product-mega {
        padding-block: clamp(18px, 2vw, 26px);
        padding-inline: clamp(18px, 4vw, 48px);
    }

    .product-mega-item {
        min-height: clamp(66px, 5.8vw, 86px);
        padding-inline: clamp(10px, 1.7vw, 22px);
        font-size: clamp(20px, 1.72vw, 28px);
    }
}

main {
    width: min(1380px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 76px;
}

.home-shell main {
    width: 100%;
    padding: 0 0 76px;
}

.vertex-shell main {
    width: min(1760px, calc(100% - clamp(40px, 5vw, 96px)));
}

.page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.about-page {
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(28px, 3vw, 40px);
    align-items: stretch;
}

.about-page .wide-panel,
.about-story-feature {
    grid-column: 1 / -1;
}

.about-intro-image-card {
    position: relative;
    display: block;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 52% 30%, rgba(139, 231, 238, 0.18), transparent 42%),
        linear-gradient(145deg, rgba(7, 32, 47, 0.84), rgba(3, 16, 25, 0.72));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.about-page > .about-intro-image-card {
    margin-top: 178px;
    align-self: start;
    justify-self: start;
    width: min(100%, 740px);
    aspect-ratio: 1.72 / 1;
}

.about-intro-image-card::before {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(132, 226, 235, 0.12);
    border-radius: 6px;
    pointer-events: none;
}

.legal-page {
    display: grid;
    gap: 22px;
    width: min(980px, 100%);
    margin: 0 auto;
}

.legal-hero {
    display: grid;
    gap: 12px;
    padding: clamp(26px, 4vw, 48px);
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(7, 32, 47, 0.84), rgba(3, 16, 25, 0.72)),
        rgba(4, 21, 33, 0.76);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.legal-hero h1 {
    margin: 0;
    color: #f4fbfc;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 0.94;
    letter-spacing: 0;
}

.legal-hero p:last-child {
    margin: 0;
    color: #b5cbd1;
    font-size: 14px;
    font-weight: 850;
}

.legal-panel {
    display: grid;
    gap: 10px;
    padding: clamp(24px, 4vw, 46px);
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: #14202b;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.legal-panel h2 {
    margin: 18px 0 0;
    color: #071019;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.15;
}

.legal-panel h2:first-child {
    margin-top: 0;
}

.legal-panel p {
    margin: 0;
    color: #51616d;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 700;
}

.site-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 18px;
    align-items: center;
    width: min(1380px, 100%);
    margin: 54px auto 0;
    padding: 22px 0 0;
    border-top: 1px solid rgba(20, 32, 43, 0.14);
    color: rgba(20, 32, 43, 0.72);
}

.home-shell .site-footer,
.vertex-shell .site-footer,
.products-shell .site-footer,
.about-shell .site-footer,
.legal-shell .site-footer,
.custom-shell .site-footer {
    border-top-color: rgba(132, 226, 235, 0.18);
    color: rgba(234, 245, 247, 0.76);
}

.site-footer div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.site-footer strong {
    color: inherit;
    font-size: 13px;
    font-weight: 950;
    letter-spacing: 0;
}

.site-footer span,
.site-footer small {
    color: inherit;
    font-size: 12px;
    font-weight: 800;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.site-footer button {
    min-height: 36px;
    border: 1px solid rgba(20, 32, 43, 0.16);
    border-radius: 6px;
    padding: 0 12px;
    color: inherit;
    background: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 900;
}

.home-shell .site-footer button,
.vertex-shell .site-footer button,
.products-shell .site-footer button,
.about-shell .site-footer button,
.legal-shell .site-footer button,
.custom-shell .site-footer button {
    border-color: rgba(132, 226, 235, 0.22);
    background: rgba(255, 255, 255, 0.07);
}

.site-footer button:hover,
.site-footer button:focus-visible {
    color: #031019;
    border-color: #8be7ee;
    background: #8be7ee;
}

.legal-shell .nav-actions button,
.legal-shell .nav-actions button.nav-item-vertex,
.legal-shell .nav-actions button.nav-item-vertex:hover,
.legal-shell .nav-actions button.nav-item-vertex.active {
    color: #dceff2;
    text-shadow: none;
}

.legal-shell .nav-actions button.nav-item-vertex:hover,
.legal-shell .nav-actions button:hover {
    background: rgba(139, 231, 238, 0.1);
}

.legal-shell .nav-actions button.nav-item-vertex:hover::before,
.legal-shell .nav-actions button.nav-item-vertex:hover::after {
    content: none;
}

.about-intro-image-card::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 26px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(45, 214, 224, 0.22), transparent 68%);
}

.about-intro-image-card img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: 44% center;
    transform: scale(1.025);
    transform-origin: center;
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.52));
}

.about-story-feature {
    display: grid;
    grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
    margin-top: 10px;
}

.about-image-rail {
    display: grid;
    gap: 18px;
    align-self: start;
}

.about-image-card {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 420px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 32%, rgba(139, 231, 238, 0.16), transparent 42%),
        rgba(4, 21, 33, 0.72);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.about-image-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(132, 226, 235, 0.12);
    border-radius: 6px;
    pointer-events: none;
}

.about-image-card.compact {
    min-height: 260px;
}

.about-image-card img {
    position: relative;
    z-index: 1;
    width: min(78%, 360px);
    max-height: 540px;
    object-fit: contain;
    filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.56));
}

.about-image-card.compact img {
    width: min(86%, 390px);
    max-height: 300px;
}

.about-hover-image {
    cursor: default;
    outline: none;
}

.about-hover-image img {
    transition: transform 180ms ease, filter 180ms ease;
}

.about-hover-image:hover img,
.about-hover-image:focus-visible img {
    transform: scale(1.035);
}

.about-image-caption {
    position: absolute;
    z-index: 2;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    row-gap: 3px;
    align-items: baseline;
    padding: 12px 14px;
    border: 1px solid rgba(132, 226, 235, 0.2);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(1, 12, 18, 0.7), rgba(1, 12, 18, 0.88));
    color: #f3fbfd;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.about-hover-image:hover .about-image-caption,
.about-hover-image:focus-visible .about-image-caption {
    opacity: 1;
    transform: translateY(0);
}

.about-image-caption span {
    color: #8be7ee;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.about-image-caption strong {
    min-width: 0;
    color: #f3fbfd;
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 950;
}

.about-story-copy {
    justify-self: end;
    width: min(100%, 760px);
    padding-top: 4px;
}

.about-story-copy .body-copy:first-child {
    margin-top: 0;
}

.about-shell .lead {
    max-width: 680px;
    font-size: clamp(16px, 1.18vw, 18px);
    line-height: 1.6;
}

.about-shell .body-copy,
.about-shell .wide-panel p {
    max-width: 700px;
    font-size: clamp(15px, 1.08vw, 18px);
    line-height: 1.64;
}

.about-story-copy {
    font-size: clamp(15px, 1.08vw, 18px);
}

.about-shell .metric-grid span {
    font-size: clamp(13px, 0.9vw, 16px);
    line-height: 1.36;
}

.about-shell .partnership-panel {
    display: grid;
    gap: 8px;
}

.about-shell .partnership-email {
    width: fit-content;
    color: #8ce8f4;
    font-size: clamp(18px, 1.3vw, 22px);
    font-weight: 800;
    text-decoration: none;
}

.about-shell .partnership-email:hover {
    color: #ffffff;
}

.vertex-page {
    grid-template-columns: minmax(220px, 0.42fr) minmax(760px, 1.58fr);
    position: relative;
    isolation: isolate;
}

.home-shell main > .vertex-page::before,
.vertex-shell main > .vertex-page::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 calc(50% - 50vw);
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(76, 219, 229, 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgba(76, 219, 229, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 72% 22%, rgba(30, 190, 200, 0.2), transparent 28%),
        radial-gradient(circle at 18% 70%, rgba(6, 82, 113, 0.55), transparent 34%),
        linear-gradient(135deg, #02070d 0%, #06202c 45%, #04141f 100%);
    background-size:
        44px 44px,
        44px 44px,
        auto,
        auto,
        auto;
}

.home-shell main > .vertex-page {
    width: min(1760px, calc(100% - clamp(40px, 5vw, 96px)));
    margin: 0 auto;
    padding: 54px 0 76px;
}

.home-shell .vertex-page .vertex-carousel {
    border-color: rgba(132, 226, 235, 0.18);
    background: rgba(4, 21, 33, 0.76);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.hero-page {
    align-items: center;
}

.copy-stack {
    align-self: center;
}

.home-shell .vertex-page .copy-stack h1,
.vertex-shell .vertex-page .copy-stack h1 {
    color: #c8a75a;
    background:
        linear-gradient(180deg, #f7e7b2 0%, #d7bd73 34%, #aa7e2d 68%, #6f4816 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 1px 0 rgba(255, 242, 197, 0.2),
        0 8px 18px rgba(0, 0, 0, 0.62),
        0 24px 52px rgba(0, 0, 0, 0.56);
}

.home-shell .vertex-page .copy-stack .body-copy,
.vertex-shell .vertex-page .copy-stack .body-copy {
    max-width: 720px;
    color: #b5cbd1;
    font-size: 18px;
    line-height: 1.7;
    margin: 18px 0 0;
    text-align: left;
    text-align-last: auto;
}

.eyebrow {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent-deep);
    text-transform: uppercase;
    letter-spacing: 0;
}

h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 1;
    letter-spacing: 0;
}

h2 {
    margin: 0 0 16px;
    font-size: 28px;
    letter-spacing: 0;
}

.lead,
.body-copy,
.wide-panel p {
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.lead {
    margin: 24px 0 0;
}

.body-copy {
    margin: 18px 0 0;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.primary-action,
.secondary-action {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 6px;
    font-weight: 800;
}

.primary-action {
    color: #ffffff;
    border: 1px solid var(--accent-deep);
    background: var(--accent-deep);
}

.secondary-action {
    color: var(--ink);
    border: 1px solid var(--line);
    background: #ffffff;
}

.product-visual,
.tech-board,
.selector-panel,
.wide-panel {
    border: 1px solid rgba(20, 32, 43, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 70px rgba(20, 32, 43, 0.1);
}

.product-visual {
    position: relative;
    min-height: 520px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.product-visual::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(14, 124, 134, 0.18);
    border-radius: 8px;
}

.product-visual::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 36px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(45, 214, 224, 0.3), transparent 68%);
}

.hero-product-photo {
    position: relative;
    z-index: 2;
    max-width: min(74%, 390px);
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.48));
}

.video-visual {
    justify-self: center;
    width: min(100%, 380px);
    min-height: 0;
    aspect-ratio: 9 / 16;
    background:
        linear-gradient(145deg, rgba(244, 249, 250, 0.92), rgba(218, 232, 236, 0.76)),
        rgba(255, 255, 255, 0.88);
}

.video-visual::before {
    inset: 14px;
}

.video-visual::after {
    left: 10%;
    right: 10%;
    bottom: 18px;
}

.hero-product-video {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: 9 / 16;
    border-radius: 6px;
    object-fit: contain;
    opacity: 0;
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.42));
}

.hero-product-video.video-playing {
    opacity: 1;
}

.video-fallback {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 6px;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    filter: none;
    transition: opacity 90ms linear;
}

.video-fallback.seam-visible {
    opacity: 1;
}

.home-hero-cinema {
    position: relative;
    display: grid;
    gap: 22px;
    min-height: 100vh;
    overflow: hidden;
}

.home-hero-video {
    display: block;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    background: #02070d;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.home-hero-final-frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.home-hero-final-frame.visible {
    opacity: 1;
}

.home-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(2, 7, 13, 0.88) 0%, rgba(2, 7, 13, 0.55) 32%, rgba(2, 7, 13, 0.08) 68%, rgba(2, 7, 13, 0.28) 100%),
        linear-gradient(180deg, rgba(2, 7, 13, 0.1) 46%, rgba(2, 7, 13, 0.86) 100%);
}

.home-hero-shade::before {
    content: none;
}

.home-hero-copy {
    position: absolute;
    top: clamp(96px, 9.2vw, 190px);
    right: clamp(22px, 5vw, 128px);
    z-index: 2;
    width: min(62vw, calc(100% - 44px));
    opacity: 0;
    transform: translateX(72px);
    filter: blur(12px);
    transition:
        opacity 1800ms ease,
        transform 1800ms cubic-bezier(0.16, 0.78, 0.18, 1),
        filter 1800ms ease;
    pointer-events: none;
}

.home-hero-copy.visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
    pointer-events: auto;
}

.home-hero-copy h1 {
    position: relative;
    max-width: none;
    color: #c8a75a;
    background:
        linear-gradient(180deg, #f7e7b2 0%, #d7bd73 34%, #aa7e2d 68%, #6f4816 100%);
    background-size: 100% 100%;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "SF Pro Display", "Segoe UI Variable Display", "Aptos Display", "Inter", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(52px, 6.5vw, 178px);
    font-weight: 750;
    letter-spacing: 0;
    line-height: 0.94;
    text-align: right;
    text-transform: none;
    text-shadow:
        0 1px 0 rgba(255, 242, 197, 0.2),
        0 8px 18px rgba(0, 0, 0, 0.62),
        0 24px 52px rgba(0, 0, 0, 0.56);
    -webkit-text-stroke: 0.14px rgba(82, 61, 24, 0.42);
    font-feature-settings: "kern" 1, "ss01" 1;
}

.home-hero-copy h1::after {
    content: attr(data-shine);
    position: absolute;
    inset: 0;
    color: transparent;
    background:
        linear-gradient(105deg, transparent 0%, transparent 43%, rgba(236, 204, 125, 0.46) 48%, #fff4c6 51%, rgba(214, 176, 86, 0.42) 55%, transparent 62%, transparent 100%);
    background-size: 340% 100%;
    background-position: -130% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 7px rgba(204, 164, 77, 0.22));
    pointer-events: none;
    animation: title-once-shine 3.2s ease-out 1.25s 1 both;
}

@keyframes title-once-shine {
    0% {
        background-position: -130% 0;
        opacity: 0;
    }
    16% {
        opacity: 1;
    }
    72% {
        background-position: 130% 0;
        opacity: 1;
    }
    100% {
        background-position: 130% 0;
        opacity: 0;
    }
}

.home-hero-sparkles {
    position: relative;
    width: min(48vw, 100%);
    height: clamp(118px, 7.4vw, 190px);
    margin: clamp(16px, 1vw, 28px) 0 0 auto;
    overflow: hidden;
    opacity: 0.96;
    -webkit-mask-image: radial-gradient(440px 128px at 54% 0%, #000 18%, transparent 78%);
    mask-image: radial-gradient(440px 128px at 54% 0%, #000 18%, transparent 78%);
}

.spark-line {
    position: absolute;
    left: 8%;
    right: 3%;
    top: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(116, 72, 14, 0.4), rgba(207, 155, 43, 0.95), rgba(255, 236, 166, 0.68), transparent);
    transform-origin: right center;
}

.spark-line.glow {
    top: 18px;
    height: 7px;
    filter: blur(8px);
    opacity: 0.55;
}

.spark-line.short {
    left: 42%;
    right: 1%;
    top: 15px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 242, 178, 0.92), rgba(130, 82, 15, 0.72), transparent);
    animation: spark-line-pulse 3.2s ease-in-out infinite;
}

.spark-particle {
    position: absolute;
    left: var(--x);
    top: 20px;
    width: var(--size);
    height: var(--size);
    border-radius: 999px;
    background: rgba(255, 241, 181, 0.94);
    box-shadow:
        0 0 7px rgba(255, 236, 166, 0.74),
        0 0 18px rgba(167, 111, 25, 0.62);
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.9);
    animation: spark-rise var(--dur) ease-in-out var(--delay) infinite;
}

@keyframes spark-line-pulse {
    0%, 100% {
        opacity: 0.38;
        transform: scaleX(0.72);
    }
    50% {
        opacity: 0.95;
        transform: scaleX(1);
    }
}

@keyframes spark-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 8px, 0) scale(0.7);
    }
    14% {
        opacity: 0.95;
    }
    64% {
        opacity: 0.5;
        transform: translate3d(var(--drift), -54px, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--drift-end), -96px, 0) scale(0.45);
    }
}

.home-hero-tagline {
    display: block;
    max-width: 640px;
    margin: -44px 0 0 auto;
    color: #f6fbfc;
    font-size: clamp(18px, 1.85vw, 28px);
    font-weight: 900;
    line-height: 1;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.38),
        0 12px 28px rgba(0, 0, 0, 0.62);
}

.home-hero-copy p {
    display: block;
    max-width: 680px;
    margin: 18px 0 0 auto;
    padding: 0;
    color: #05080b;
    background: transparent;
    clip-path: none;
    font-size: clamp(18px, 1.8vw, 28px);
    font-weight: 900;
    line-height: 1.18;
    text-align: right;
    text-shadow:
        0 1px 0 rgba(255, 236, 168, 0.88),
        0 0 10px rgba(241, 201, 90, 0.62),
        0 0 26px rgba(198, 148, 32, 0.52),
        0 16px 34px rgba(0, 0, 0, 0.62);
    -webkit-text-stroke: 0.35px rgba(241, 201, 90, 0.58);
}

.home-hero-copy .home-hero-tagline {
    max-width: min(48vw, 100%);
    margin: clamp(-70px, -2.7vw, -44px) clamp(54px, 3.4vw, 96px) 0 auto;
    padding: 0;
    color: #f6fbfc;
    background: transparent;
    font-size: clamp(18px, 1.75vw, 46px);
    font-weight: 900;
    line-height: 1;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.38),
        0 12px 28px rgba(0, 0, 0, 0.62);
    -webkit-text-stroke: 0;
}

.home-scroll-cue {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    max-width: min(48vw, 100%);
    margin: clamp(18px, 1.1vw, 30px) clamp(54px, 3.4vw, 96px) 0 auto;
    color: rgba(246, 251, 252, 0.82);
    font-size: clamp(12px, 0.78vw, 18px);
    font-weight: 800;
    line-height: 1;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    opacity: 0;
    transform: translateX(16px);
    transition:
        opacity 900ms ease,
        transform 900ms cubic-bezier(0.16, 0.78, 0.18, 1);
}

.home-scroll-cue.visible {
    opacity: 1;
    transform: translateX(0);
}

.home-scroll-cue i {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid rgba(246, 251, 252, 0.86);
    filter: drop-shadow(0 0 8px rgba(213, 164, 65, 0.28));
    animation: scroll-cue-drift 1.6s ease-in-out infinite;
}

@keyframes scroll-cue-drift {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
}

.home-hero-actions .secondary-action {
    color: #031019;
    border-color: rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.9);
}

.home-hero-actions .ghost-action {
    color: #eaf5f7;
    border-color: rgba(139, 231, 238, 0.36);
    background: rgba(3, 16, 25, 0.38);
    backdrop-filter: blur(14px);
}

.home-hero-index {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin: 0 clamp(22px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid rgba(139, 231, 238, 0.22);
    border-radius: 8px;
    background: rgba(139, 231, 238, 0.18);
    backdrop-filter: blur(16px);
}

.home-hero-index article {
    display: grid;
    gap: 5px;
    min-height: 74px;
    padding: 15px 18px;
    background: rgba(3, 16, 25, 0.68);
}

.home-hero-index strong {
    color: #8be7ee;
    font-size: 24px;
    line-height: 1;
}

.home-hero-index span {
    color: #c7dbe0;
    font-size: 13px;
    font-weight: 800;
}

.home-proof-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    gap: 28px;
    align-items: end;
    padding: 30px;
    margin: 0 clamp(20px, 4vw, 56px);
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background: rgba(4, 21, 33, 0.76);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.home-proof-band h2 {
    color: #f4fbfc;
}

.home-proof-band p {
    margin: 0;
    color: #b5cbd1;
}

.home-proof-band .metric-grid {
    margin-top: 0;
}

.home-proof-band .metric-grid article {
    border-color: rgba(132, 226, 235, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.home-proof-band .metric-grid strong {
    color: #f4fbfc;
}

.home-proof-band .metric-grid span {
    color: #b5cbd1;
}

.drysuit-body {
    position: relative;
    width: 270px;
    height: 430px;
    filter: drop-shadow(0 28px 40px rgba(20, 32, 43, 0.28));
}

.hood-seal {
    position: absolute;
    top: 0;
    left: 102px;
    width: 66px;
    height: 78px;
    border-radius: 36px 36px 20px 20px;
    background: linear-gradient(145deg, #111821, #3e4c57);
    border: 1px solid #64727c;
}

.torso-panel {
    position: absolute;
    top: 58px;
    left: 62px;
    width: 146px;
    height: 218px;
    clip-path: polygon(18% 0, 82% 0, 100% 22%, 84% 100%, 16% 100%, 0 22%);
    background: linear-gradient(145deg, #e9eff3, #667784 54%, #202b35);
    border: 1px solid #8a99a3;
}

.zip-line {
    position: absolute;
    top: 78px;
    left: 132px;
    width: 8px;
    height: 188px;
    border-radius: 999px;
    background: #101820;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}

.arm,
.leg {
    position: absolute;
    background: linear-gradient(145deg, #dce4e9, #3d4b57 62%, #18232c);
    border: 1px solid #7d8b95;
}

.arm {
    top: 86px;
    width: 64px;
    height: 190px;
    border-radius: 26px;
}

.arm.left {
    left: 12px;
    transform: rotate(16deg);
}

.arm.right {
    right: 12px;
    transform: rotate(-16deg);
}

.leg {
    top: 260px;
    width: 70px;
    height: 164px;
    border-radius: 0 0 30px 30px;
}

.leg.left {
    left: 64px;
}

.leg.right {
    right: 64px;
}

.signal-card {
    position: absolute;
    z-index: 3;
    width: 190px;
    padding: 16px;
    border: 1px solid rgba(14, 124, 134, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
}

.signal-card.top {
    top: 28px;
    right: 14px;
}

.signal-card.bottom {
    left: 14px;
    bottom: 28px;
}

.signal-card span {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-deep);
}

.signal-card small {
    color: var(--muted);
}

.wide-panel {
    grid-column: 1 / -1;
    padding: 30px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px;
}

.metric-grid article {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.metric-grid strong {
    display: block;
    font-size: 28px;
}

.metric-grid span {
    color: var(--muted);
}

.tech-board {
    align-self: center;
    padding: 18px;
    background: #101820;
}

.vertex-carousel {
    display: grid;
    grid-template-columns: minmax(520px, 1fr) clamp(88px, 6vw, 116px);
    grid-template-rows: auto auto auto;
    gap: clamp(14px, 1.2vw, 22px);
    min-height: clamp(900px, 82vh, 1160px);
    padding: clamp(14px, 1.2vw, 22px);
    border: 1px solid rgba(20, 32, 43, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 24px 70px rgba(20, 32, 43, 0.1);
}

.vertex-model-strip {
    grid-column: 1 / 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 0.9vw, 16px);
}

.vertex-model-strip button {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(10px, 0.85vw, 14px);
    align-items: center;
    min-height: clamp(58px, 4.8vw, 76px);
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    padding: clamp(12px, 1vw, 18px) clamp(14px, 1.1vw, 20px);
    color: #dceff2;
    background: rgba(4, 21, 33, 0.72);
    text-align: left;
}

.vertex-model-strip button.selected {
    color: #031019;
    border-color: #8be7ee;
    background: #8be7ee;
}

.vertex-model-strip span {
    font-size: clamp(12px, 0.76vw, 14px);
    font-weight: 900;
    opacity: 0.72;
}

.vertex-model-strip strong {
    overflow: hidden;
    font-size: clamp(15px, 1vw, 18px);
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vertex-view-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    border-top: 1px solid rgba(132, 226, 235, 0.18);
    padding-top: 18px;
}

.vertex-view-card {
    display: grid;
    gap: 9px;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    padding: 10px;
    background: rgba(4, 21, 33, 0.72);
    text-align: left;
    cursor: pointer;
}

.vertex-view-card.selected {
    border-color: #8be7ee;
    background: rgba(139, 231, 238, 0.16);
}

.vertex-view-card img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 6px;
    background: #f6f9fa;
}

.vertex-view-card strong {
    color: #dceff2;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.vertex-cc-tech-panel {
    grid-column: 1 / -1;
    display: grid;
    gap: 18px;
    border: 1px solid rgba(201, 154, 32, 0.22);
    border-radius: 8px;
    padding: clamp(18px, 2.4vw, 28px);
    background:
        linear-gradient(135deg, rgba(4, 21, 33, 0.92), rgba(3, 16, 25, 0.84)),
        rgba(4, 21, 33, 0.86);
}

.vertex-cc-tech-heading {
    display: grid;
    gap: 6px;
    justify-items: start;
    text-align: left;
}

.vertex-cc-tech-heading h2 {
    margin: 0;
    color: #c99520;
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 1.05;
}

.vertex-cc-tech-grid {
    display: grid;
    grid-template-columns: minmax(420px, 0.92fr) minmax(500px, 1.08fr);
    gap: clamp(30px, 4.4vw, 60px);
    align-items: start;
    justify-content: center;
    max-width: 1040px;
    margin: 0 auto;
}

.vertex-cc-tech-grid dl {
    margin: 0;
}

.vertex-cc-tech-grid dl div {
    grid-template-columns: 118px 1fr;
    gap: 18px;
    border-top-color: rgba(132, 226, 235, 0.16);
    padding: 13px 0;
}

.vertex-cc-tech-grid dt {
    color: #b5cbd1;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.28;
}

.vertex-cc-tech-grid dd {
    color: #f4fbfc;
    font-weight: 900;
    font-size: 17px;
    line-height: 1.34;
}

.vertex-cc-tech-grid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 18px;
    color: #d7e8ec;
    line-height: 1.42;
    font-size: 15px;
}

.vertex-cc-tech-grid li::marker {
    color: #c99520;
}

.vertex-stack-stage {
    position: relative;
    grid-column: 1 / 2;
    grid-row: 2;
    --vertex-stage-height: clamp(820px, 72vh, 1040px);
    min-height: var(--vertex-stage-height);
    overflow: hidden;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 44%, rgba(115, 230, 236, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

.vertex-stack-stage::before {
    content: "";
    position: absolute;
    inset: clamp(26px, 2vw, 38px);
    border: 1px solid rgba(139, 231, 238, 0.18);
    border-radius: 8px;
}

.vertex-stack-stage::after {
    display: none;
}

.cc-mask-effect {
    position: absolute;
    inset: 0;
    z-index: 7;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    contain: paint;
    transform: translateZ(0);
    will-change: opacity, transform;
}

.cc-mask-effect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transform: translateZ(0) scale(1.08);
    backface-visibility: hidden;
    will-change: transform;
}

.cc-mask-effect.active {
    visibility: visible;
}

.cc-mask-effect.active.pulse-a {
    animation: cc-mask-fade-a 1800ms linear both;
}

.cc-mask-effect.active.pulse-b {
    animation: cc-mask-fade-b 1800ms linear both;
}

.cc-mask-effect.active.pulse-a img {
    animation: cc-mask-drift-a 1800ms linear both;
}

.cc-mask-effect.active.pulse-b img {
    animation: cc-mask-drift-b 1800ms linear both;
}

.vertex-depth-line {
    position: absolute;
    left: 12%;
    right: 12%;
    bottom: 52px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 231, 238, 0.55), transparent);
}

.vertex-depth-line::before,
.vertex-depth-line::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 231, 238, 0.28), transparent);
}

.vertex-depth-line::before {
    top: -96px;
}

.vertex-depth-line::after {
    top: -188px;
}

.vertex-layer {
    position: absolute;
    left: 50%;
    bottom: clamp(10px, 1vw, 22px);
    width: clamp(520px, 31vw, 650px);
    height: clamp(740px, 43vw, 900px);
    max-width: min(78%, calc(var(--vertex-stage-height) * 0.72));
    max-height: calc(var(--vertex-stage-height) - clamp(58px, 5vw, 92px));
    padding: 0;
    border: 0;
    background: transparent;
    transform-origin: 50% 88%;
    transition:
        transform 620ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vertex-layer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.48));
}

.vertex-layer.layer-active {
    z-index: 5;
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
}

.vertex-stack-stage.view-side .vertex-layer.layer-active {
    transform: translateX(-58%) translateY(0) scale(1.04);
}

.vertex-layer.layer-active img {
    filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.58));
}

.vertex-layer.layer-active.effect-elastic img {
    animation: suit-elastic-recovery 980ms cubic-bezier(0.2, 0.85, 0.18, 1) both;
    transform-origin: 50% 86%;
}

.vertex-layer.layer-left,
.vertex-layer.layer-right {
    z-index: 3;
    opacity: 0.36;
}

.vertex-layer.layer-left {
    transform: translateX(-106%) translateY(-34px) scale(0.62);
}

.vertex-layer.layer-right {
    transform: translateX(6%) translateY(-34px) scale(0.62);
}

.vertex-layer.layer-left img,
.vertex-layer.layer-right img {
    filter: blur(3px) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.vertex-layer.layer-back {
    z-index: 1;
    transform: translateX(-50%) translateY(-80px) scale(0.46);
    opacity: 0;
    pointer-events: none;
}

.vertex-layer.layer-back img {
    filter: blur(5px);
}

@keyframes suit-elastic-recovery {
    0% {
        transform: scaleX(1) scaleY(1);
    }
    26% {
        transform: scaleX(0.94) scaleY(1.075) translateY(-10px);
    }
    50% {
        transform: scaleX(1.045) scaleY(0.965) translateY(4px);
    }
    72% {
        transform: scaleX(0.985) scaleY(1.018) translateY(-3px);
    }
    100% {
        transform: scaleX(1) scaleY(1);
    }
}

@keyframes cc-mask-fade-a {
    0% {
        opacity: 0.82;
    }
    12% {
        opacity: 0.82;
    }
    32% {
        opacity: 0.62;
    }
    56% {
        opacity: 0.34;
    }
    78% {
        opacity: 0.12;
    }
    100% {
        opacity: 0;
    }
}

@keyframes cc-mask-fade-b {
    0% {
        opacity: 0.82;
    }
    12% {
        opacity: 0.82;
    }
    32% {
        opacity: 0.62;
    }
    56% {
        opacity: 0.34;
    }
    78% {
        opacity: 0.12;
    }
    100% {
        opacity: 0;
    }
}

@keyframes cc-mask-drift-a {
    0% {
        transform: translateZ(0) scale(1.08);
    }
    50% {
        transform: translateZ(0) scale(1.095);
    }
    100% {
        transform: translateZ(0) scale(1.11);
    }
}

@keyframes cc-mask-drift-b {
    0% {
        transform: translateZ(0) scale(1.08);
    }
    50% {
        transform: translateZ(0) scale(1.095);
    }
    100% {
        transform: translateZ(0) scale(1.11);
    }
}

@media (prefers-reduced-motion: reduce) {
    .vertex-layer.layer-active.effect-elastic img,
    .cc-mask-effect,
    .cc-mask-effect img {
        animation-duration: 1ms;
    }
}


.vertex-arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 48px;
    height: 70px;
    border: 1px solid rgba(139, 231, 238, 0.28);
    border-radius: 8px;
    color: #dffbff;
    background: rgba(3, 16, 25, 0.52);
    font-size: 42px;
    line-height: 1;
    transform: translateY(-50%);
}

.vertex-arrow span {
    display: block;
    color: inherit;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 46px;
    line-height: 0.8;
    transform: translateY(-2px);
}

.vertex-arrow.left {
    left: 18px;
}

.vertex-arrow.right {
    right: 18px;
}

.vertex-control-panel {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 14px;
}

.vertex-view-rail,
.vertex-rail {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
}

.vertex-view-rail button,
.vertex-rail button {
    display: grid;
    align-content: center;
    gap: clamp(7px, 0.7vw, 11px);
    min-height: clamp(92px, 6.8vw, 124px);
    padding: clamp(14px, 1.2vw, 20px) clamp(9px, 0.9vw, 14px);
    text-align: left;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    color: #dceff2;
    background: rgba(255, 255, 255, 0.07);
}

.vertex-view-rail button {
    justify-items: start;
    text-align: left;
}

.vertex-view-rail span,
.vertex-view-rail strong {
    width: 100%;
    text-align: left;
}

.vertex-view-rail strong {
    text-align: center;
}

.vertex-view-rail button.selected,
.vertex-rail button.selected {
    color: #031019;
    border-color: #8be7ee;
    background: #8be7ee;
}

.vertex-view-rail span,
.vertex-rail span {
    font-size: clamp(13px, 0.85vw, 15px);
    font-weight: 800;
    opacity: 0.72;
}

.vertex-view-rail strong,
.vertex-rail strong {
    font-size: clamp(20px, 1.35vw, 28px);
    line-height: 1.08;
}

.vertex-view-rail-empty {
    place-items: center;
    min-height: 160px;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    color: #b5cbd1;
    background: rgba(255, 255, 255, 0.07);
    font-weight: 900;
}

.vertex-rail small {
    line-height: 1.35;
}

.vertex-control-panel .vertex-readout {
    position: static;
    width: auto;
    aspect-ratio: 1 / 1;
    padding: 12px 10px;
    display: grid;
    align-content: center;
    justify-content: stretch;
    justify-items: stretch;
    text-align: center;
}

.vertex-control-panel .vertex-readout span {
    width: 100%;
    text-align: left;
}

.vertex-control-panel .vertex-readout strong {
    width: 100%;
    text-align: center;
}

.vertex-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 540px;
    overflow: hidden;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 46%, rgba(115, 230, 236, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
}

.vertex-stage::before {
    content: "";
    position: absolute;
    inset: 28px;
    border: 1px solid rgba(139, 231, 238, 0.2);
    border-radius: 8px;
}

.vertex-stage::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 34px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(45, 214, 224, 0.32), transparent 68%);
}

.vertex-product-photo {
    position: relative;
    z-index: 2;
    max-width: min(68%, 360px);
    max-height: 510px;
    object-fit: contain;
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.48));
}

.vertex-readout {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 20px;
    width: min(260px, calc(100% - 40px));
    padding: 16px;
    border: 1px solid rgba(139, 231, 238, 0.24);
    border-radius: 8px;
    color: #dceff2;
    background: rgba(3, 16, 25, 0.8);
}

.vertex-readout span,
.vertex-readout small {
    display: block;
    color: #9cb8bf;
}

.vertex-readout strong {
    display: block;
    margin: 6px 0;
    color: #ffffff;
    font-size: 24px;
}

.board-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    color: #d9e2ea;
}

.board-row:last-child {
    border-bottom: 0;
}

.board-row span {
    color: #91a4b0;
}

.board-row strong {
    color: #ffffff;
}

.spec-layout {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 0.8fr);
    gap: 24px;
}

.spec-layout.cc-copy-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
}

.spec-layout.cc-copy-layout .vertex-cc-tech-heading {
    grid-column: 1 / -1;
}

.spec-layout.cc-copy-layout .vertex-cc-tech-grid {
    grid-column: 1 / -1;
}

.base-drysuit-copy-layout {
    border: 1px solid rgba(132, 226, 235, 0.18);
    background: rgba(4, 21, 33, 0.84);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.base-drysuit-copy-layout .vertex-cc-tech-heading h2 {
    color: #f4fbfc;
}

.base-drysuit-copy-layout .vertex-cc-tech-heading {
    margin-bottom: clamp(14px, 1.6vw, 24px);
}

.base-drysuit-copy-layout .vertex-cc-tech-grid li::marker {
    color: #8be7ee;
}

.spec-layout.vertex-compare-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.vertex-compare-card {
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background: rgba(4, 18, 28, 0.58);
}

.vertex-compare-card-heading {
    display: grid;
    gap: 6px;
}

.vertex-compare-card-heading span {
    color: #c99520;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.vertex-compare-card-heading h2 {
    margin: 0;
    color: #f5fbfc;
    font-size: clamp(24px, 2.2vw, 34px);
}

.vertex-compare-card dl {
    margin: 0;
}

.vertex-compare-card dl div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 10px 0;
    border-top: 1px solid rgba(132, 226, 235, 0.14);
}

.vertex-compare-card dt {
    color: #b5cbd1;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.28;
}

.vertex-compare-card dd {
    margin: 0;
    color: #f4fbfc;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.38;
}

.vertex-compare-card ul {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 18px;
    color: #d7e8ec;
    font-size: 13px;
    line-height: 1.34;
}

.vertex-compare-card li::marker {
    color: #c99520;
}

.control-surface {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
    border-radius: 8px;
    color: #dce7ed;
    background: #111821;
}

.control-surface span {
    color: #89a2ad;
}

.control-surface strong {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.selector-panel {
    display: grid;
    gap: 10px;
    align-self: center;
    padding: 16px;
}

.selector-panel button {
    display: grid;
    gap: 6px;
    padding: 18px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.selector-panel button.selected {
    border-color: var(--accent);
    background: #e8f5f6;
}

.selector-panel strong {
    font-size: 18px;
}

.selector-panel span {
    color: var(--muted);
}

.products-catalog {
    display: grid;
    gap: 24px;
}

.products-shell .eyebrow {
    color: #8be7ee;
}

.catalog-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.catalog-heading h1 {
    max-width: none;
    font-size: clamp(40px, 5vw, 72px);
}

.catalog-heading-row {
    align-items: center;
}

.thermal-advisor-button {
    border: 1px solid rgba(132, 226, 235, 0.52);
    color: #031016;
    background: #84e2eb;
    box-shadow: 0 12px 34px rgba(132, 226, 235, 0.16);
}

.thermal-advisor-button:hover {
    border-color: rgba(201, 149, 32, 0.75);
    color: #071019;
    background: #d8b35f;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid rgba(132, 226, 235, 0.18);
    border-left: 1px solid rgba(132, 226, 235, 0.18);
    background: rgba(132, 226, 235, 0.18);
}

.products-shell .catalog-card {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 560px;
    padding: 34px 30px;
    overflow: hidden;
    text-align: left;
    border: 0;
    border-right: 1px solid rgba(132, 226, 235, 0.18);
    border-bottom: 1px solid rgba(132, 226, 235, 0.18);
    background:
        linear-gradient(180deg, rgba(247, 249, 250, 0) 0%, rgba(247, 249, 250, 0) 68%, rgba(3, 14, 22, 0.76) 86%, rgba(3, 14, 22, 0.94) 100%),
        #f7f9fa;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.catalog-card.linked:hover,
.catalog-card.linked:focus-visible {
    outline: 2px solid rgba(209, 154, 23, 0.72);
    outline-offset: -2px;
}

.products-shell .catalog-card:nth-child(odd) {
    background:
        linear-gradient(180deg, rgba(232, 235, 237, 0) 0%, rgba(232, 235, 237, 0) 68%, rgba(3, 14, 22, 0.76) 86%, rgba(3, 14, 22, 0.94) 100%),
        #e8ebed;
}

.products-shell .catalog-card::before {
    display: none;
}

.catalog-card img {
    position: absolute;
    left: 50%;
    top: 49%;
    width: min(108%, 520px);
    height: 88%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transform-origin: 50% 30%;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.24));
    transition:
        transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
        filter 520ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.accessory-grid .catalog-card img {
    width: min(88%, 430px);
    height: 70%;
    top: 47%;
}

.catalog-card.compact-product img {
    width: min(92%, 450px);
    height: 76%;
    top: 47%;
}

.catalog-card:hover img,
.catalog-card:focus-visible img {
    transform: translate(-50%, -44%) scale(1.5);
    filter: drop-shadow(0 32px 42px rgba(0, 0, 0, 0.34));
}

.accessory-grid .catalog-card:hover img,
.accessory-grid .catalog-card:focus-visible img {
    transform: translate(-50%, -44%) scale(1.28);
}

.catalog-card.compact-product:hover img,
.catalog-card.compact-product:focus-visible img {
    transform: translate(-50%, -44%) scale(1.32);
}

.catalog-card-arrow {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: #ffffff;
    background: rgba(3, 14, 22, 0.72);
    font-size: 20px;
}

.catalog-card-name {
    position: relative;
    z-index: 1;
    color: #f4fbfc;
    font-size: clamp(24px, 2.3vw, 34px);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.38);
}

.catalog-card.vertex-product .catalog-card-name {
    color: #d19a17;
}

.catalog-empty {
    display: grid;
    place-items: center;
    min-height: 380px;
    border: 1px solid rgba(132, 226, 235, 0.18);
    background: rgba(4, 21, 33, 0.74);
    color: #b5cbd1;
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
}

.drysuit-detail-page {
    display: grid;
    gap: 22px;
}

.back-link {
    justify-self: start;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(132, 226, 235, 0.28);
    border-radius: 6px;
    color: #dceff2;
    background: rgba(255, 255, 255, 0.07);
    font-weight: 800;
}

.drysuit-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: stretch;
}

.drysuit-detail-copy,
.drysuit-detail-visual,
.detail-spec-panel {
    border: 1px solid rgba(132, 226, 235, 0.18);
    background: rgba(4, 21, 33, 0.76);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.drysuit-detail-copy {
    display: grid;
    align-content: center;
    padding: clamp(28px, 5vw, 62px);
}

.drysuit-detail-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 590px;
    overflow: hidden;
}

.drysuit-detail-visual img {
    width: min(94%, 560px);
    height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 30px 34px rgba(15, 29, 38, 0.22));
}

.studio-visual {
    border-color: rgba(205, 216, 222, 0.72);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 246, 248, 0.96) 48%, rgba(232, 238, 241, 0.98)),
        #f5f7f8;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 24px 70px rgba(0, 0, 0, 0.26);
}

.studio-visual::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(7, 41, 54, 0.08);
    border-radius: 6px;
    pointer-events: none;
}

.studio-visual::after {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 42px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(26, 43, 52, 0.22), rgba(26, 43, 52, 0.08) 48%, transparent 72%);
    filter: blur(6px);
    pointer-events: none;
}

.studio-visual img {
    position: relative;
    z-index: 1;
    width: min(98%, 620px);
    height: 98%;
}

.detail-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.detail-action-row {
    margin-top: 24px;
}

.custom-entry-button {
    min-height: 46px;
    padding: 0 22px;
    border-radius: 6px;
    font-weight: 900;
}

.vertex-custom-button {
    --custom-button-shine-angle: 0deg;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(201, 154, 32, 0.42);
    color: #f1c84f;
    background: #030509;
    box-shadow: 0 0 18px rgba(176, 122, 28, 0.1);
}

.vertex-custom-button::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: 1;
    border-radius: inherit;
    padding: 2px;
    background:
        conic-gradient(
            from var(--custom-button-shine-angle),
            rgba(255, 236, 176, 0) 0deg,
            rgba(181, 126, 33, 0.18) 54deg,
            rgba(255, 232, 157, 0.96) 96deg,
            rgba(194, 145, 54, 0.58) 136deg,
            rgba(255, 236, 176, 0) 210deg,
            rgba(255, 236, 176, 0) 360deg
        );
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
    animation: custom-button-shine-rotate 3.8s linear infinite;
}

.vertex-custom-button:hover,
.vertex-custom-button:focus-visible {
    border-color: rgba(255, 213, 105, 0.72);
    color: #ffe08a;
    box-shadow: 0 0 22px rgba(204, 154, 48, 0.18);
}

.vertex-compare-button {
    border: 1px solid rgba(132, 226, 235, 0.36);
    color: #dffbff;
    background: rgba(8, 25, 35, 0.82);
}

.vertex-compare-button.active {
    border-color: rgba(132, 226, 235, 0.78);
    color: #031016;
    background: #84e2eb;
}

@property --custom-button-shine-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes custom-button-shine-rotate {
    to {
        --custom-button-shine-angle: 360deg;
    }
}

.base-custom-button {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    background: #030509;
}

.detail-chip-row span {
    padding: 10px 12px;
    border: 1px solid rgba(139, 231, 238, 0.25);
    border-radius: 6px;
    color: #dceff2;
    background: rgba(255, 255, 255, 0.06);
    font-size: 14px;
    font-weight: 800;
}

.detail-view-gallery {
    display: grid;
    gap: 22px;
    border: 1px solid rgba(132, 226, 235, 0.18);
    padding: 24px;
    background: rgba(4, 21, 33, 0.76);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.detail-gallery-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.detail-gallery-heading > span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    color: #031019;
    background: #8be7ee;
    font-weight: 900;
}

.detail-gallery-heading h2 {
    margin: 0 0 6px;
    color: #f4fbfc;
}

.detail-gallery-heading p {
    margin: 0;
    color: #b5cbd1;
    font-size: 15px;
    line-height: 1.55;
}

.detail-view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.detail-view-card {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(205, 216, 222, 0.72);
    border-radius: 8px;
    padding: 10px;
    background: #ffffff;
}

.detail-view-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    border-radius: 6px;
    background: #f6f9fa;
}

.detail-view-card strong {
    color: #071019;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.base-view-switcher {
    --base-viewer-height: clamp(520px, 52vh, 640px);
    display: grid;
    grid-template-columns: minmax(280px, 0.42fr) minmax(520px, 1fr);
    grid-template-areas:
        "intro viewer"
        "details details";
    gap: 24px;
    align-items: stretch;
}

.base-view-switcher-arrow {
    grid-template-areas:
        ". variants"
        "intro viewer"
        "details details";
}

.detail-variant-tabs {
    grid-area: variants;
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 8px;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background: rgba(2, 14, 24, 0.58);
    backdrop-filter: blur(14px);
}

.detail-variant-tabs button {
    min-width: 128px;
    border: 1px solid rgba(132, 226, 235, 0.22);
    border-radius: 6px;
    padding: 12px 20px;
    color: #dceff2;
    background: rgba(5, 28, 43, 0.72);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
}

.detail-variant-tabs button.selected {
    color: #031019;
    border-color: #8be7ee;
    background: #8be7ee;
}

.detail-variant-tabs button:disabled {
    opacity: 0.38;
    cursor: not-allowed;
}

.base-viewer {
    grid-area: viewer;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(90px, 7vw, 118px);
    gap: 12px;
    align-items: stretch;
    height: auto;
    min-height: var(--base-viewer-height);
}

.base-viewer-arrow-mode {
    grid-template-columns: minmax(0, 1fr);
}

.base-view-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 0;
    height: 100%;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 32%, rgba(139, 231, 238, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(5, 28, 43, 0.92), rgba(2, 12, 22, 0.98)),
        linear-gradient(90deg, rgba(132, 226, 235, 0.09) 1px, transparent 1px),
        linear-gradient(180deg, rgba(132, 226, 235, 0.08) 1px, transparent 1px);
    background-size: auto, auto, 54px 54px, 54px 54px;
    overflow: hidden;
}

.drysuit-detail-page .base-view-stage {
    border-color: rgba(207, 217, 224, 0.95);
    background:
        radial-gradient(circle at 50% 42%, rgba(218, 229, 235, 0.7), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fa 58%, #e8eef2 100%);
    background-size: auto;
}

.drysuit-detail-page .base-view-stage > img {
    filter: drop-shadow(0 28px 34px rgba(15, 31, 42, 0.24));
}

.base-viewer-arrow-mode .base-view-stage {
    border-color: rgba(207, 217, 224, 0.95);
    background:
        radial-gradient(circle at 50% 42%, rgba(218, 229, 235, 0.7), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fa 58%, #e8eef2 100%);
    background-size: auto;
}

.base-viewer-arrow-mode .base-view-stage > img {
    filter: drop-shadow(0 28px 34px rgba(15, 31, 42, 0.24));
}

.base-view-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 46px;
    height: 62px;
    border: 1px solid rgba(132, 226, 235, 0.28);
    border-radius: 8px;
    color: #eafcff;
    background: rgba(2, 12, 22, 0.64);
    backdrop-filter: blur(12px);
    font-size: 42px;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.base-view-arrow-left {
    left: 18px;
}

.base-view-arrow-right {
    right: 18px;
}

.base-view-arrow:hover {
    color: #031019;
    border-color: #8be7ee;
    background: #8be7ee;
}

.base-viewer .base-view-stage > img {
    width: auto;
    max-width: 88%;
    height: min(560px, calc(var(--base-viewer-height) * 0.88));
    max-height: calc(100% - 36px);
    padding: 0;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 34px 44px rgba(0, 0, 0, 0.44));
}

.base-view-rail {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 10px;
}

.base-viewer-two-views .base-view-rail {
    grid-template-rows: repeat(2, 1fr);
}

.base-view-rail button {
    display: grid;
    align-content: center;
    gap: 8px;
    min-height: 86px;
    border: 1px solid rgba(132, 226, 235, 0.18);
    border-radius: 8px;
    padding: 14px;
    color: #dceff2;
    background: rgba(4, 21, 33, 0.72);
    text-align: left;
    cursor: pointer;
}

.base-view-rail button.selected {
    color: #031019;
    border-color: #8be7ee;
    background: #8be7ee;
}

.base-view-rail span {
    font-size: 13px;
    font-weight: 900;
    opacity: 0.72;
}

.base-view-rail strong {
    font-size: clamp(16px, 1.05vw, 22px);
    line-height: 1.08;
}

.base-drysuit-side-copy {
    grid-area: details;
    grid-column: 1 / -1;
    padding: clamp(22px, 2vw, 30px);
}

.base-drysuit-side-copy .vertex-cc-tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 42px);
    width: min(100%, 980px);
    max-width: 980px;
    margin: 0 auto;
}

.base-drysuit-intro-copy {
    grid-area: intro;
    align-content: start;
    height: auto;
    min-height: var(--base-viewer-height);
}

.detail-spec-panel {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 18px;
    padding: 24px;
}

.detail-spec-panel article {
    padding: 22px;
    border: 1px solid rgba(132, 226, 235, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.detail-spec-panel article > span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 16px;
    border-radius: 6px;
    color: #031019;
    background: #8be7ee;
    font-weight: 900;
}

.detail-spec-panel h2 {
    color: #f4fbfc;
}

.detail-spec-panel p,
.detail-spec-panel li {
    color: #b5cbd1;
    font-size: 17px;
    line-height: 1.65;
}

.detail-spec-panel ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

.product-detail {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: center;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.custom-grid article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel-soft);
}

.custom-grid article > span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 6px;
    color: #ffffff;
    background: var(--accent-deep);
    font-weight: 800;
}

.custom-grid h2 {
    font-size: 22px;
}

.custom-page {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, 0.72fr) minmax(520px, 1.28fr);
    min-height: calc(100vh - 96px);
    border: 1px solid rgba(132, 226, 235, 0.16);
    background: rgba(4, 21, 33, 0.78);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.custom-options-panel {
    container-type: inline-size;
    display: grid;
    align-content: start;
    gap: 24px;
    padding: clamp(28px, 4vw, 56px);
    color: #071019;
    border-right: 1px solid #d6dbe0;
    background: #ffffff;
}

.custom-product-family {
    margin: 0;
    color: #071019;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.custom-options-panel h1 {
    margin: 18px 0 0;
    max-width: 100%;
    color: #071019;
    font-size: clamp(32px, 11cqw, 48px);
    line-height: 0.94;
    text-transform: uppercase;
    white-space: nowrap;
}

.custom-options-panel h1 span {
    display: block;
}

.custom-product-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.custom-product-tabs button {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #d6dbe0;
    border-radius: 999px;
    color: #071019;
    background: #ffffff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.custom-product-tabs button.selected {
    color: #ffffff;
    border-color: #071019;
    background: #071019;
}

.custom-color-options {
    display: grid;
    gap: 4px;
}

.custom-color-options article {
    display: grid;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid #d6dbe0;
}

.custom-option-heading {
    display: grid;
    grid-template-columns: 28px 1fr auto auto;
    align-items: center;
    gap: 4px;
}

.custom-option-heading span {
    color: #071019;
    font-size: 12px;
    font-weight: 800;
}

.custom-option-heading strong {
    color: #071019;
    font-size: 14px;
    font-weight: 950;
    text-transform: uppercase;
}

.custom-option-read,
.custom-option-delete {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid #d6dbe0;
    border-radius: 6px;
    color: #071019;
    background: #ffffff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.custom-option-read:hover,
.custom-option-delete:hover {
    border-color: #071019;
    color: #ffffff;
    background: #071019;
}

.custom-swatches {
    display: grid;
    grid-template-columns: repeat(8, 34px);
    gap: 9px;
    padding-left: 32px;
}

.custom-swatches button {
    width: 34px;
    height: 24px;
    border: 1px solid #ffffff;
    border-radius: 3px;
    background-position: center;
    background-size: cover;
    box-shadow: 0 0 0 1px #c7cdd2;
    cursor: pointer;
}

.custom-swatches button.selected {
    box-shadow: 0 0 0 2px #071019, 0 0 0 5px rgba(7, 16, 25, 0.12);
}

.custom-text-option-note {
    margin: -4px 0 0;
    padding-left: 32px;
    color: #5b6872;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

.custom-selected-color {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 22px;
    margin: -4px 0 0;
    padding-left: 32px;
    color: #071019;
}

.custom-selected-color span {
    color: #7b858d;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.custom-selected-color strong {
    color: #071019;
    font-size: 14px;
    font-weight: 950;
}

.custom-add-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-height: 36px;
    margin: 16px 0 0 32px;
    padding: 0 16px;
    border: 1px solid #071019;
    border-radius: 6px;
    color: #ffffff;
    background: #071019;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

.custom-add-option:hover {
    background: #16303d;
}

.custom-flow-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-hero-plate .custom-flow-actions {
    position: absolute;
    right: clamp(24px, 3vw, 56px);
    bottom: clamp(28px, 4vh, 72px);
    z-index: 90;
}

.custom-fit-page > .custom-flow-actions {
    justify-content: flex-end;
    max-width: 1280px;
    margin: 28px auto 0;
}

.custom-flow-button {
    min-width: 112px;
    height: 44px;
    padding: 0 22px;
    border: 1px solid #071019;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 950;
    cursor: pointer;
    box-shadow: none;
}

.custom-flow-button.primary {
    color: #ffffff;
    background: #071019;
}

.custom-flow-button.secondary {
    color: #071019;
    background: #ffffff;
}

.custom-flow-button:hover {
    filter: none;
}

.custom-fit-page {
    position: relative;
    align-items: stretch;
    min-height: calc(100vh - 68px);
    padding-bottom: 0;
}

.custom-fit-options-panel {
    align-self: stretch;
    min-height: 0;
    max-height: none;
    overflow-y: visible;
}

.custom-fit-hint {
    margin: -6px 0 0;
    color: #6f7b84;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.custom-fit-option-list {
    display: grid;
    gap: 0;
    align-content: space-between;
    min-height: 640px;
    margin-top: 18px;
    border-top: 1px solid #dbe4ea;
}

.custom-fit-option-row {
    display: grid;
    gap: 7px;
    padding: 9px 0;
    border-bottom: 1px solid #dbe4ea;
}

.custom-fit-option-row:last-child {
    border-bottom: 0;
}

.custom-fit-option-title {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: #071019;
    font-size: 15px;
    font-weight: 950;
}

.custom-fit-option-title span {
    min-width: 26px;
}

.custom-fit-option-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 6px 12px;
    align-items: center;
}

.custom-fit-empty {
    margin-top: 28px;
    padding: 22px 0;
    border-top: 1px solid #dbe4ea;
    border-bottom: 1px solid #dbe4ea;
}

.custom-fit-empty strong {
    display: block;
    color: #071019;
    font-size: 18px;
    font-weight: 950;
}

.custom-fit-empty p {
    margin: 10px 0 0;
    color: #51616d;
    font-size: 15px;
    line-height: 1.7;
}

.custom-fit-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 22px;
    color: #071019;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 950;
    cursor: pointer;
}

.custom-fit-check.featured {
    color: #00b650;
}

.custom-fit-check input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #071019;
}

.custom-fit-view-panel {
    position: relative;
    grid-template-rows: auto minmax(0, 1fr);
    min-height: calc(100vh - 68px);
    padding-bottom: 96px;
}

.custom-fit-hero-plate {
    min-height: min(72vh, 760px);
    padding-bottom: 86px;
}

.custom-fit-view-panel .custom-product-study {
    min-height: 0;
}

.custom-fit-view-panel .custom-hero-wrap,
.custom-fit-view-panel .custom-hero-wrap-large {
    height: min(calc(100vh - 260px), 720px);
}

.custom-fit-page > .custom-flow-actions {
    grid-column: 2;
    justify-content: flex-end;
    width: min(100% - 48px, 1280px);
    margin: 22px auto 0;
}

.custom-fit-options-actions {
    display: none;
    justify-content: flex-end;
    margin-top: 6px;
    padding-top: 0;
    border-top: 0;
}

.custom-fit-preview-actions {
    display: flex;
}

.custom-fit-view-panel > .custom-fit-preview-actions {
    position: absolute;
    right: clamp(24px, 3vw, 56px);
    bottom: clamp(24px, 3vw, 56px);
    z-index: 95;
    justify-content: flex-end;
    margin-top: 0;
}


.custom-confirm-page {
    align-items: stretch;
}

.custom-confirm-panel {
    gap: 18px;
}

.custom-confirm-list {
    display: grid;
    gap: 14px;
    margin-top: 10px;
}

.custom-confirm-block {
    padding: 16px 0;
    border-top: 1px solid #dbe4ea;
}

.custom-confirm-block strong {
    display: block;
    margin-bottom: 10px;
    color: #071019;
    font-size: 15px;
    font-weight: 950;
}

.custom-confirm-block dl {
    display: grid;
    gap: 8px;
    margin: 0;
}

.custom-confirm-block dl div {
    display: grid;
    grid-template-columns: minmax(118px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    align-items: baseline;
}

.custom-confirm-block dt {
    color: #6f7b84;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.custom-confirm-block dd {
    margin: 0;
    color: #071019;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 900;
}

.custom-confirm-view-panel .custom-flow-button.primary {
    min-width: 190px;
}

.custom-confirm-actions {
    position: absolute;
    right: clamp(24px, 3vw, 56px);
    bottom: clamp(24px, 3vw, 56px);
    z-index: 95;
    justify-content: flex-end;
    margin-top: 0;
}

.custom-confirm-view-panel {
    padding-bottom: 96px;
}
.custom-final-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    background: rgba(0, 12, 18, 0.58);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.custom-final-modal {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(194, 213, 226, 0.52);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 250, 0.96));
    color: #071019;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.custom-final-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #cbd4dc;
    border-radius: 50%;
    background: #ffffff;
    color: #071019;
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
}

.custom-final-kicker {
    margin: 0 0 8px;
    color: #0a6270;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.custom-final-modal h2 {
    margin: 0;
    color: #071019;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.04;
    font-weight: 950;
}

.custom-final-modal p {
    margin: 16px 0 0;
    color: #51616d;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 750;
}

.custom-dealer-list {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.custom-dealer-card {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd4dc;
    border-radius: 8px;
    background: #ffffff;
    color: #071019;
    text-align: left;
    cursor: pointer;
}

.custom-dealer-card.selected {
    border-color: #071019;
    box-shadow: 0 0 0 2px rgba(7, 16, 25, 0.08);
}

.custom-dealer-logo {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #071019;
    color: #ffffff;
    font-size: 14px;
    font-weight: 950;
}

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

.custom-dealer-info strong {
    color: #071019;
    font-size: 15px;
    font-weight: 950;
}

.custom-dealer-info small {
    color: #51616d;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
}

.custom-dealer-info a {
    color: #0a6270;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.custom-final-send {
    width: 100%;
    min-height: 48px;
    margin-top: 26px;
    border: 1px solid #071019;
    border-radius: 6px;
    background: #071019;
    color: #ffffff;
    font-size: 15px;
    font-weight: 950;
}

.custom-final-send:disabled {
    cursor: wait;
    opacity: 0.72;
}

.custom-final-status {
    padding-top: 4px;
    color: #0a6270 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.dealer-workspace {
    display: grid;
    grid-template-columns: minmax(360px, 0.72fr) minmax(540px, 1.28fr);
    gap: 28px;
    align-items: start;
}

.dealer-header {
    grid-column: 1 / -1;
}

.dealer-header h1 {
    max-width: 980px;
}

.dealer-panel {
    min-height: 100%;
    padding: 28px;
    border: 1px solid rgba(20, 32, 43, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 70px rgba(20, 32, 43, 0.1);
}

.dealer-panel-heading {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.dealer-panel-heading span {
    color: #0a6270;
    font-size: 13px;
    font-weight: 950;
}

.dealer-panel-heading strong {
    color: #071019;
    font-size: 18px;
    font-weight: 950;
}

.dealer-import-textarea {
    width: 100%;
    min-height: 260px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #cbd4dc;
    border-radius: 8px;
    background: #ffffff;
    color: #071019;
    font: inherit;
    font-size: 14px;
    line-height: 1.55;
    resize: vertical;
}

.dealer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.admin-relogin-panel {
    border-color: rgba(209, 154, 23, 0.36);
    background: #fffaf0;
}

.admin-relogin-form {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-top: 14px;
}

.admin-relogin-form input {
    min-height: 42px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    padding: 0 12px;
    font: inherit;
}

.dealer-status,
.dealer-empty {
    margin: 16px 0 0;
    color: #0a6270;
    font-size: 14px;
    font-weight: 900;
}

.dealer-order-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.customer-orders-panel {
    grid-column: 1 / -1;
}

.customer-settings-panel {
    grid-column: 1 / -1;
}

.customer-portal-tabs {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: -4px 0 2px;
}

.customer-portal-tabs button {
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(7, 16, 25, 0.38);
    font-size: 14px;
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(139, 232, 246, 0.08);
}

.customer-portal-tabs button.active {
    border-color: rgba(139, 232, 246, 0.7);
    color: #071019;
    background: #8be8f6;
}

.customer-measurements-panel {
    grid-column: 1 / -1;
}

.customer-latest-measurement-card {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.customer-latest-measurement-board {
    margin-top: 2px;
}

.customer-email-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
}

.customer-email-setting div {
    display: grid;
    gap: 5px;
}

.customer-email-setting span,
.customer-email-setting small {
    color: #6b7780;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

.customer-email-setting strong {
    color: #071019;
    font-size: 18px;
    font-weight: 950;
}

.customer-toggle {
    flex: 0 0 auto;
    min-width: 126px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #cbd4dc;
    border-radius: 999px;
    color: #071019;
    background: #ffffff;
    font-size: 13px;
    font-weight: 950;
}

.customer-toggle.active {
    border-color: #071019;
    color: #ffffff;
    background: #071019;
}

.dealer-order-card {
    padding: 18px;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
}

.dealer-order-card.dealer-order-deleted {
    border-color: #fecaca;
    background: #fffafa;
}

.dealer-order-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    color: #657480;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.dealer-order-topline span {
    display: grid;
    gap: 4px;
}

.dealer-order-topline b {
    color: #0a6270;
    font-size: 11px;
    letter-spacing: 0.05em;
}

.dealer-order-topline em {
    color: #7a8994;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    text-transform: none;
}

.dealer-order-topline strong {
    color: #0a6270;
}

.dealer-order-deleted .dealer-order-topline strong {
    color: #991b1b;
}

.dealer-order-deleted-note {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    background: #fee2e2;
    font-weight: 900;
}

.dealer-order-card h2 {
    margin: 12px 0 14px;
    color: #071019;
    font-size: 26px;
    line-height: 1.1;
}

.order-status-panel {
    display: grid;
    gap: 14px;
    margin: 16px 0 18px;
    padding: 16px;
    border: 1px solid rgba(10, 98, 112, 0.16);
    border-radius: 8px;
    background: #f7fafc;
}

.order-status-track {
    --progress: 0%;
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding-top: 28px;
}

.order-status-track::before,
.order-status-track::after {
    content: "";
    position: absolute;
    left: calc(100% / 12);
    right: calc(100% / 12);
    top: 40px;
    height: 4px;
    border-radius: 999px;
}

.order-status-track::before {
    background: #d5e0e7;
}

.order-status-track::after {
    width: calc((100% - (100% / 6)) * var(--progress));
    right: auto;
    background: #0a6270;
    transition: width 180ms ease;
}

.order-status-point {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 10px;
    min-width: 0;
    color: #657480;
    text-align: center;
}

.order-status-point.current::before {
    content: "";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #071019;
    filter: drop-shadow(0 3px 4px rgba(7, 16, 25, 0.2));
}

.order-status-point i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border: 2px solid #d5e0e7;
    border-radius: 50%;
    background: #ffffff;
    color: #657480;
    font-style: normal;
    font-size: 12px;
    font-weight: 950;
}

.order-status-point.done i,
.order-status-point.current i {
    border-color: #0a6270;
    background: #0a6270;
    color: #ffffff;
}

.order-status-point.current small {
    color: #071019;
    font-size: 14px;
    font-weight: 950;
}

.order-status-point.locked i {
    border-color: #d19a17;
    background: #fff7df;
    color: #8a6109;
}

.order-status-point small {
    max-width: 112px;
    color: inherit;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 900;
}

.order-status-slider {
    position: absolute;
    left: calc(100% / 12);
    top: 24px;
    z-index: 4;
    width: calc(100% - (100% / 6));
    height: 36px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}

.order-status-slider:focus-visible {
    outline: 2px solid #0a6270;
    outline-offset: 6px;
    border-radius: 999px;
}

.order-status-slider::-webkit-slider-runnable-track {
    height: 36px;
    background: transparent;
}

.order-status-slider::-moz-range-track {
    height: 36px;
    background: transparent;
}

.order-status-slider::-webkit-slider-thumb {
    width: 34px;
    height: 34px;
    margin-top: 1px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #071019;
    box-shadow: 0 0 0 2px #0a6270, 0 8px 18px rgba(7, 16, 25, 0.28);
    -webkit-appearance: none;
}

.order-status-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #071019;
    box-shadow: 0 0 0 2px #0a6270, 0 8px 18px rgba(7, 16, 25, 0.28);
}

.order-status-admin-control {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.order-status-admin-control span {
    color: #51616d;
    font-size: 13px;
    font-weight: 900;
}

.order-status-admin-control .secondary-action {
    min-height: 38px;
}

.order-status-completion-note {
    padding: 10px 12px;
    border: 1px solid rgba(209, 154, 23, 0.28);
    border-radius: 6px;
    background: #fff8e7;
    color: #74500b;
    font-size: 13px;
    font-weight: 900;
}

.order-status-dealer-confirm {
    justify-self: start;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #071019;
    border-radius: 6px;
    color: #ffffff;
    background: #071019;
    font-size: 13px;
    font-weight: 950;
}

.dealer-order-customer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid rgba(10, 98, 112, 0.16);
    border-radius: 6px;
    background: #f4f8fa;
    color: #51616d;
    font-size: 13px;
    font-weight: 850;
}

.dealer-order-customer strong {
    color: #071019;
    font-size: 14px;
    font-weight: 950;
}

.customer-measurement-readonly {
    display: grid;
    gap: 14px;
    margin: 0 0 14px;
    padding: 16px;
    border: 1px solid rgba(10, 98, 112, 0.16);
    border-radius: 8px;
    background: #fbfdfe;
}

.customer-measurement-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dce6ec;
}

.customer-measurement-heading span {
    color: #071019;
    font-size: 14px;
    font-weight: 950;
}

.customer-measurement-heading strong {
    color: #0a6270;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.customer-measurement-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #657480;
    font-size: 12px;
    font-weight: 850;
}

.customer-measurement-image-board {
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
}

.customer-measurement-canvas {
    position: relative;
    width: 100%;
    min-width: 980px;
}

.customer-measurement-canvas img {
    display: block;
    width: 100%;
    height: auto;
}

.customer-measurement-value {
    position: absolute;
    box-sizing: border-box;
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
    padding: 0 2px;
    overflow: hidden;
    border: 1px solid rgba(10, 98, 112, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    color: #071019;
    font-size: clamp(5px, 0.72vw, 13px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

.customer-measurement-value.measurement-compare-warning,
.measurement-image-input.measurement-compare-warning {
    border-color: #d99a00;
    background: #fff4bf;
    color: #4f3300;
    box-shadow: 0 0 0 2px rgba(217, 154, 0, 0.28);
}

.customer-measurement-value.measurement-compare-critical,
.measurement-image-input.measurement-compare-critical {
    border-color: #d92d20;
    background: #ffe1de;
    color: #7a120c;
    box-shadow: 0 0 0 2px rgba(217, 45, 32, 0.32);
}

.customer-measurement-empty {
    margin: 0;
    color: #657480;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 850;
}

.dealer-order-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid rgba(10, 98, 112, 0.16);
    border-radius: 6px;
    background: #edf8f6;
    color: #285e57;
    font-size: 13px;
}

.dealer-order-notice.status-failed {
    border-color: rgba(180, 35, 24, 0.24);
    background: #fff7f6;
    color: #b42318;
}

.dealer-order-notice.status-sending {
    background: #f4f8fa;
    color: #51616d;
}

.dealer-order-notice span {
    color: inherit;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.dealer-order-notice strong {
    color: inherit;
    font-weight: 950;
}

.dealer-order-notice small {
    overflow-wrap: anywhere;
    color: inherit;
    font-weight: 800;
    opacity: 0.78;
}

.dealer-order-detail {
    display: grid;
    gap: 4px;
    margin-top: 10px;
}

.dealer-order-detail span {
    color: #657480;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.dealer-order-detail p {
    margin: 0;
    color: #263743;
    font-size: 14px;
    line-height: 1.5;
}

.dealer-order-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.dealer-order-actions .custom-flow-button {
    margin-top: 0;
}

.dealer-order-actions .secondary-action {
    color: #ffffff;
    border-color: #071019;
    background: #071019;
}

.dealer-order-actions .secondary-action:hover {
    background: #000000;
}

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

.admin-customer-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.admin-customer-card {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr 1fr;
    gap: 12px;
    padding: 16px;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
}

.admin-customer-card div {
    min-width: 0;
}

.admin-customer-card span {
    display: block;
    margin-bottom: 6px;
    color: #657480;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.admin-customer-card strong {
    display: block;
    overflow-wrap: anywhere;
    color: #071019;
    font-size: 15px;
    line-height: 1.35;
}

.invoice-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 28px;
    overflow: auto;
    background: rgba(7, 16, 25, 0.58);
    backdrop-filter: blur(10px);
}

.invoice-modal {
    position: relative;
    width: min(1180px, 100%);
    max-height: calc(100vh - 56px);
    overflow: auto;
    padding: 30px;
    border: 1px solid rgba(10, 98, 112, 0.18);
    border-radius: 8px;
    background: #f7fafc;
    box-shadow: 0 34px 100px rgba(7, 16, 25, 0.28);
}

.invoice-modal-heading {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: flex-start;
    padding-right: 44px;
    margin-bottom: 20px;
}

.invoice-modal-heading h2 {
    margin: 0;
    color: #071019;
    font-size: 34px;
    line-height: 1;
    font-weight: 950;
}

.invoice-modal-heading small,
.invoice-total-card small {
    color: #657480;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

.invoice-total-card {
    display: grid;
    gap: 5px;
    min-width: 220px;
    padding: 16px;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
    text-align: right;
}

.invoice-total-card span,
.invoice-section-title span,
.invoice-preview span,
.invoice-fields span,
.invoice-adjust-row span {
    color: #657480;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.invoice-total-card strong {
    color: #071019;
    font-size: 24px;
    font-weight: 950;
}

.invoice-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 16px;
}

.invoice-panel {
    padding: 18px;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
}

.invoice-section-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #dce6ec;
}

.invoice-section-title strong {
    color: #071019;
    font-size: 18px;
    font-weight: 950;
}

.invoice-fields,
.invoice-adjust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.invoice-adjust-row {
    grid-template-columns: minmax(0, 1fr);
}

.invoice-fields label,
.invoice-adjust-row label {
    display: grid;
    gap: 7px;
}

.invoice-wide-field {
    grid-column: 1 / -1;
}

.invoice-fields input,
.invoice-fields textarea,
.invoice-adjust-row input,
.invoice-line-row input {
    width: 100%;
    min-height: 40px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    padding: 0 11px;
    color: #071019;
    background: #ffffff;
    font: inherit;
    font-size: 13px;
    font-weight: 850;
}

.invoice-fields textarea {
    min-height: 78px;
    padding-top: 10px;
    resize: vertical;
}

.invoice-actions,
.invoice-footer-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.invoice-contact-list,
.invoice-catalog {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.invoice-catalog-group {
    display: grid;
    gap: 8px;
}

.invoice-catalog-group h3 {
    margin: 8px 0 2px;
    padding: 8px 10px;
    border-radius: 6px;
    background: #edf8f6;
    color: #0a6270;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.invoice-contact-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.invoice-contact-list article > button:first-child,
.invoice-catalog-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 10px;
    border: 1px solid #d6e0e6;
    border-radius: 6px;
    color: #071019;
    background: #fbfdfe;
    text-align: left;
}

.invoice-contact-list strong,
.invoice-catalog-item strong {
    display: block;
    color: #071019;
    font-size: 13px;
    font-weight: 950;
}

.invoice-contact-list small,
.invoice-catalog-item small {
    display: block;
    margin-top: 3px;
    color: #657480;
    font-size: 12px;
    font-weight: 850;
}

.invoice-contact-delete,
.invoice-remove-line {
    width: 40px;
    min-height: 40px;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #b42318;
    background: #fff7f6;
    font-size: 18px;
    font-weight: 950;
}

.invoice-lines-panel {
    margin-top: 16px;
}

.invoice-lines-table {
    display: grid;
    gap: 8px;
}

.invoice-line-head,
.invoice-line-row {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 70px 140px 140px 42px;
    gap: 8px;
    align-items: center;
}

.invoice-line-head {
    color: #657480;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.invoice-line-row strong {
    justify-self: end;
    color: #071019;
    font-size: 13px;
    font-weight: 950;
}

.invoice-preview {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.invoice-preview div {
    display: grid;
    gap: 6px;
    min-height: 74px;
    padding: 14px;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
}

.invoice-preview strong {
    color: #071019;
    font-size: 18px;
    font-weight: 950;
}

.invoice-preview small {
    color: #657480;
    font-size: 12px;
    font-weight: 850;
}

.invoice-footer-actions {
    justify-content: flex-end;
}

.invoice-footer-actions .admin-success {
    margin-right: auto;
}

.danger-action {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #b42318;
    border-radius: 6px;
    color: #b42318;
    background: #fff7f6;
    font-size: 14px;
    font-weight: 950;
}

.danger-action:hover {
    color: #ffffff;
    background: #b42318;
}

.measurement-workspace {
    grid-template-columns: minmax(0, 1fr);
}

.measurement-panel {
    width: min(100%, 1080px);
}

.measurement-order-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.measurement-order-summary div {
    min-height: 76px;
    padding: 14px;
    border: 1px solid rgba(10, 98, 112, 0.14);
    border-radius: 8px;
    background: #f4f8fa;
}

.measurement-order-summary span,
.measurement-config-summary .dealer-order-detail span {
    display: block;
    color: #657480;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.measurement-order-summary strong {
    display: block;
    margin-top: 8px;
    color: #071019;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 950;
}

.measurement-customer-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(10, 98, 112, 0.14);
    border-radius: 8px;
    background: #ffffff;
}

.measurement-customer-fields label {
    display: grid;
    gap: 7px;
}

.measurement-customer-fields span {
    color: #51616d;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.measurement-customer-fields input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    background: #ffffff;
    color: #071019;
    font: inherit;
    font-size: 14px;
}

.measurement-template-switch {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(10, 98, 112, 0.14);
    border-radius: 8px;
    background: #f4f8fa;
}

.measurement-template-switch span {
    display: block;
    color: #657480;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.measurement-template-switch strong {
    display: block;
    margin-top: 6px;
    color: #071019;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 950;
}

.measurement-gender-buttons {
    display: inline-flex;
    gap: 8px;
}

.measurement-gender-buttons button {
    min-width: 88px;
    min-height: 40px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    color: #071019;
    background: #ffffff;
    font-size: 14px;
    font-weight: 950;
}

.measurement-gender-buttons button.selected {
    color: #ffffff;
    border-color: #071019;
    background: #071019;
}

.measurement-reference {
    margin-top: 14px;
    padding: 12px;
    overflow-x: auto;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
}

.measurement-image-board {
    position: relative;
    width: 100%;
    min-width: 760px;
}

.measurement-image-board img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.measurement-image-input {
    position: absolute;
    z-index: 2;
    min-width: 0;
    min-height: 0;
    padding: 0 2px;
    border: 1px solid rgba(7, 16, 25, 0.34);
    border-radius: 3px;
    outline: 0;
    color: #071019;
    background: rgba(255, 255, 255, 0.76);
    font: inherit;
    font-size: clamp(8px, 1.05vw, 13px);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.measurement-image-input:focus {
    border-color: #071019;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(139, 231, 238, 0.72);
}

.measurement-size-compare {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #f8fbfc;
}

.measurement-size-compare > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.measurement-size-compare span {
    color: #657480;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.measurement-size-compare strong {
    color: #071019;
    font-size: 15px;
    font-weight: 950;
}

.measurement-size-compare p {
    margin: 0;
    color: #394854;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 850;
}

.measurement-size-compare ul {
    display: grid;
    gap: 6px;
    margin: 0;
    padding-left: 18px;
    color: #071019;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 850;
}

.measurement-config-summary {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
}

.measurement-sections {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.measurement-section {
    padding: 18px;
    border: 1px solid #d6e0e6;
    border-radius: 8px;
    background: #ffffff;
}

.measurement-section h2 {
    margin: 0;
    color: #071019;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 950;
}

.measurement-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.measurement-grid label {
    display: grid;
    gap: 7px;
}

.measurement-grid label span {
    color: #51616d;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.measurement-grid label span em {
    color: #0a6270;
    font-style: normal;
}

.measurement-grid input,
.measurement-grid textarea {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    background: #ffffff;
    color: #071019;
    font: inherit;
    font-size: 14px;
}

.measurement-grid textarea {
    min-height: 96px;
    resize: vertical;
}

.measurement-notes {
    grid-column: 1 / -1;
}

.measurement-notes-only {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.measurement-notes-only span {
    color: #51616d;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.measurement-notes-only textarea {
    width: 100%;
    min-height: 104px;
    padding: 12px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    background: #ffffff;
    color: #071019;
    font: inherit;
    font-size: 14px;
    resize: vertical;
}

.measurement-fitter-field {
    display: grid;
    gap: 8px;
    width: min(100%, 360px);
    margin-top: 14px;
}

.measurement-fitter-field span {
    color: #51616d;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.measurement-fitter-field input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    background: #ffffff;
    color: #071019;
    font: inherit;
    font-size: 14px;
}

.login-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    background: rgba(0, 12, 18, 0.62);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.advisor-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 330;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    background: rgba(0, 12, 18, 0.68);
    backdrop-filter: blur(14px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.advisor-modal {
    position: relative;
    width: min(100%, 640px);
    max-height: calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(132, 226, 235, 0.34);
    border-radius: 8px;
    color: #ecfbff;
    background:
        linear-gradient(135deg, rgba(4, 22, 32, 0.96), rgba(6, 50, 62, 0.92)),
        repeating-linear-gradient(90deg, rgba(132, 226, 235, 0.06) 0 1px, transparent 1px 38px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.advisor-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(132, 226, 235, 0.28);
    border-radius: 50%;
    color: #e9fbff;
    background: rgba(4, 17, 25, 0.72);
    font-size: 24px;
    line-height: 1;
}

.advisor-modal h2 {
    margin: 8px 0 0;
    color: #f6fdff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.02;
    font-weight: 950;
}

.advisor-modal p {
    margin: 14px 0 0;
    color: #bfd5dc;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 700;
}

.advisor-input-row {
    position: relative;
    margin-top: 22px;
}

.advisor-input-row input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(132, 226, 235, 0.36);
    border-radius: 6px;
    color: #f8fdff;
    background: rgba(1, 13, 21, 0.74);
    font-size: 16px;
    font-weight: 800;
    outline: none;
}

.advisor-input-row input:focus {
    border-color: #84e2eb;
    box-shadow: 0 0 0 3px rgba(132, 226, 235, 0.16);
}

.advisor-suggestions {
    position: absolute;
    z-index: 6;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 6px;
    max-height: 260px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(132, 226, 235, 0.3);
    border-radius: 8px;
    background: rgba(1, 10, 16, 0.96);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(14px);
}

.advisor-suggestions button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(132, 226, 235, 0.14);
    border-radius: 6px;
    color: #f8fdff;
    background: rgba(9, 35, 48, 0.82);
    text-align: left;
}

.advisor-suggestions button:hover {
    border-color: rgba(132, 226, 235, 0.66);
    background: rgba(132, 226, 235, 0.15);
}

.advisor-suggestions strong {
    font-size: 13px;
    line-height: 1.25;
}

.advisor-suggestions span {
    flex: 0 0 auto;
    color: #84e2eb;
    font-size: 12px;
    font-weight: 900;
}

.advisor-loading,
.advisor-lookup-message {
    color: #84e2eb;
    font-size: 13px;
    font-weight: 850;
}

.advisor-lookup-message {
    margin-top: 12px;
}

.advisor-disclaimer {
    margin-top: 14px;
    color: rgba(191, 213, 220, 0.78);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

.advisor-result {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid rgba(132, 226, 235, 0.22);
    border-radius: 8px;
    background: rgba(3, 18, 27, 0.72);
}

.advisor-temp {
    width: max-content;
    padding: 6px 10px;
    border-radius: 999px;
    color: #031016;
    background: #84e2eb;
    font-size: 13px;
    font-weight: 950;
}

.advisor-result h3 {
    margin: 0;
    color: #f6fdff;
    font-size: 24px;
    line-height: 1.1;
}

.advisor-result p {
    margin: 0;
}

.advisor-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.advisor-product-grid button {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid rgba(201, 149, 32, 0.62);
    border-radius: 6px;
    color: #071019;
    background: #d8b35f;
    font-size: 13px;
    font-weight: 950;
}

.advisor-product-grid button:hover {
    border-color: #84e2eb;
    background: #84e2eb;
}

.login-modal {
    position: relative;
    width: min(100%, 480px);
    max-height: calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(194, 213, 226, 0.52);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 250, 0.96));
    color: #071019;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.login-modal h2 {
    margin: 0;
    color: #071019;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.04;
    font-weight: 950;
}

.quick-login-panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
    padding: 10px;
    border: 1px solid rgba(10, 98, 112, 0.16);
    border-radius: 8px;
    background: #f4f8fa;
}

.quick-login-panel button {
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    color: #071019;
    background: #ffffff;
    font-size: 13px;
    font-weight: 950;
}

.quick-login-panel button:hover {
    color: #ffffff;
    border-color: #071019;
    background: #071019;
}

.login-role-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 22px;
}

.login-role-tabs button {
    min-height: 40px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    color: #071019;
    background: #ffffff;
    font-size: 13px;
    font-weight: 950;
}

.login-role-tabs button.selected {
    color: #ffffff;
    border-color: #071019;
    background: #071019;
}

.login-field {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    color: #51616d;
    font-size: 13px;
    font-weight: 850;
}

.login-field input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    padding: 0 12px;
    color: #071019;
    background: #ffffff;
    font: inherit;
}

.login-remember-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 2px;
    color: #51616d;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    user-select: none;
}

.login-remember-option input {
    width: 16px;
    height: 16px;
    accent-color: #071019;
    cursor: pointer;
}

.captcha-field small {
    color: #657480;
    font-size: 12px;
    font-weight: 850;
}

.captcha-art {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: 58px;
    overflow: hidden;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    background:
        repeating-linear-gradient(103deg, rgba(10, 98, 112, 0.12) 0 1px, transparent 1px 9px),
        radial-gradient(circle at 22% 35%, rgba(7, 16, 25, 0.14), transparent 2px),
        radial-gradient(circle at 78% 62%, rgba(7, 16, 25, 0.12), transparent 2px),
        #f4f8fa;
}

.captcha-art::before,
.captcha-art::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    height: 2px;
    background: rgba(7, 16, 25, 0.3);
    transform: rotate(-7deg);
}

.captcha-art::before {
    top: 20px;
}

.captcha-art::after {
    bottom: 18px;
    transform: rotate(8deg);
}

.captcha-art i {
    position: relative;
    z-index: 1;
    display: inline-block;
    min-width: 23px;
    color: #071019;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 950;
    text-align: center;
    text-decoration: line-through;
}

.login-register-reason {
    margin: 14px 0 0;
    padding: 10px 12px;
    border: 1px solid rgba(10, 98, 112, 0.22);
    border-radius: 6px;
    background: rgba(139, 231, 238, 0.13);
    color: #0a6270;
    font-size: 13px;
    font-weight: 900;
}

.login-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    color: #51616d;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

.login-check input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #071019;
}

.login-check button {
    border: 0;
    padding: 0;
    background: transparent;
    color: #0a6270;
    font: inherit;
    font-weight: 950;
    text-decoration: underline;
    cursor: pointer;
}

.login-link-button {
    width: 100%;
    min-height: 40px;
    margin-top: 10px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    background: #ffffff;
    color: #071019;
    font-size: 14px;
    font-weight: 900;
}

.welcome-test-button {
    margin-top: 0;
    margin-bottom: 10px;
}

.welcome-sending-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    min-height: 24px;
    margin: 18px 0 4px;
}

.welcome-sending-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #071019;
    animation: welcome-dot-pulse 0.8s ease-in-out infinite;
}

.welcome-sending-dots span:nth-child(2) {
    animation-delay: 0.12s;
}

.welcome-sending-dots span:nth-child(3) {
    animation-delay: 0.24s;
}

@keyframes welcome-dot-pulse {
    0%, 80%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-5px);
    }
}

.privacy-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 340;
    display: grid;
    place-items: center;
    padding: max(24px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    background: rgba(0, 12, 18, 0.66);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.privacy-modal {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100dvh - 48px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(194, 213, 226, 0.52);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 250, 0.96));
    color: #071019;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.privacy-modal h2 {
    margin: 0;
    color: #071019;
    font-size: 34px;
    line-height: 1.05;
    font-weight: 950;
}

.privacy-modal p {
    margin: 16px 0 0;
    color: #51616d;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 750;
}

.privacy-modal ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: #51616d;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 750;
}

.login-note {
    margin: 14px 0 0;
    color: #6b7780;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 750;
}

.custom-view-panel {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 20px;
    padding: clamp(20px, 3vw, 42px);
    background: #ffffff;
}

.custom-view-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    padding-bottom: 0;
    color: #071019;
    border-bottom: 0;
}

.custom-view-header strong {
    color: #071019;
    font-size: 18px;
    font-weight: 950;
}

.custom-reference-image {
    width: 100%;
    height: min(72vh, 760px);
    align-self: center;
    object-fit: contain;
}

.custom-product-study {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(22px, 3vw, 42px);
    align-items: center;
    justify-items: center;
    min-height: min(82vh, 1040px);
}

.custom-hero-plate {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 900px;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    overflow: visible;
    padding-bottom: 38px;
}

.custom-hero-image {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(7, 16, 25, 0.18));
}

.custom-hero-wrap {
    position: relative;
    width: min(96%, 720px);
    height: min(92vh, 980px);
    opacity: 0;
    transition: opacity 180ms ease;
    will-change: opacity;
}

.custom-hero-wrap-ready {
    opacity: 1;
}

.custom-hero-wrap-loading .custom-hero-image,
.custom-hero-wrap-loading .custom-mask-layer {
    visibility: hidden;
}

.custom-pocket-widget {
    transition: opacity 180ms ease;
}

.custom-pocket-widget-loading {
    opacity: 0;
}

.custom-pocket-widget-ready {
    opacity: 1;
}

.custom-hero-wrap-large {
    width: min(96%, 720px);
    height: min(92vh, 980px);
    transform: scale(1);
    transform-origin: center;
}

@media (min-width: 861px) {
    .custom-shell main {
        width: min(1680px, calc(100% - 32px));
        padding: 28px 0 44px;
    }

    .custom-page {
        min-height: 0;
        height: calc(100vh - 126px);
        max-height: 900px;
        overflow: hidden;
    }

    .custom-options-panel {
        gap: 18px;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: clamp(24px, 3vw, 42px);
        scrollbar-width: thin;
    }

    .custom-options-panel h1 {
        margin-top: 10px;
        font-size: clamp(30px, 6.4cqw, 44px);
        line-height: 0.98;
    }

    .custom-color-options article {
        gap: 14px;
        padding: 18px 0;
    }

    .custom-swatches {
        grid-template-columns: repeat(8, minmax(28px, 34px));
        gap: 8px;
    }

    .custom-view-panel {
        min-height: 0;
        gap: 12px;
        overflow: hidden;
        padding: clamp(18px, 2.4vw, 34px);
    }

    .custom-product-study {
        min-height: 0;
        height: 100%;
    }

    .custom-hero-plate {
        align-content: center;
        min-height: 0;
        height: 100%;
        padding-bottom: 56px;
    }

    .custom-hero-wrap,
    .custom-hero-wrap-large {
        width: min(88%, 600px);
        height: min(calc(100vh - 176px), 660px);
    }

    .custom-pocket-widget {
        right: clamp(14px, 1.8vw, 26px);
        bottom: clamp(132px, 13vh, 188px);
        grid-template-columns: 150px;
        padding: 10px;
    }

    .custom-hero-plate .custom-flow-actions {
        bottom: clamp(28px, 4vh, 72px);
    }

    .custom-pocket-preview {
        width: 150px;
    }

    .custom-color-disclaimer {
        bottom: -20px;
    }

    .custom-fit-page {
        min-height: 0;
    }

    .custom-fit-option-list {
        min-height: 0;
        margin-top: 8px;
    }

    .custom-fit-option-row {
        padding: 7px 0;
    }

    .custom-fit-hero-plate,
    .custom-fit-view-panel {
        min-height: 0;
    }
}

@media (min-width: 861px) and (max-width: 1320px) {
    .topbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 12px;
        padding: 0 18px;
    }

    .brand-logo-image {
        width: 136px;
    }

    .nav-actions {
        gap: 2px;
    }

    .nav-actions button,
    .language-toggle,
    .login-toggle,
    .login-state button {
        min-height: 38px;
        padding: 0 14px;
    }

    .nav-actions button {
        font-size: 13px;
    }

    .topbar-tools {
        gap: 6px;
    }
}

@media (min-width: 861px) and (max-height: 820px) {
    .custom-pocket-widget {
        right: clamp(12px, 1.4vw, 18px);
        bottom: 118px;
        grid-template-columns: 118px;
        padding: 7px;
        box-shadow: 0 12px 26px rgba(7, 16, 25, 0.12);
    }

    .custom-pocket-preview {
        width: 118px;
    }

    .products-shell main {
        width: min(1460px, calc(100% - 28px));
        padding: 18px 0 42px;
    }

    .drysuit-detail-page {
        gap: 14px;
    }

    .back-link {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }

    .base-view-switcher {
        --base-viewer-height: clamp(430px, 56vh, 500px);
        grid-template-columns: minmax(250px, 0.36fr) minmax(560px, 1fr);
        gap: 14px;
    }

    .drysuit-detail-copy {
        padding: 20px;
    }

    .base-drysuit-intro-copy h1 {
        font-size: clamp(44px, 4.2vw, 58px);
        line-height: 0.98;
    }

    .base-drysuit-intro-copy .lead {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.5;
    }

    .detail-chip-row {
        gap: 10px;
        margin-top: 20px;
    }

    .detail-chip-row span {
        padding: 8px 10px;
        font-size: 13px;
    }

    .detail-action-row {
        margin-top: 14px;
    }

    .base-custom-button {
        min-height: 38px;
        padding: 0 18px;
        font-size: 15px;
    }

    .base-viewer {
        grid-template-columns: minmax(0, 1fr) clamp(76px, 5.6vw, 92px);
        gap: 10px;
    }

    .base-viewer .base-view-stage > img {
        height: min(460px, calc(var(--base-viewer-height) * 0.84));
    }

    .base-view-rail {
        gap: 8px;
    }

    .base-view-rail button {
        min-height: 76px;
        padding: 10px 9px;
    }

    .base-view-rail span {
        font-size: 11px;
    }

    .base-view-rail strong {
        font-size: 18px;
    }

    .base-drysuit-side-copy {
        padding: 20px;
    }

    .base-drysuit-side-copy .vertex-cc-tech-heading h2 {
        font-size: clamp(28px, 3.2vw, 42px);
    }

    .detail-spec-panel p,
    .detail-spec-panel li {
        font-size: 15px;
        line-height: 1.55;
    }

    .vertex-shell main {
        width: min(1560px, calc(100% - clamp(28px, 4vw, 64px)));
        padding: 22px 0 42px;
    }

    .home-shell main > .vertex-page {
        width: min(1560px, calc(100% - clamp(28px, 4vw, 64px)));
        padding: 22px 0 42px;
    }

    .vertex-page {
        grid-template-columns: minmax(190px, 0.34fr) minmax(680px, 1.66fr);
        gap: 18px;
    }

    .home-shell .vertex-page .copy-stack .body-copy,
    .vertex-shell .vertex-page .copy-stack .body-copy {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.48;
    }

    .home-shell .vertex-page .copy-stack h1,
    .vertex-shell .vertex-page .copy-stack h1 {
        font-size: clamp(42px, 5.2vw, 68px);
    }

    .vertex-carousel {
        grid-template-columns: minmax(500px, 1fr) clamp(72px, 5.2vw, 94px);
        gap: 10px;
        min-height: calc(100vh - 116px);
        padding: 12px;
    }

    .vertex-model-strip {
        gap: 10px;
    }

    .vertex-model-strip button {
        min-height: 56px;
        padding: 10px 12px;
    }

    .vertex-model-strip span {
        font-size: 11px;
    }

    .vertex-model-strip strong {
        font-size: 15px;
    }

    .vertex-stack-stage {
        --vertex-stage-height: calc(100vh - 204px);
        min-height: var(--vertex-stage-height);
    }

    .vertex-stack-stage::before {
        inset: 22px;
    }

    .vertex-layer {
        bottom: 2px;
        width: clamp(420px, 28vw, 540px);
        height: clamp(580px, 39vw, 700px);
        max-width: min(76%, calc(var(--vertex-stage-height) * 0.7));
        max-height: calc(var(--vertex-stage-height) - 44px);
    }

    .vertex-stack-stage.view-side .vertex-layer.layer-active {
        transform: translateX(-58%) translateY(4px) scale(0.96);
    }

    .vertex-layer.layer-left {
        transform: translateX(-106%) translateY(-16px) scale(0.54);
    }

    .vertex-layer.layer-right {
        transform: translateX(6%) translateY(-16px) scale(0.54);
    }

    .vertex-control-panel {
        gap: 10px;
    }

    .vertex-control-panel .vertex-readout {
        padding: 10px 8px;
    }

    .vertex-control-panel .vertex-readout span,
    .vertex-control-panel .vertex-readout small {
        font-size: 11px;
    }

    .vertex-control-panel .vertex-readout strong {
        font-size: 24px;
    }

    .vertex-view-rail,
    .vertex-rail {
        gap: 8px;
    }

    .vertex-view-rail button,
    .vertex-rail button {
        min-height: 78px;
        padding: 10px 8px;
    }

    .vertex-view-rail span,
    .vertex-rail span {
        font-size: 11px;
    }

    .vertex-view-rail strong,
    .vertex-rail strong {
        font-size: 21px;
    }

}

@media (min-width: 861px) and (min-height: 821px) and (max-height: 980px) {
    .custom-pocket-widget {
        right: clamp(12px, 1.5vw, 20px);
        bottom: 124px;
        grid-template-columns: 130px;
        padding: 8px;
        box-shadow: 0 14px 30px rgba(7, 16, 25, 0.12);
    }

    .custom-pocket-preview {
        width: 130px;
    }

    .products-shell main {
        width: min(1500px, calc(100% - 32px));
        padding: 24px 0 52px;
    }

    .drysuit-detail-page {
        gap: 14px;
    }

    .back-link {
        min-height: 36px;
        padding: 0 12px;
        font-size: 13px;
    }

    .base-view-switcher {
        --base-viewer-height: clamp(440px, 56vh, 540px);
        grid-template-columns: minmax(250px, 0.36fr) minmax(560px, 1fr);
        gap: 16px;
    }

    .drysuit-detail-copy {
        padding: clamp(20px, 3vw, 42px);
    }

    .base-drysuit-intro-copy h1 {
        font-size: clamp(48px, 4.6vw, 64px);
        line-height: 0.98;
    }

    .base-drysuit-intro-copy .lead {
        margin-top: 14px;
        font-size: clamp(15px, 1.2vw, 17px);
        line-height: 1.55;
    }

    .detail-chip-row {
        gap: 10px;
        margin-top: 20px;
    }

    .detail-chip-row span {
        padding: 8px 10px;
        font-size: 13px;
    }

    .detail-action-row {
        margin-top: 16px;
    }

    .base-custom-button {
        min-height: 42px;
        padding: 0 18px;
        font-size: 15px;
    }

    .base-viewer {
        grid-template-columns: minmax(0, 1fr) clamp(76px, 5.6vw, 92px);
        gap: 10px;
    }

    .base-viewer .base-view-stage > img {
        height: min(500px, calc(var(--base-viewer-height) * 0.86));
    }

    .base-view-rail {
        gap: 8px;
    }

    .base-view-rail button {
        min-height: 76px;
        padding: 10px 9px;
    }

    .base-view-rail span {
        font-size: 11px;
    }

    .base-view-rail strong {
        font-size: 18px;
    }

    .base-drysuit-side-copy {
        padding: 20px;
    }

    .base-drysuit-side-copy .vertex-cc-tech-heading h2 {
        font-size: clamp(28px, 3.2vw, 42px);
    }

    .detail-spec-panel p,
    .detail-spec-panel li {
        font-size: 15px;
        line-height: 1.55;
    }

    .vertex-shell main {
        width: min(1620px, calc(100% - clamp(32px, 4vw, 72px)));
        padding: 24px 0 48px;
    }

    .home-shell main > .vertex-page {
        width: min(1620px, calc(100% - clamp(32px, 4vw, 72px)));
        padding: 24px 0 48px;
    }

    .vertex-page {
        grid-template-columns: minmax(210px, 0.36fr) minmax(720px, 1.64fr);
        gap: 20px;
    }

    .home-shell .vertex-page .copy-stack .body-copy,
    .vertex-shell .vertex-page .copy-stack .body-copy {
        margin-top: 14px;
        font-size: 16px;
        line-height: 1.56;
    }

    .home-shell .vertex-page .copy-stack h1,
    .vertex-shell .vertex-page .copy-stack h1 {
        max-width: 100%;
        font-size: clamp(48px, 5.2vw, 70px);
    }

    .vertex-carousel {
        grid-template-columns: minmax(560px, 1fr) clamp(78px, 5.6vw, 100px);
        gap: 12px;
        min-height: calc(100vh - 150px);
        padding: 14px;
    }

    .vertex-model-strip {
        gap: 12px;
    }

    .vertex-model-strip button {
        min-height: 62px;
        padding: 11px 14px;
    }

    .vertex-stack-stage {
        --vertex-stage-height: calc(100vh - 260px);
        min-height: var(--vertex-stage-height);
    }

    .vertex-stack-stage::before {
        inset: 24px;
    }

    .vertex-layer {
        bottom: 4px;
        width: clamp(460px, 28vw, 570px);
        height: clamp(640px, 38vw, 760px);
        max-width: min(76%, calc(var(--vertex-stage-height) * 0.7));
        max-height: calc(var(--vertex-stage-height) - 48px);
    }

    .vertex-stack-stage.view-side .vertex-layer.layer-active {
        transform: translateX(-58%) translateY(3px) scale(0.98);
    }

    .vertex-view-rail button,
    .vertex-rail button {
        min-height: 88px;
        padding: 12px 9px;
    }

    .vertex-view-rail strong,
    .vertex-rail strong {
        font-size: 23px;
    }
}

@media (min-width: 861px) and (max-width: 1180px) and (max-height: 900px) {
    .products-shell main {
        width: min(100% - 24px, 1120px);
    }

    .base-view-switcher {
        --base-viewer-height: clamp(430px, 58vh, 500px);
        grid-template-columns: minmax(230px, 0.34fr) minmax(520px, 1fr);
        gap: 12px;
    }

    .drysuit-detail-copy {
        padding: 18px;
    }

    .base-drysuit-intro-copy h1 {
        font-size: clamp(40px, 4.5vw, 52px);
        line-height: 0.98;
    }

    .base-drysuit-intro-copy .eyebrow {
        font-size: 12px;
    }

    .base-drysuit-intro-copy .lead {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.45;
    }

    .detail-chip-row {
        gap: 8px;
        margin-top: 16px;
    }

    .detail-chip-row span {
        padding: 7px 9px;
        font-size: 12px;
    }

    .detail-action-row {
        margin-top: 12px;
    }

    .base-custom-button {
        min-height: 38px;
        padding: 0 16px;
        font-size: 14px;
    }
}

@media (min-width: 2200px) and (min-height: 1200px) {
    .custom-shell main {
        width: min(3000px, calc(100% - clamp(120px, 7vw, 280px)));
        padding: 42px 0 72px;
    }

    .custom-page {
        grid-template-columns: minmax(820px, 0.72fr) minmax(1480px, 1.28fr);
        min-height: min(1420px, calc(100vh - 168px));
    }

    .custom-options-panel {
        gap: 32px;
        padding: clamp(58px, 3.1vw, 92px);
    }

    .custom-product-family {
        font-size: 19px;
    }

    .custom-options-panel h1 {
        margin-top: 28px;
        font-size: clamp(64px, 8.4cqw, 86px);
    }

    .custom-product-tabs {
        gap: 14px;
    }

    .custom-product-tabs button {
        min-height: 48px;
        padding: 0 20px;
        font-size: 18px;
    }

    .custom-color-options article {
        gap: 24px;
        padding: 32px 0;
    }

    .custom-option-heading {
        grid-template-columns: 42px 1fr auto auto;
        gap: 10px;
    }

    .custom-option-heading span {
        font-size: 17px;
    }

    .custom-option-heading strong {
        font-size: 20px;
    }

    .custom-option-read,
    .custom-option-delete {
        min-height: 42px;
        padding: 0 16px;
        font-size: 17px;
    }

    .custom-swatches {
        grid-template-columns: repeat(8, 52px);
        gap: 14px;
        padding-left: 52px;
    }

    .custom-swatches button {
        width: 52px;
        height: 38px;
        border-radius: 5px;
    }

    .custom-selected-color {
        gap: 14px;
        min-height: 34px;
        padding-left: 52px;
    }

    .custom-selected-color span {
        font-size: 17px;
    }

    .custom-selected-color strong {
        font-size: 20px;
    }

    .custom-text-option-note {
        padding-left: 52px;
        font-size: 18px;
    }

    .custom-view-panel {
        gap: 30px;
        padding: clamp(44px, 2.6vw, 72px);
    }

    .custom-view-header strong {
        font-size: 24px;
    }

    .custom-product-study {
        min-height: min(1320px, calc(100vh - 250px));
    }

    .custom-hero-plate {
        min-height: min(1320px, calc(100vh - 250px));
        padding-bottom: 92px;
    }

    .custom-hero-wrap,
    .custom-hero-wrap-large {
        width: min(88%, 1120px);
        height: min(calc(100vh - 300px), 1240px);
    }

    .custom-pocket-widget {
        right: clamp(40px, 2.6vw, 74px);
        bottom: clamp(188px, 15vh, 260px);
        grid-template-columns: 270px;
        padding: 18px;
    }

    .custom-pocket-preview {
        width: 270px;
    }

    .custom-hero-plate .custom-flow-actions {
        right: clamp(40px, 2.6vw, 74px);
        bottom: clamp(48px, 4vh, 96px);
    }

    .custom-flow-button {
        min-width: 158px;
        height: 58px;
        padding: 0 30px;
        font-size: 18px;
    }

    .custom-color-disclaimer {
        left: clamp(28px, 1.6vw, 46px);
        bottom: -42px;
        max-width: 520px;
        font-size: 16px;
    }

    .products-shell main {
        width: min(2240px, calc(100% - clamp(120px, 7vw, 280px)));
    }

    .drysuit-detail-page {
        gap: 32px;
    }

    .back-link {
        min-height: 52px;
        padding: 0 20px;
        font-size: 18px;
    }

    .base-view-switcher {
        --base-viewer-height: clamp(900px, 56vh, 1240px);
        grid-template-columns: minmax(500px, 0.46fr) minmax(1080px, 1fr);
        gap: 36px;
    }

    .drysuit-detail-copy {
        padding: clamp(54px, 4vw, 88px);
    }

    .base-drysuit-intro-copy h1 {
        font-size: clamp(112px, 5vw, 156px);
        line-height: 0.96;
    }

    .base-drysuit-intro-copy .eyebrow {
        font-size: 16px;
    }

    .base-drysuit-intro-copy .lead {
        font-size: 24px;
        line-height: 1.6;
    }

    .detail-chip-row span {
        padding: 14px 18px;
        font-size: 18px;
    }

    .base-custom-button {
        min-height: 54px;
        padding: 0 26px;
        font-size: 18px;
    }

    .base-viewer {
        grid-template-columns: minmax(0, 1fr) clamp(142px, 4.6vw, 178px);
        gap: 22px;
    }

    .base-viewer .base-view-stage > img {
        height: min(1080px, calc(var(--base-viewer-height) * 0.88));
    }

    .base-view-rail {
        gap: 16px;
    }

    .base-view-rail button {
        min-height: clamp(164px, 5vw, 210px);
        padding: 22px;
    }

    .base-view-rail span {
        font-size: 16px;
    }

    .base-view-rail strong {
        font-size: 30px;
    }

    .base-drysuit-side-copy {
        padding: clamp(38px, 2.4vw, 56px);
    }

    .base-drysuit-side-copy .vertex-cc-tech-grid {
        width: min(100%, 1500px);
        max-width: 1500px;
        gap: 56px;
    }

    .base-drysuit-side-copy .vertex-cc-tech-heading h2 {
        font-size: clamp(58px, 3vw, 84px);
    }

    .detail-spec-panel p,
    .detail-spec-panel li {
        font-size: 22px;
        line-height: 1.7;
    }

    .vertex-shell main {
        width: min(2200px, calc(100% - clamp(96px, 6vw, 220px)));
    }

    .home-shell main > .vertex-page {
        width: min(2200px, calc(100% - clamp(96px, 6vw, 220px)));
    }

    .vertex-page {
        grid-template-columns: minmax(340px, 0.44fr) minmax(1040px, 1.56fr);
        gap: 40px;
    }

    .home-shell .vertex-page .copy-stack h1,
    .vertex-shell .vertex-page .copy-stack h1 {
        font-size: clamp(78px, 4.8vw, 118px);
    }

    .home-shell .vertex-page .copy-stack .body-copy,
    .vertex-shell .vertex-page .copy-stack .body-copy {
        max-width: 820px;
        font-size: 22px;
        line-height: 1.72;
    }

    .vertex-shell .spec-layout.cc-copy-layout {
        padding: clamp(44px, 2.8vw, 72px);
        gap: 34px;
    }

    .vertex-shell .spec-layout.cc-copy-layout .vertex-cc-tech-heading h2 {
        font-size: clamp(58px, 2.7vw, 82px);
    }

    .vertex-shell .spec-layout.cc-copy-layout .vertex-cc-tech-grid {
        grid-template-columns: minmax(720px, 0.98fr) minmax(760px, 1.02fr);
        width: min(100%, 1720px);
        max-width: 1720px;
        gap: clamp(72px, 4vw, 120px);
    }

    .vertex-shell .spec-layout.cc-copy-layout .vertex-cc-tech-grid dl div {
        grid-template-columns: 180px 1fr;
        gap: 30px;
        padding: 20px 0;
    }

    .vertex-shell .spec-layout.cc-copy-layout .vertex-cc-tech-grid dt {
        font-size: 23px;
        line-height: 1.32;
    }

    .vertex-shell .spec-layout.cc-copy-layout .vertex-cc-tech-grid dd {
        font-size: 24px;
        line-height: 1.36;
    }

    .vertex-shell .spec-layout.cc-copy-layout .vertex-cc-tech-grid ul {
        gap: 14px;
        padding-left: 28px;
        font-size: 22px;
        line-height: 1.55;
    }

    .vertex-carousel {
        grid-template-columns: minmax(900px, 1fr) clamp(122px, 5vw, 156px);
        gap: 26px;
        min-height: clamp(1240px, 80vh, 1620px);
        padding: 26px;
    }

    .vertex-model-strip button {
        min-height: clamp(86px, 4vw, 104px);
        padding: 22px 24px;
    }

    .vertex-model-strip span {
        font-size: 16px;
    }

    .vertex-model-strip strong {
        font-size: 22px;
    }

    .vertex-stack-stage {
        --vertex-stage-height: clamp(1120px, 70vh, 1420px);
        min-height: var(--vertex-stage-height);
    }

    .vertex-layer {
        width: clamp(760px, 24vw, 940px);
        height: clamp(1040px, 32vw, 1280px);
        max-width: min(76%, calc(var(--vertex-stage-height) * 0.68));
        max-height: calc(var(--vertex-stage-height) - 72px);
    }

    .vertex-control-panel {
        gap: 18px;
    }

    .vertex-view-rail,
    .vertex-rail {
        gap: 14px;
    }

    .vertex-view-rail button,
    .vertex-rail button {
        min-height: clamp(132px, 5.2vw, 170px);
        padding: 22px 18px;
    }

    .vertex-control-panel .vertex-readout {
        padding: 18px 16px;
    }

    .vertex-control-panel .vertex-readout span,
    .vertex-control-panel .vertex-readout small,
    .vertex-view-rail span,
    .vertex-rail span {
        font-size: 16px;
    }

    .vertex-control-panel .vertex-readout strong,
    .vertex-view-rail strong,
    .vertex-rail strong {
        font-size: 34px;
    }
}

.custom-color-disclaimer {
    position: absolute;
    left: clamp(10px, 1.2vw, 18px);
    bottom: -30px;
    z-index: 9;
    display: grid;
    gap: 2px;
    max-width: 300px;
    margin: 0;
    color: rgba(7, 16, 25, 0.52);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: 0;
}

.custom-pocket-widget {
    position: absolute;
    right: clamp(18px, 2.5vw, 34px);
    bottom: clamp(150px, 14vh, 210px);
    z-index: 8;
    display: grid;
    grid-template-columns: 180px;
    gap: 0;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(7, 16, 25, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 40px rgba(7, 16, 25, 0.14);
}

.custom-pocket-preview {
    position: relative;
    width: 180px;
    aspect-ratio: 38 / 42;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f7f8;
}

.custom-pocket-preview img,
.custom-pocket-preview-color,
.custom-pocket-preview-edge,
.custom-pocket-preview-shading {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.custom-pocket-preview img {
    object-fit: cover;
    opacity: 1;
    z-index: 0;
}

.custom-pocket-preview-color {
    background-position: center;
    background-repeat: repeat;
    background-size: 72px 72px;
    mix-blend-mode: normal;
    opacity: 1;
    z-index: 1;
    -webkit-mask-image: url("/static/assets/custom/pocket-previews/cc-pocket-mask.png?v=cc-pocket-widget-20260620");
    mask-image: url("/static/assets/custom/pocket-previews/cc-pocket-mask.png?v=cc-pocket-widget-20260620");
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.custom-pocket-preview-edge {
    background-position: center;
    background-repeat: repeat;
    background-size: 72px 72px;
    mix-blend-mode: normal;
    opacity: 1;
    z-index: 2;
    -webkit-mask-image: url("/static/assets/custom/pocket-previews/cc-pocket-edge-mask.png?v=cc-pocket-edge-20260620");
    mask-image: url("/static/assets/custom/pocket-previews/cc-pocket-edge-mask.png?v=cc-pocket-edge-20260620");
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.custom-pocket-preview-shading {
    background: url("/static/assets/custom/pocket-previews/cc-pocket-shading.png?v=cc-pocket-shading-20260620") center / cover no-repeat;
    opacity: 0.18;
    mix-blend-mode: multiply;
    filter: grayscale(1) contrast(1.08) brightness(1.04);
    pointer-events: none;
    z-index: 3;
    -webkit-mask-image: url("/static/assets/custom/pocket-previews/cc-pocket-mask.png?v=cc-pocket-widget-20260620");
    mask-image: url("/static/assets/custom/pocket-previews/cc-pocket-mask.png?v=cc-pocket-widget-20260620");
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.custom-pocket-controls {
    display: grid;
    gap: 10px;
    align-content: center;
}

.custom-pocket-controls strong {
    color: #071019;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.custom-pocket-controls p {
    margin: 0;
    color: #52616d;
    font-size: 12px;
    font-weight: 900;
}

.custom-pocket-swatches {
    display: grid;
    grid-template-columns: repeat(6, 22px);
    gap: 6px;
}

.custom-pocket-swatches button {
    width: 22px;
    height: 22px;
    border: 1px solid #c9d2da;
    border-radius: 4px;
    background-size: cover;
    cursor: pointer;
}

.custom-pocket-swatches button.selected {
    border-color: #071019;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #071019;
}

.custom-zone {
    position: absolute;
    z-index: 3;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1440px 1960px;
    opacity: 1;
    mix-blend-mode: color;
    filter: saturate(1.22) contrast(1.04);
    isolation: auto;
}

.custom-zone::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--custom-base-image) center / contain no-repeat;
    opacity: var(--custom-shading-opacity, 0.24);
    mix-blend-mode: luminosity;
    filter: grayscale(1) contrast(1.12) brightness(0.96);
    pointer-events: none;
}

.custom-zone-chest-yoke {
    left: 18.6%;
    top: 10.8%;
    width: 66.4%;
    height: 14.8%;
    clip-path: polygon(4% 54%, 21% 16%, 43% 5%, 58% 5%, 80% 18%, 96% 55%, 91% 76%, 65% 49%, 50% 40%, 35% 50%, 9% 76%);
}

.custom-zone-chest-left {
    left: 28.8%;
    top: 22.2%;
    width: 30.5%;
    height: 20.8%;
    clip-path: polygon(13% 0, 68% 5%, 100% 35%, 74% 100%, 15% 78%, 0 34%);
    transform: rotate(-8deg);
}

.custom-zone-chest-zip {
    left: 39.2%;
    top: 24.6%;
    width: 25.5%;
    height: 30%;
    clip-path: polygon(16% 0, 50% 0, 84% 100%, 55% 100%);
    transform: rotate(-22deg);
}

.custom-zone-pocket {
    left: 21.8%;
    top: 52.4%;
    width: 21.8%;
    height: 8.1%;
    border-radius: 6px 6px 12px 12px;
    clip-path: polygon(6% 3%, 94% 0, 99% 62%, 80% 93%, 50% 100%, 18% 91%, 0 64%);
    transform: rotate(-3.5deg);
}

.custom-zone-sleeve-left-wide {
    left: 8.2%;
    top: 11.2%;
    width: 13.4%;
    height: 30.2%;
    clip-path: polygon(39% 0, 73% 0, 66% 100%, 27% 99%);
    transform: rotate(24deg);
    opacity: 0.58;
}

.custom-zone-sleeve-left-line {
    left: 10.3%;
    top: 12.4%;
    width: 2.35%;
    height: 28.5%;
    clip-path: polygon(25% 0, 78% 0, 72% 100%, 18% 100%);
    transform: rotate(24deg);
    opacity: 0.96;
}

.custom-zone-sleeve-left-line.line-b {
    left: 13.05%;
    top: 12.8%;
}

.custom-zone-sleeve-left-line.line-c {
    left: 15.8%;
    top: 13.2%;
}

.custom-zone-sleeve-right-wide {
    right: 5.4%;
    top: 16.8%;
    width: 9.2%;
    height: 22.5%;
    clip-path: polygon(34% 0, 72% 3%, 66% 100%, 20% 97%);
    transform: rotate(-34deg);
    opacity: 0.56;
}

.custom-zone-sleeve-right-line {
    right: 7.2%;
    top: 17.8%;
    width: 2%;
    height: 20.5%;
    clip-path: polygon(28% 0, 78% 0, 72% 100%, 18% 100%);
    transform: rotate(-34deg);
    opacity: 0.95;
}

.custom-zone-sleeve-right-line.line-b {
    right: 9.6%;
    top: 18.8%;
}

.custom-mask-layer {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    mix-blend-mode: normal;
    isolation: isolate;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.custom-mask-layer::after {
    -webkit-mask-image: inherit;
    mask-image: inherit;
    -webkit-mask-repeat: inherit;
    mask-repeat: inherit;
    -webkit-mask-position: inherit;
    mask-position: inherit;
    -webkit-mask-size: inherit;
    mask-size: inherit;
}

.mask-editor-panel {
    grid-column: 1 / -1;
    display: grid;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(7, 16, 25, 0.12);
}

.mask-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mask-editor-toolbar button,
.mask-editor-controls button {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    color: #071019;
    background: #ffffff;
    font-size: 13px;
    font-weight: 850;
}

.mask-editor-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.mask-editor-controls button.selected {
    color: #ffffff;
    border-color: #071019;
    background: #071019;
}

.mask-editor-controls label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4f5f6a;
    font-size: 12px;
    font-weight: 800;
}

.mask-editor-controls input[type="range"] {
    width: 96px;
}

.mask-brush-colors {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 4px 10px;
    border: 1px solid #d6dbe0;
    border-radius: 8px;
    background: #f7fafc;
    color: #4f5f6a;
    font-size: 12px;
    font-weight: 800;
}

.mask-brush-colors .mask-color-swatch {
        cursor: grab;
width: 28px;
    min-height: 28px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px #cbd4dc;
}

.mask-editor-controls .mask-brush-colors .mask-color-swatch.red,
.mask-editor-controls .mask-brush-colors .mask-color-swatch.red.selected {
    background: #ff0000;
}

.mask-editor-controls .mask-brush-colors .mask-color-swatch.green,
.mask-editor-controls .mask-brush-colors .mask-color-swatch.green.selected {
    background: #00be62;
}

.mask-editor-controls .mask-brush-colors .mask-color-swatch.blue,
.mask-editor-controls .mask-brush-colors .mask-color-swatch.blue.selected {
    background: #0078ff;
}

.mask-brush-colors .mask-color-swatch.selected {
    border-color: #ffffff;
    box-shadow: 0 0 0 2px #071019;
}

.mask-option-create {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}

.mask-option-create label {
    display: grid;
    gap: 6px;
    color: #4f5f6a;
    font-size: 12px;
    font-weight: 800;
}

.mask-option-create input {
    min-height: 36px;
    width: 100%;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    padding: 0 10px;
    color: #071019;
    background: #ffffff;
    font: inherit;
}

.mask-option-create button {
    min-height: 36px;
    border: 1px solid #071019;
    border-radius: 6px;
    color: #ffffff;
    background: #071019;
    font-size: 13px;
    font-weight: 900;
}

.mask-editor-stage {
    position: relative;
    width: min(100%, 760px);
    aspect-ratio: 420 / 660;
    max-height: min(84vh, 1120px);
    margin: 0 auto;
    border: 1px solid #d8e0e6;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.mask-editor-stage canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mask-canvas-stack {
    position: absolute;
    inset: 0;
    transform-origin: 0 0;
}

.mask-base-canvas {
    z-index: 1;
}

.mask-result-canvas {
    z-index: 2;
}

.mask-boundary-canvas {
    z-index: 6;
    pointer-events: none;
    opacity: 0.9;
}


.mask-paint-canvas {
    z-index: 5;
    cursor: none;
    touch-action: none;
    opacity: 0.58;
}

.mask-brush-cursor {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 7;
    border: 2px solid;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
    will-change: transform, width, height;
}

.mask-brush-cursor.sample {
    border-color: #ffffff;
    outline: 2px solid #00101a;
}

.mask-brush-cursor.sample::before,
.mask-brush-cursor.sample::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.mask-brush-cursor.sample::before {
    width: 2px;
    height: 16px;
}

.mask-brush-cursor.sample::after {
    width: 16px;
    height: 2px;
}

.mask-editor-note {
    margin: 0;
    color: #64727e;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.mini-suit {
    display: grid;
    place-items: center;
    min-height: 260px;
    border-radius: 8px;
    background: #e7edf1;
}

.mini-suit div {
    width: 134px;
    height: 210px;
    clip-path: polygon(38% 0, 62% 0, 72% 20%, 100% 42%, 84% 62%, 70% 48%, 62% 100%, 51% 100%, 50% 72%, 49% 100%, 38% 100%, 30% 48%, 16% 62%, 0 42%, 28% 20%);
    background: linear-gradient(145deg, #ffffff, #6f808d 55%, #1a2530);
    border: 1px solid #9aa8b2;
    position: relative;
}

.mini-suit div::after {
    content: "";
    position: absolute;
    left: 62px;
    top: 36px;
    width: 6px;
    height: 106px;
    border-radius: 999px;
    background: #101820;
}

dl {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
}

dl div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

dt {
    color: var(--muted);
}

dd {
    margin: 0;
    font-weight: 800;
}

@media (max-width: 860px) {
    .custom-final-modal-backdrop,
    .login-modal-backdrop,
    .advisor-modal-backdrop,
    .privacy-modal-backdrop {
        align-items: start;
        padding: max(14px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    }

    .custom-final-modal,
    .login-modal,
    .advisor-modal,
    .privacy-modal {
        max-height: calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    body {
        overflow-x: hidden;
    }

    .site-shell.home-scroll-locked {
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .topbar {
        position: relative;
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        gap: 10px;
        padding: calc(max(12px, env(safe-area-inset-top)) + 6px) 16px 12px;
    }

    .home-shell .topbar {
        position: sticky;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }

    .nav-actions {
        width: 100%;
        justify-content: stretch;
        flex-wrap: wrap;
        overflow-x: visible;
        gap: 6px;
        padding: 6px;
        border-radius: 8px;
    }

    .nav-actions button {
        flex: 1 1 calc(50% - 6px);
        min-height: 38px;
        padding: 0 10px;
        border-radius: 6px;
        font-size: 13px;
    }

    .topbar-tools {
        position: absolute;
        top: calc(max(12px, env(safe-area-inset-top)) + 6px);
        right: 16px;
        z-index: 30;
        width: auto;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 6px;
        max-width: calc(100% - 184px);
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .topbar-tools .login-state {
        position: static;
        width: auto;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 6px;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .topbar-tools > button,
    .login-state > button,
    .login-toggle,
    .language-toggle {
        flex: 0 0 auto;
        min-width: 0;
        min-height: 32px;
        padding: 0 14px;
        border-radius: 6px;
        font-size: 12px;
    }

    .product-mega {
        display: none;
        position: static;
        grid-template-columns: 1fr;
        gap: 0;
        padding: 30px 20px 38px;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: none;
    }

    .product-mega.open {
        display: grid;
    }

    .product-mega-item {
        min-height: 86px;
        padding: 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    main {
        width: min(100% - 28px, 1380px);
        padding-top: 28px;
    }

    .legal-page {
        gap: 16px;
    }

    .legal-hero,
    .legal-panel {
        padding: 22px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 36px;
    }

    .site-footer div,
    .site-footer nav {
        justify-content: flex-start;
    }

    .home-hero-video {
        height: 560px;
        min-height: 560px;
        aspect-ratio: auto;
    }

    .home-hero-final-frame {
        height: 560px;
        min-height: 560px;
    }

    .home-hero-cinema {
        min-height: 560px;
    }

    .home-hero-shade {
        height: 560px;
        aspect-ratio: auto;
        background:
            linear-gradient(180deg, rgba(2, 7, 13, 0.72) 0%, rgba(2, 7, 13, 0.18) 44%, rgba(2, 7, 13, 0.92) 100%),
            linear-gradient(90deg, rgba(2, 7, 13, 0.78), rgba(2, 7, 13, 0.12));
    }

    .home-hero-copy {
        top: 72px;
        right: 18px;
        width: calc(100% - 36px);
        transform: translateX(18px);
    }

    .home-hero-copy h1 {
        max-width: 340px;
        font-size: clamp(34px, 10.4vw, 48px);
        line-height: 0.98;
    }

    .home-hero-copy p {
        max-width: 100%;
        font-size: 16px;
        text-align: right;
    }

    .home-hero-copy p {
        max-width: 320px;
        margin-top: 18px;
        font-size: 16px;
        line-height: 1.58;
    }

    .home-hero-actions {
        gap: 9px;
        margin-top: 22px;
    }

    .home-hero-actions .primary-action,
    .home-hero-actions .secondary-action {
        min-height: 42px;
        padding: 0 12px;
        font-size: 14px;
    }

    .home-hero-index {
        margin: 0 14px;
        grid-template-columns: 1fr;
    }

    .home-hero-index article {
        grid-template-columns: 62px 1fr;
        align-items: center;
        min-height: 48px;
        padding: 10px 12px;
    }

    .home-hero-index strong {
        font-size: 20px;
    }

    .home-proof-band {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .vertex-compare-button {
        display: none;
    }

    .page-grid,
    .about-story-feature,
    .spec-layout,
    .product-detail,
    .vertex-carousel,
    .drysuit-detail-hero,
    .detail-spec-panel,
    .dealer-workspace {
        grid-template-columns: 1fr;
    }

    .about-page > .about-intro-image-card {
        margin-top: 0;
    }

    .about-story-feature {
        gap: 24px;
    }

    .about-intro-image-card {
        min-height: 360px;
    }

    .about-intro-image-card img {
        width: min(78%, 260px);
        max-height: 320px;
    }

    .about-image-rail {
        grid-template-columns: 1fr 1fr;
    }

    .about-image-card {
        min-height: 280px;
    }

    .about-image-card.compact {
        min-height: 280px;
    }

    .about-image-card img,
    .about-image-card.compact img {
        width: min(82%, 220px);
        max-height: 260px;
    }

    .about-story-copy {
        justify-self: stretch;
        width: 100%;
    }

    .drysuit-detail-visual {
        min-height: 520px;
    }

    .vertex-rail {
        grid-template-rows: none;
        grid-template-columns: 1fr;
    }

    .vertex-carousel {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 10px;
        min-height: auto;
        padding: 12px;
    }

    .vertex-model-strip,
    .vertex-view-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .base-viewer {
        grid-template-columns: 1fr;
    }

    .base-view-switcher,
    .base-drysuit-side-copy .vertex-cc-tech-grid {
        grid-template-columns: 1fr;
    }

    .base-view-switcher {
        grid-template-areas:
            "intro"
            "viewer"
            "details";
    }

    .base-view-switcher-arrow {
        grid-template-areas:
            "variants"
            "intro"
            "viewer"
            "details";
    }

    .base-drysuit-side-copy {
        grid-column: auto;
    }

    .base-view-rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .vertex-model-strip {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .vertex-stack-stage {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .vertex-control-panel {
        display: none;
    }

    .vertex-stage {
        min-height: 500px;
    }

    .vertex-stack-stage {
        --vertex-stage-height: clamp(430px, 112vw, 560px);
        min-height: var(--vertex-stage-height);
        touch-action: pan-y;
    }

    .vertex-arrow {
        display: none;
    }

    .vertex-control-panel .vertex-readout {
        min-height: 118px;
        padding: 12px 8px;
        align-content: center;
    }

    .vertex-control-panel .vertex-readout span,
    .vertex-control-panel .vertex-readout small {
        font-size: 11px;
    }

    .vertex-control-panel .vertex-readout strong {
        font-size: 20px;
        line-height: 1.05;
    }

    .vertex-view-rail {
        display: none;
    }

    .vertex-view-rail button {
        min-height: 68px;
        padding: 10px 8px;
        gap: 6px;
    }

    .vertex-view-rail span,
    .vertex-rail span {
        font-size: 11px;
    }

    .vertex-view-rail strong,
    .vertex-rail strong {
        font-size: 17px;
    }

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

    .vertex-cc-tech-grid {
        grid-template-columns: 1fr;
    }

    .vertex-layer {
        width: min(300px, 78vw);
        height: min(500px, 130vw);
    }

    .vertex-layer.layer-active {
        transform: translateX(-50%) translateY(12px) scale(0.96);
    }

    .vertex-stack-stage.view-side .vertex-layer.layer-active {
        transform: translateX(-52%) translateY(12px) scale(0.98);
    }

    .vertex-layer.layer-left {
        transform: translateX(-104%) translateY(2px) scale(0.42);
    }

    .vertex-layer.layer-right {
        transform: translateX(4%) translateY(2px) scale(0.42);
    }

    .metric-grid,
    .custom-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .custom-page {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .custom-options-panel {
        min-width: 0;
        gap: 20px;
        padding: 26px;
        border-right: 0;
        border-bottom: 1px solid #d6dbe0;
    }

    .custom-product-family,
    .custom-options-panel h1,
    .custom-product-tabs,
    .custom-color-options,
    .custom-color-options article,
    .custom-option-heading,
    .custom-swatches,
    .custom-selected-color {
        min-width: 0;
        width: 100%;
    }

    .custom-options-panel h1 {
        margin-top: 8px;
        font-size: clamp(32px, 12vw, 42px);
        white-space: normal;
    }

    .custom-product-tabs button {
        flex: 1 1 calc(50% - 8px);
        min-width: 0;
        padding: 0 10px;
    }

    .custom-option-heading {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 6px 8px;
    }

    .custom-option-heading strong {
        overflow-wrap: anywhere;
    }

    .custom-option-read,
    .custom-option-delete {
        grid-column: 2;
        justify-self: start;
    }

    .custom-swatches {
        grid-template-columns: repeat(auto-fill, minmax(32px, 1fr));
        gap: 8px;
        padding-left: 0;
    }

    .custom-swatches button {
        width: 100%;
        min-width: 0;
        height: 26px;
    }

    .custom-selected-color,
    .custom-text-option-note {
        padding-left: 0;
    }

    .custom-reference-image {
        height: 520px;
    }

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

    .custom-fit-page {
        padding-bottom: 22px;
    }

    .custom-fit-options-actions {
        display: flex;
    }

    .custom-fit-preview-actions {
        display: none;
    }

    .custom-confirm-actions {
        position: static;
        justify-content: flex-end;
        margin-top: 16px;
    }

    .custom-confirm-view-panel {
        padding-bottom: clamp(20px, 3vw, 42px);
    }

    .custom-fit-hero-plate {
        min-height: clamp(500px, 136vw, 620px);
    }

    .custom-fit-option-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .custom-fit-option-choices {
        grid-template-columns: 1fr;
    }

    .custom-fit-check {
        font-size: 14px;
    }

    .custom-flow-actions {
        right: 16px;
        bottom: 16px;
    }

    .custom-hero-plate .custom-flow-actions {
        right: 14px;
        bottom: 8px;
    }

    .custom-color-disclaimer {
        left: 12px;
        bottom: -34px;
        max-width: 240px;
        font-size: 10px;
    }

    .custom-fit-page > .custom-flow-actions {
        justify-content: flex-end;
        width: 100%;
        margin-top: 22px;
    }

    .custom-fit-view-panel > .custom-flow-actions {
        margin-top: 0;
    }

    .custom-flow-button {
        min-width: 92px;
        height: 40px;
        padding: 0 16px;
    }

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

    .measurement-order-summary {
        grid-template-columns: 1fr;
    }

    .measurement-customer-fields {
        grid-template-columns: 1fr;
    }

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

    .measurement-template-switch {
        align-items: stretch;
        flex-direction: column;
    }

    .measurement-gender-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .measurement-reference img {
        min-width: 0;
    }

    .measurement-reference {
        overflow-x: visible;
    }

    .measurement-image-board {
        min-width: 0;
    }

    .dealer-panel {
        padding: 20px;
    }

    .customer-email-setting {
        align-items: stretch;
        flex-direction: column;
    }

    .customer-toggle {
        width: 100%;
    }

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

    .order-status-panel {
        padding: 14px 12px;
    }

    .order-status-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 10px;
        padding-top: 0;
    }

    .order-status-track::before,
    .order-status-track::after {
        display: none;
    }

    .order-status-slider {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        height: 34px;
        margin-top: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, #d5e0e7, #0a6270);
    }

    .order-status-slider::-webkit-slider-thumb {
        margin-top: 0;
    }

    .order-status-point small {
        max-width: 100%;
        font-size: 12px;
    }

    .order-status-point.current small {
        font-size: 13px;
    }

    .order-status-admin-control {
        grid-template-columns: 1fr;
    }

    .customer-measurement-canvas {
        min-width: 760px;
    }

    .customer-measurement-value {
        min-width: 24px;
        min-height: 13px;
        padding: 0 2px;
        border-radius: 2px;
        font-size: 8px;
        font-weight: 950;
    }

    .custom-hero-plate {
        min-height: 620px;
    }

    .custom-hero-image {
        height: 100%;
    }

    .custom-hero-wrap {
        width: min(96%, 520px);
        height: 640px;
    }

    .custom-hero-wrap-large {
        width: min(96%, 520px);
        height: 640px;
        transform: scale(1);
    }

    .custom-pocket-widget {
        right: clamp(12px, 4vw, 18px);
        bottom: 88px;
        grid-template-columns: minmax(0, clamp(118px, 34vw, 148px));
        padding: 8px;
    }

    .custom-pocket-preview {
        width: 100%;
    }

    .catalog-heading {
        display: grid;
    }

    .catalog-card {
        min-height: 420px;
    }

    .product-visual {
        min-height: 440px;
    }
}

.admin-shell {
    background:
        radial-gradient(circle at 72% 22%, rgba(30, 190, 200, 0.2), transparent 28%),
        radial-gradient(circle at 18% 70%, rgba(6, 82, 113, 0.55), transparent 34%),
        linear-gradient(135deg, #02070d 0%, #06202c 45%, #04141f 100%);
}

.admin-page {
    display: grid;
    gap: 22px;
}

.admin-heading,
.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.admin-heading h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(34px, 5vw, 68px);
    line-height: 0.95;
}

.admin-login-panel,
.admin-workspace,
.admin-table-wrap {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(16, 31, 44, 0.08);
}

.admin-login-panel {
    display: grid;
    gap: 16px;
    width: min(520px, 100%);
    padding: 24px;
}

.admin-login-panel label {
    display: grid;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-login-panel input {
    min-height: 44px;
    width: 100%;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    padding: 0 12px;
    color: var(--ink);
    background: #ffffff;
    font: inherit;
}

.admin-workspace {
    display: grid;
    gap: 18px;
    padding: 20px;
}

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

.admin-summary article {
    display: grid;
    gap: 8px;
    min-height: 96px;
    padding: 18px;
    border: 1px solid #dde6ed;
    border-radius: 8px;
    background: #f7fafc;
}

.admin-summary span,
.admin-toolbar span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.admin-summary strong {
    color: var(--ink);
    font-size: 34px;
    line-height: 1;
}

.admin-ghost-button {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 0 14px;
    color: var(--ink);
    background: #ffffff;
    font-weight: 800;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-orders-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.admin-orders-table th,
.admin-orders-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e1e8ee;
    text-align: left;
    vertical-align: middle;
}

.admin-orders-table th {
    color: var(--muted);
    background: #f7fafc;
    font-size: 12px;
    text-transform: uppercase;
}

.admin-orders-table td {
    color: var(--ink);
    font-size: 14px;
}

.admin-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-radius: 999px;
    padding: 0 10px;
    color: #063941;
    background: #dff5f7;
    font-size: 12px;
    font-weight: 900;
}

.admin-deleted-row td {
    color: #7b8794;
    background: #fbfcfd;
}

.admin-deleted-row .admin-status-pill {
    color: #7f1d1d;
    background: #fee2e2;
}

.admin-selected-row td {
    background: #eef8fa;
}

.admin-view-mini,
.admin-danger-mini {
    min-height: 32px;
    margin-right: 6px;
    border: 1px solid #b42318;
    border-radius: 6px;
    padding: 0 10px;
    color: #b42318;
    background: #fff7f7;
    font-size: 12px;
    font-weight: 900;
}

.admin-view-mini {
    border-color: #0a6270;
    color: #0a6270;
    background: #eef8fa;
}

.admin-restore-mini {
    min-height: 32px;
    border: 1px solid #176b45;
    border-radius: 6px;
    padding: 0 10px;
    color: #176b45;
    background: #f0fdf4;
    font-size: 12px;
    font-weight: 900;
}

.admin-order-detail-panel {
    display: grid;
    gap: 16px;
    border: 1px solid #dde6ed;
    border-radius: 8px;
    padding: 18px;
    background: #ffffff;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.admin-detail-grid article,
.admin-detail-split article {
    display: grid;
    gap: 8px;
    border: 1px solid #e1e8ee;
    border-radius: 8px;
    padding: 14px;
    background: #f7fafc;
}

.admin-detail-grid span,
.admin-detail-subhead strong {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-detail-grid strong {
    color: var(--ink);
    font-size: 16px;
}

.admin-detail-grid small,
.admin-email-event small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.admin-detail-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 12px;
}

.admin-chip-list,
.admin-email-list {
    display: grid;
    gap: 8px;
}

.admin-chip-list {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.admin-chip-list span {
    border: 1px solid #d8e5ea;
    border-radius: 999px;
    padding: 8px 10px;
    color: #12313a;
    background: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.admin-email-event {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(160px, 1.2fr) auto;
    gap: 8px 10px;
    align-items: center;
    border: 1px solid #d8e5ea;
    border-radius: 8px;
    padding: 10px;
    background: #ffffff;
    color: var(--ink);
    font-size: 12px;
}

.admin-email-event small {
    grid-column: 1 / -1;
}

.admin-email-type {
    font-weight: 900;
}

.admin-email-event strong {
    justify-self: end;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 11px;
}

.email-status-sent {
    color: #176b45;
    background: #dcfce7;
}

.email-status-pending {
    color: #74500b;
    background: #fff8e7;
}

.email-status-failed,
.email-status-error {
    color: #7f1d1d;
    background: #fee2e2;
}

.admin-deleted-text {
    color: #7b8794;
    font-size: 12px;
    font-weight: 900;
}

.admin-empty,
.admin-error {
    color: #9a3412;
    font-weight: 800;
}

.admin-error {
    margin: 0;
}

.admin-success {
    margin: 0;
    color: #0f766e;
    font-weight: 900;
}

.admin-dealers-panel {
    display: grid;
    gap: 14px;
    border-top: 1px solid #e1e8ee;
    padding-top: 18px;
}

.admin-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.admin-section-heading div {
    display: grid;
    gap: 6px;
}

.admin-section-heading span,
.admin-section-heading small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.admin-section-heading strong {
    color: var(--ink);
    font-size: 22px;
}

.admin-dealer-list {
    display: grid;
    gap: 14px;
}

.admin-dealer-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
    border: 1px solid #dde6ed;
    border-radius: 8px;
    background: #f7fafc;
}

.admin-new-dealer-card {
    border-color: #b9dfe3;
    background: #eefbfc;
}

.admin-dealer-card label {
    display: grid;
    gap: 7px;
}

.admin-dealer-card label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.admin-dealer-card input[type="text"],
.admin-dealer-card input[type="email"],
.admin-dealer-card input[type="url"] {
    min-height: 40px;
    width: 100%;
    border: 1px solid #cbd4dc;
    border-radius: 6px;
    padding: 0 10px;
    color: var(--ink);
    background: #ffffff;
    font: inherit;
}

.admin-wide-field {
    grid-column: 1 / -1;
}

.admin-check-field {
    display: flex !important;
    grid-column: 1 / 2;
    align-items: center;
    gap: 10px !important;
}

.admin-check-field input {
    width: 18px;
    height: 18px;
}

.admin-dealer-actions {
    display: flex;
    justify-self: end;
    align-items: center;
    gap: 10px;
}

.admin-dealer-test-result {
    grid-column: 1 / -1;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.admin-save-button,
.admin-danger-button {
    justify-self: end;
    min-height: 40px;
    border-radius: 6px;
    padding: 0 14px;
    font-weight: 900;
}

.admin-save-button {
    border: 1px solid var(--accent-deep);
    color: #ffffff;
    background: var(--accent-deep);
}

.admin-danger-button {
    border: 1px solid #b42318;
    color: #b42318;
    background: #fff7f7;
}

@media (max-width: 860px) {
    .admin-heading,
    .admin-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

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

    .admin-detail-grid,
    .admin-detail-split,
    .admin-email-event {
        grid-template-columns: 1fr;
    }

    .admin-email-event strong {
        justify-self: start;
    }

    .admin-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .admin-check-field {
        grid-column: 1;
    }

    .admin-dealer-actions {
        justify-self: stretch;
        flex-direction: column-reverse;
    }

    .admin-save-button,
    .admin-danger-button {
        width: 100%;
    }
}

.about-intro-image-card,
.about-image-card {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.about-intro-image-card::before,
.about-intro-image-card::after,
.about-image-card::before {
    content: none;
}

.about-intro-image-card img,
.about-image-card img,
.about-image-card.compact img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    filter: none;
}

.about-intro-image-card img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: 44% center;
    transform: scale(1.025);
    transform-origin: center;
}

.about-intro-image-card:hover img,
.about-intro-image-card:focus-visible img {
    transform: scale(1.055);
}

.seo-site-links {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 861px) {
    .custom-admin-page {
        grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
        height: calc(100vh - 92px);
        max-height: none;
    }

    .custom-admin-page .custom-options-panel {
        gap: 14px;
        padding: 24px 26px;
    }

    .custom-admin-page .custom-options-panel h1 {
        font-size: clamp(28px, 5.4cqw, 38px);
    }

    .custom-admin-page .custom-color-options article {
        gap: 10px;
        padding: 14px 0;
    }

    .custom-admin-page .custom-swatches {
        grid-template-columns: repeat(6, minmax(26px, 32px));
        gap: 7px;
    }

    .custom-admin-page .custom-view-panel {
        overflow: hidden;
        padding: 16px 18px;
    }

    .custom-admin-page .custom-view-header {
        min-height: 28px;
    }

    .custom-admin-page .custom-product-study {
        grid-template-columns: minmax(360px, 0.92fr) minmax(390px, 1.08fr);
        gap: 18px;
        align-items: stretch;
        justify-items: stretch;
        height: 100%;
        min-height: 0;
    }

    .custom-admin-page .custom-hero-plate {
        min-height: 0;
        height: 100%;
        padding: 0;
        overflow: hidden;
    }

    .custom-admin-page .custom-hero-wrap,
    .custom-admin-page .custom-hero-wrap-large {
        width: min(100%, 440px);
        height: min(calc(100vh - 172px), 600px);
        align-self: center;
        justify-self: center;
    }

    .custom-admin-page .custom-pocket-widget,
    .custom-admin-page .custom-flow-actions,
    .custom-admin-page .custom-color-disclaimer {
        display: none;
    }

    .custom-admin-page .mask-editor-panel {
        grid-column: 2;
        grid-row: 1;
        align-self: stretch;
        min-height: 0;
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr) auto;
        gap: 10px;
        padding: 0 0 0 18px;
        border-top: 0;
        border-left: 1px solid rgba(7, 16, 25, 0.12);
        overflow: hidden;
    }

    .custom-admin-page .mask-editor-toolbar {
        align-items: flex-start;
    }

    .custom-admin-page .mask-editor-controls {
        max-height: 118px;
        overflow-y: auto;
        padding-right: 4px;
    }

    .custom-admin-page .mask-option-create {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
        gap: 8px;
    }

    .custom-admin-page .mask-editor-stage {
        width: min(100%, 430px);
        max-height: none;
        height: 100%;
        min-height: 280px;
        align-self: stretch;
    }

    .custom-admin-page .mask-editor-note {
        max-height: 44px;
        overflow: auto;
    }
}

@media (min-width: 861px) and (max-width: 1320px) {
    .custom-admin-page {
        grid-template-columns: minmax(270px, 350px) minmax(0, 1fr);
    }

    .custom-admin-page .custom-product-study {
        grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1.18fr);
    }

    .custom-admin-page .custom-hero-wrap,
    .custom-admin-page .custom-hero-wrap-large {
        width: min(100%, 360px);
        height: min(calc(100vh - 172px), 520px);
    }

    .custom-admin-page .mask-editor-stage {
        width: min(100%, 390px);
    }
}

