/* =========================================
   PETWHEELS — light, modern, brand-gradient
   ========================================= */

:root {

  --c-orange: #FF7A1A;
  --c-pink: #FF3D78;
  --c-magenta: #C13FA9;
  --c-purple: #7C3AED;
  --c-indigo: #5562F0;
  --c-blue: #2FB8FF;

  --grad-brand: linear-gradient(95deg, #FF7A1A 0%, #FF3D78 28%, #C13FA9 52%, #7C3AED 72%, #2FB8FF 100%);
  --grad-warm: linear-gradient(95deg, #FF7A1A 0%, #FF3D78 60%, #C13FA9 100%);

  --grad-warm-subtle: linear-gradient(95deg, #FF8A2E 0%, #FF6448 70%, #FF4E63 100%);
  --grad-cool: linear-gradient(95deg, #7C3AED 0%, #5562F0 50%, #2FB8FF 100%);
  --grad-soft: linear-gradient(160deg, #FFF5EE 0%, #FFF1F6 35%, #F4ECFF 70%, #ECF8FF 100%);

  --bg: #FAFBFD;
  --bg-alt: #FFFFFF;
  --bg-tint: #F5F2FB;
  --surface: #FFFFFF;
  --line: #E6E8EF;
  --line-soft: #EEF0F6;

  --text: #0E1226;
  --text-mid: #475069;
  --text-soft: #6E7691;
  --text-faint: #9AA1B5;

  --shadow-sm: 0 1px 2px rgba(15, 18, 38, .04), 0 1px 1px rgba(15, 18, 38, .03);
  --shadow: 0 8px 24px -10px rgba(15, 18, 38, .12), 0 2px 6px rgba(15, 18, 38, .04);
  --shadow-lg: 0 24px 60px -20px rgba(15, 18, 38, .22), 0 8px 20px -10px rgba(15, 18, 38, .08);
  --shadow-brand: 0 18px 40px -16px rgba(193, 63, 169, .42), 0 6px 14px -8px rgba(255, 61, 120, .25);

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --t-fast: 160ms cubic-bezier(.4, .2, .2, 1);
  --t: 240ms cubic-bezier(.4, .2, .2, 1);
  --t-slow: 420ms cubic-bezier(.4, .2, .2, 1);
}

/* base ---------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 18, 38, .18) transparent;
}
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
  background: rgba(15, 18, 38, .16);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 18, 38, .30);
  background-clip: padding-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

p {
  margin: 0;
  color: var(--text-mid);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(230, 232, 239, .8);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 6px;
  justify-content: center;
  position: relative;
}

@property --tab-c1 {
  syntax: '<color>';
  inherits: false;
  initial-value: #475069;
}

@property --tab-c2 {
  syntax: '<color>';
  inherits: false;
  initial-value: #475069;
}

@property --tab-c3 {
  syntax: '<color>';
  inherits: false;
  initial-value: #475069;
}

.nav-links a,
.nav-links button {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: transparent;
  border-radius: 999px;
  border: none;
  background-image: linear-gradient(95deg, var(--tab-c1) 0%, var(--tab-c2) 60%, var(--tab-c3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  cursor: pointer;
  font-family: inherit;
  transition: --tab-c1 .18s ease, --tab-c2 .18s ease, --tab-c3 .18s ease;
}

.nav-links a:hover,
.nav-links button:hover {
  --tab-c1: var(--text);
  --tab-c2: var(--text);
  --tab-c3: var(--text);
}

.nav-links .is-active,
.nav-links .is-active:hover {
  --tab-c1: #FF7A1A;
  --tab-c2: #FF3D78;
  --tab-c3: #C13FA9;
}

.nav-pill {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), width .28s cubic-bezier(.4, 0, .2, 1);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ============ LANGUAGE SELECTOR (i18n.js) ============ */

.lang-select {
  position: relative;

  display: inline-flex;
  align-items: center;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 3px 9px 3px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
}

.lang-trigger:hover {
  border-color: var(--text-faint);
}

.lang-flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.lang-chevron {
  color: var(--text-soft);
  transition: transform var(--t);
}

.lang-select.is-open .lang-chevron {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 4px;
  z-index: 500;
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  border: none;
  border-radius: 10px;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  transition: background var(--t), color var(--t);
}

.lang-option:hover {
  background: var(--bg-tint);
  color: var(--text);
}

.lang-option.is-selected {
  background: var(--bg-tint);
  color: var(--text);
}

.lang-option .lang-flag {
  width: 24px;
  height: 24px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn svg {
  flex: none;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  color: white;
  background: var(--grad-brand);
  background-size: 180% 100%;
  background-position: 0% 50%;
  box-shadow: var(--shadow-brand);
  border: 0;
  outline: none;
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
}

.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
}

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

.btn-cta {
  color: white;
  background: var(--grad-warm);
  background-size: 180% 100%;
  background-position: 0% 50%;
  box-shadow: 0 8px 20px -10px rgba(255, 61, 120, .35), 0 3px 8px -4px rgba(255, 122, 26, .22);
  font-weight: 700;
  letter-spacing: -.005em;
  border: 0;
  outline: none;
  background-clip: padding-box;
  -webkit-background-clip: padding-box;
}

.btn-cta:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
}

.step-nav .btn-primary {
  background: var(--grad-warm);
  background-size: 180% 100%;
  background-position: 0% 50%;
}

.step-nav .btn-primary:hover {
  background-position: 100% 50%;
}

.btn-ghost {
  color: var(--text-mid);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-tint);
  border-color: transparent;
}

.btn-light {
  color: var(--text);
  background: white;
  box-shadow: var(--shadow);
}

.btn-danger {
  color: #fff;
  background: #d33b52;
  border: 0;
}
.btn-danger:hover { background: #bf2f45; }
.btn-danger:disabled { opacity: .45; cursor: not-allowed; }

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ============ HERO ============ */
.hero {
  position: relative;

  display: flex;
  align-items: center;
  padding: 28px 32px 40px;
  min-height: calc(100vh - 68px);
  overflow: hidden;
}

.hero:has(.hero-grid.is-welcome) {
  min-height: 0;

  overflow-x: clip;
  overflow-y: visible;
}

.hero-bg {
  position: absolute;
  inset: -10% -5%;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(255, 122, 26, .14), transparent 60%),
    radial-gradient(50% 55% at 80% 25%, rgba(47, 184, 255, .18), transparent 65%),
    radial-gradient(70% 60% at 55% 95%, rgba(193, 63, 169, .12), transparent 60%),
    var(--grad-soft);
  filter: saturate(110%);
  z-index: -1;
}

.hero-grid {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: stretch;

  min-height: min(calc(100vh - 200px), 85vh);
}

.hero-grid.is-welcome {
  grid-template-columns: 0fr 1fr;
  gap: 0;

  min-height: 0;
}

.hero-grid.is-welcome .panel {
  min-height: 0;
}

.hero-grid.is-welcome .viewport,
.hero-grid.is-welcome .stage {
  min-height: 0;
}

@media (min-width: 1101px) {
  .hero-grid.is-welcome .panel {
    padding: 52px 56px;
  }
}

.hero-grid.is-welcome .viewport {
  opacity: 0;
  pointer-events: none;
}

.viewport {
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.viewport-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(to bottom, rgba(255, 255, 255, .7), rgba(250, 251, 253, .4));
}

.model-select {
  position: relative;

  display: inline-flex;
  align-items: center;
}

.model-select-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
  font-family: inherit;
}
.model-select-trigger:hover {
  border-color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}
.model-select-trigger:focus-visible {
  outline: 2px solid var(--c-pink);
  outline-offset: 2px;
}

.model-select-thumb {
  width: 44px;
  height: 30px;
  border-radius: 8px;
  object-fit: contain;
  background: white;
  flex: none;
}

.model-select-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.01em;
}

.model-select-chevron {
  color: var(--text-soft);
  transition: transform var(--t);
}
.model-select-trigger[aria-expanded="true"] .model-select-chevron {
  transform: rotate(180deg);
}

.model-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  z-index: 30;
}
.model-select-menu[hidden] {
  display: none;
}

.model-options-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.model-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 5px 14px 5px 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--t);
}
.model-option:hover,
.model-option:focus-visible {
  background: var(--bg-tint);
  outline: none;
}
.model-option.is-selected {
  background: linear-gradient(95deg, rgba(255, 122, 26, .08), rgba(193, 63, 169, .06));
}

.model-option-thumb {
  width: 76px;
  height: 50px;
  border-radius: 10px;
  object-fit: contain;
  background: white;
  flex: none;
}

.model-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.model-option-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.005em;
}
.model-option-desc {
  font-size: 12px;
  color: var(--text-soft);
}

.model-menu-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 12px 4px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--text-faint);
  font-style: italic;
}
.model-menu-footer svg {
  flex: none;
  color: var(--text-faint);
}

.stage-toggles {
  position: absolute;
  inset: 12px 10px 10px 12px;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}

.viewport-tabs {
  display: flex;
  gap: 4px;
  background: rgba(238, 240, 247, .9);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px;
  border-radius: 999px;
  pointer-events: auto;

  box-shadow: var(--shadow-sm);
}

.vp-unit {
  margin-left: auto;
  background: rgba(238, 240, 247, .9);
  border: 1px solid var(--line-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px;
  pointer-events: auto;
  box-shadow: var(--shadow-sm);
}

.vp-unit .unit-btn {
  padding: 7px 12px;
  font-size: 12.5px;
}

.vp-tab {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  color: var(--text-soft);
  transition: color var(--t), background var(--t), box-shadow var(--t);
}

.vp-tab.is-active {
  background: white;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.vp-tab:hover {
  color: var(--text);
}

.viewport-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-faint);
  display: inline-block;
}

.dot-live {
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .5);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.stage {
  flex: 1;
  position: relative;
  padding: 8px;
  background:
    radial-gradient(60% 70% at 50% 65%, rgba(124, 58, 237, .07), transparent 65%),
    linear-gradient(180deg, #FBFAFE 0%, #F6F8FE 100%);
  overflow: hidden;
  min-height: 460px;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, .06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(60% 65% at 50% 60%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 65% at 50% 60%, black 30%, transparent 80%);
}

.stage-glow {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  width: 60%;
  height: 36%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 61, 120, .22), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.dog-frame {
  position: absolute;
  inset: 1px;
  z-index: 1;
  display: block;
}

.viewport.is-fullscreen {
  border-radius: 0 !important;
  border: 0 !important;
  background: white;
}

.viewport.is-fullscreen .stage {
  padding: 0 !important;
  min-height: 0 !important;
}

.viewport.is-fullscreen .dog-frame {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  max-width: none !important;
}

.viewport.is-fullscreen .spec-chip {
  display: none !important;
}

.dog-frame canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  outline: none;

  touch-action: pan-y;
  background: transparent;
}

.dim-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}
.dim-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.dim-line {
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 2px rgba(20, 20, 40, .55));
}

.dim-hit {
  stroke: transparent;
  fill: none;
  stroke-width: 18;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: stroke;
  cursor: grab;
  touch-action: none;
}
.dim-hit:active { cursor: grabbing; }

.dim-path {
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 1px 2px rgba(20, 20, 40, .55));
}
.dim-hit-path {
  stroke: transparent;
  fill: none;
  stroke-width: 16;
  vector-effect: non-scaling-stroke;
  pointer-events: stroke;
  cursor: grab;
  touch-action: none;
}
.dim-hit-path:active { cursor: grabbing; }
.dim-dot {
  fill: #fff;
  stroke: rgba(20, 20, 40, .35);
  stroke-width: 1;
  filter: drop-shadow(0 1px 2px rgba(20, 20, 40, .45));
}

.dim-grab {
  fill: transparent;
  pointer-events: all;
  cursor: grab;
  touch-action: none;
}

.dim-hit,
.dim-hit-path,
.dim-grab {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.dim-grab:active { cursor: grabbing; }
.dim-g { transition: opacity .12s ease; }
.dim-label {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(20, 20, 40, .16);
  white-space: nowrap;
  pointer-events: none;
  transition: opacity .12s ease;
  font-family: 'Inter', system-ui, sans-serif;
}
.dim-label-val {
  font-size: 12.5px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: .01em;
}

.dog-shadow {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: 60%;
  height: 22px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(15, 18, 38, .22), transparent 65%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

.vp-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  background: transparent;
  z-index: 4;
  transition: opacity var(--t-slow);
  pointer-events: none;
}

.vp-loader.is-hidden {
  opacity: 0;
}

#renderCanvas { transition: opacity .4s ease; }
#renderCanvas.is-booting { opacity: 0; }

.vp-loader-ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--c-magenta);
  border-right-color: var(--c-pink);
  animation: spin 1s linear infinite;
}

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

.spec-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 9px 14px;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 11px;
  min-width: 90px;
  z-index: 4;
  animation: chipIn .6s var(--t-slow) backwards;
  pointer-events: none;
}

.spec-chip::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.chip-tl {
  top: 18%;
  left: 6%;
}

.chip-tl::after {
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.chip-tr {
  top: 22%;
  right: 6%;
  animation-delay: .1s;
}

.chip-tr::after {
  left: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
}

.chip-bl {
  bottom: 22%;
  left: 8%;
  animation-delay: .2s;
}

.chip-bl::after {
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.chip-br {
  bottom: 26%;
  right: 6%;
  animation-delay: .3s;
}

.chip-br::after {
  left: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
}

@keyframes chipIn {
  from {
    opacity: 0;
    transform: scale(.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.chip-label {
  color: var(--text-soft);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 10px;
}

.chip-value {
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.vp-controls {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  background: white;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  z-index: 3;
}

.vp-ctl[hidden] { display: none; }
.vp-ctl {
  width: 34px;
  height: 34px;
  padding: 0;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid transparent;
  color: var(--text-soft);
  transition: background var(--t), color var(--t), border-color var(--t);
}

.vp-ctl svg { display: block; }

.vp-ctl:hover {
  background: var(--bg-tint);
  color: var(--text);
}

.vp-ctl.is-active {
  background: var(--bg-tint);
  color: var(--c-pink);
  border-color: var(--c-pink);
}

.vp-ctl.is-done,
.vp-ctl.is-done:hover { color: #1a9e55; }

.vp-divider {
  width: 1px;
  height: 18px;
  background: var(--line);
  margin: 0 4px;
}

.vp-confirm {
  position: absolute;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 5px 5px 5px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--text);
  z-index: 4;
}

.vp-confirm::after {
  content: '';
  position: absolute;
  top: calc(100% - 5px);
  left: calc(50% + var(--arrow-shift, 0px));
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: white;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.vp-confirm-text {
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-mid);
}

.vp-confirm--info {
  white-space: normal;
  width: max-content;
  max-width: min(280px, calc(100vw - 24px));
  border-radius: 14px;
  padding: 10px 14px;
  text-align: left;
}

.vp-confirm-btn {
  padding: 5px 14px;
  border-radius: 999px;
  border: none;
  background: var(--grad-warm-subtle);
  color: white;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.vp-confirm-btn:hover {
  filter: brightness(1.06);
}

.vp-zoom {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 2px;
  background: white;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.vp-zoom-icon {
  color: var(--text-soft);
  display: grid;
  place-items: center;
}

.vp-zoom-track {
  position: relative;
  width: 22px;
  height: 148px;
}

.vp-zoom-slider {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 148px;
  height: 22px;
  margin: 0;
  flex: none;
  transform: translate(-50%, -50%) rotate(-90deg);
  cursor: pointer;

  touch-action: none;
}

input[type=range].vp-zoom-slider::-webkit-slider-runnable-track {
  background: var(--line);
}
input[type=range].vp-zoom-slider::-moz-range-track {
  background: var(--line);
}

.vp-readout {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  background: white;
  border-radius: 999px;
  padding: 0 16px;
}

.viewport-topbar .model-select-trigger,
.vp-readout {
  height: 40px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.viewport-topbar .model-select-trigger {
  padding: 0 12px 0 3px;
}

.vp-weight {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}

.vp-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  display: inline-block;

  transition: transform .28s cubic-bezier(.34, 1.56, .64, 1);
  transform-origin: center;
}

.vp-price.is-lifted {
  transform: scale(1.075);
}

.vp-debug {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 400px;
  max-width: calc(100% - 36px);

  max-height: calc(100% - 92px);
  display: flex;
  flex-direction: column;
  background: rgba(15, 18, 38, .92);
  color: #fff;
  border-radius: 12px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}

.vp-debug[hidden] {
  display: none !important;
}

.vp-debug-body {
  overflow-y: auto;
  padding: 2px 12px 10px;
}

.dbg-sec {
  margin-top: 8px;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #ffb86b;
}

.dbg-part { margin-top: 6px; }

.dbg-line { color: rgba(255, 255, 255, .92); }

.dbg-rows {
  color: rgba(255, 255, 255, .55);
  font-size: 10px;
  word-break: break-word;
}

.viewport.is-fullscreen .vp-debug {
  display: none !important;
}

.panel {
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;

  overflow: visible;
  position: relative;
  min-height: 460px;

  max-height: min(calc(100vh - 136px), 85vh);
}

@media (min-width: 1101px) {
  .hero-grid:not(.is-welcome) .panel {
    height: min(calc(100vh - 136px), 85vh);

    padding: 20px 32px 14px;
  }
}

.panel-screen {
  display: none;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.panel-screen.is-active {
  display: flex;
}

.panel-screen[data-screen="welcome"] {
  flex-direction: row;
  gap: 48px;
}

.welcome-copy {
  flex: 1 1 48%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.welcome-art {
  flex: 1 1 52%;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  animation: welcomeArtIn .7s cubic-bezier(.22, .8, .3, 1) both;
}

.welcome-copy .panel-text {
  margin-bottom: 14px;
}

.welcome-copy .panel-text-cta {
  text-align: left;
  margin: 0 0 18px;
}

.welcome-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  animation: fadeUp .6s cubic-bezier(.22, .8, .3, 1) .2s both;
}

@media (min-width: 1101px) {
  .welcome-art-img {
    position: absolute;

    object-position: center bottom;

    max-width: none;

    pointer-events: none;
  }
}

.welcome-gallery {
  position: relative;
  width: 100%;
  border-radius: 16px;
  border: 3px solid white;
  box-shadow: 0 20px 44px -18px rgba(15, 18, 38, .45);
  overflow: hidden;
  background: var(--bg);
}

.wg-viewport {
  position: absolute;
  inset: 0;
}

.wg-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.wg-item.is-active {
  opacity: 1;
  pointer-events: auto;
}

.wg-item video,
.wg-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wg-nav {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(15, 18, 38, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 3;
}

.wg-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .18s ease;
}

.wg-btn:hover {
  background: rgba(255, 255, 255, .3);
}

.wg-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.wg-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.wg-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

/* ============ USE CASES (below the hero) ============ */

.usecases {
  background: white;
  border-top: 1px solid var(--line-soft);
  padding: 60px 0;
}

.usecase-grid {
  display: grid;

  grid-template-columns: 1.1fr 1fr;
  gap: 56px;

  align-items: start;
}

.usecase-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 14px;
}

.usecase-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 560px;
}

.usecase-media video {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 3px solid white;
  box-shadow: 0 20px 44px -18px rgba(15, 18, 38, .4);
  background: var(--bg);
}

/* ============ HOW TO ORDER (below the use cases) ============ */

.footer-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .38);
  text-align: center;
}

.footer-note a {
  color: rgba(255, 255, 255, .6);
  text-decoration: underline;
}

.footer-seo-btn {
  display: block;
  margin: 10px auto 0;
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
}

.footer-seo-btn:hover {
  color: rgba(255, 255, 255, .8);
  border-color: rgba(255, 255, 255, .4);
}

.seo-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(15, 18, 38, .5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  animation: fadeIn .18s ease;
}

.seo-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  max-height: min(88vh, 88dvh);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: popIn .2s cubic-bezier(.2, .8, .3, 1);
}

.seo-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 12px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.seo-head .auth-close { position: static; flex: none; }

.seo-body {
  overflow-y: auto;
  padding: 14px 20px 20px;
  font-size: 13px;
}

.seo-body h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 16px 0 6px;
}

.seo-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--line-soft);
}

.seo-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  align-self: center;
}

.seo-row.is-ok .seo-dot { background: #22C55E; }
.seo-row.is-warn .seo-dot { background: #FACC15; }
.seo-row.is-bad .seo-dot { background: #EF4444; }

.seo-label {
  flex: none;
  width: 150px;
  font-weight: 600;
  color: var(--text);
  font-size: 12.5px;
}

.seo-value {
  min-width: 0;
  color: var(--text-mid);
  overflow-wrap: anywhere;
}

.seo-value em { color: #EF4444; font-style: normal; font-weight: 600; }
.seo-value small { display: block; color: var(--text-faint); }

.seo-ld {
  margin: 8px 0;
  padding: 10px 12px;
  background: var(--bg-tint);
  border-radius: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
}

.seo-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  max-width: 380px;
  background: var(--bg);
}

.seo-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 1.91 / 1;
  object-fit: cover;
  background: var(--bg-tint);
}

.seo-card-noimg {
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 12px;
}

.seo-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
}

.seo-card-domain {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-faint);
}

.seo-card-body strong {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.35;
}

.seo-card-desc {
  font-size: 12px;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.seo-thumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  padding: 6px 0;
}

.seo-thumb {
  margin: 0;
  text-align: center;
}

.seo-thumb img {
  display: block;
  width: 120px;
  height: 63px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    repeating-conic-gradient(var(--bg-tint) 0% 25%, white 0% 50%) 0 0 / 16px 16px;
}

.seo-thumb-sm img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.seo-thumb-bad img {
  border-color: #EF4444;
}

.seo-thumb figcaption {
  font-size: 10.5px;
  color: var(--text-faint);
  margin-top: 3px;
}

.seo-empty {
  font-size: 12px;
  color: var(--text-faint);
  margin: 4px 0;
}

.site-note {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding: 18px 0;
}

.site-note-text {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-faint);
  text-align: center;
  margin: 0;
}

.site-note-text a {
  color: var(--text-soft);
  text-decoration: underline;
}

.usecases,
.howto,
.about,
.footer {
  scroll-margin-top: 42px;
}

.howto {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding: 60px 0;
}

.howto::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 28px;
  background: linear-gradient(to bottom, rgba(15, 18, 38, .05), transparent);
  pointer-events: none;
}

.howto::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 28px;
  background: linear-gradient(to top, rgba(15, 18, 38, .05), transparent);
  pointer-events: none;
}

.howto > .container {
  position: relative;
}

.howto-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 28px;
}

.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.howto-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: 0 0 22px -6px rgba(15, 18, 38, .14), 0 14px 32px -18px rgba(15, 18, 38, .2), 0 3px 8px -4px rgba(15, 18, 38, .06);

  overflow: visible;
}

.howto-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0;
}

.howto-media video {
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  object-fit: cover;
}

.howto-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.howto-card-custom .howto-media video {
  object-position: 12% 50%;
}

.howto-media-ph {
  display: grid;
  place-items: center;
  background: var(--grad-soft);
}

.howto-ph-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  color: var(--c-magenta);
  box-shadow: var(--shadow);
}

.howto-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 20px 24px 24px;
}

.howto-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.howto-num {
  position: absolute;
  left: -12px;
  top: -12px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--text-mid);
  line-height: 1;
}

.howto-h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.howto-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0;
}

.howto-card-measure .howto-text,
.howto-card-custom .howto-text {
  margin-bottom: 18px;
}

.howto-cta {
  margin-top: auto;
}

.howto-cta-row {
  display: flex;
  align-items: stretch;
  gap: 10px;

  align-self: stretch;
}

.howto-cta-row .btn {
  flex: 1;
  min-height: 42px;
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 900px) {
  .howto {
    padding: 44px 0;
  }

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

/* ============ ABOUT (below how-to-order) ============ */

.about {
  background: white;
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 72px;
}

.about-tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  align-items: flex-end;
  overflow-x: auto;
  margin: 14px 0 0;
  padding: 6px 10px 0;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(to top,
    rgba(15, 18, 38, .06) 0%, rgba(15, 18, 38, .06) 45%, rgba(15, 18, 38, 0) 100%);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.about-tabs::-webkit-scrollbar {
  display: none;
}

.atab {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: none;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
}

.atab::before,
.atab::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 6px;
  height: 6px;
  pointer-events: none;
}

.atab.is-active {
  background: white;
  color: var(--text);
  z-index: 1;

  box-shadow: 0 -1px 2px rgba(15, 18, 38, .10);
}

.atab.is-active::before {
  left: -6px;
  background: radial-gradient(circle 6px at top left, transparent 5.5px, white 6px);
}

.atab.is-active::after {
  right: -6px;
  background: radial-gradient(circle 6px at top right, transparent 5.5px, white 6px);
}

.about-pane {
  display: none;
  padding-top: 30px;
}

.about-pane.is-active {
  display: block;
}

.spec-model-select {
  margin-bottom: 24px;
}

.spec-model-select .model-select-trigger {
  border: 1px solid var(--line-soft);
  background: white;
  box-shadow: var(--shadow-sm);
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.spec-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.spec-grid .spec-media {
  border-left: 1px solid var(--line-soft);
  padding-left: 44px;
}

.spec-table {
  margin: 0;
}

.spec-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-table-mm {
  padding: 12px 18px 6px;
  margin: 0 -18px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
}

.spec-table-mm .spec-row:last-child {
  border-bottom: 0;
}

.spec-head {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 16px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.spec-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.spec-row-mm {
  grid-template-columns: 220px 1fr 1fr;
}

.spec-row dt {
  font-weight: 600;
  color: var(--text);
}

.spec-row dd {
  margin: 0;
  color: var(--text-mid);
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 44px;
  align-items: start;
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
  margin: 0;
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 1px solid var(--line-soft);
  padding-left: 44px;
  margin-top: -76px;
}

.about-fig {
  margin: 0;
}

.about-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: white;
  box-shadow: 0 10px 24px -16px rgba(15, 18, 38, .2);
}

.about-patent-link {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 0 9px 1px;
  border: 1px solid #C7CCD8;
  border-radius: 999px;
  background: white;
  box-shadow: 0 1px 3px rgba(15, 18, 38, .16), 0 1px 2px rgba(15, 18, 38, .08);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}

.about-patent-link::after {
  content: '\2197';
  font-size: 11px;
}

.about-patent-link:hover {
  border-color: var(--c-magenta);
  color: transparent;
  background-image: var(--grad-warm), linear-gradient(white, white);
  -webkit-background-clip: text, padding-box;
  background-clip: text, padding-box;
}

.about-patent-link:hover::after {
  color: var(--c-magenta);
}

.about-fig-pad img {
  padding: 12px;
}

.about-fig figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--text-mid);
  opacity: .8;
}

@media (max-width: 900px) {
  .about {
    padding: 44px 0 56px;
  }

  .about-pane {
    padding-top: 24px;
  }

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

  .spec-media {
    max-width: 480px;
    order: -1;
  }

  .spec-grid .spec-media {
    border-left: 0;
    padding-left: 0;
  }

  .spec-head {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 12px;
  }

  .spec-row {
    grid-template-columns: 1.4fr 1fr;
    gap: 12px;
  }

  .spec-row-mm {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  /* interleave: p1, figs 1+2, p2, fig 3, p3 */
  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .about-body,
  .about-side {
    display: contents;
  }

  .about-fig {
    max-width: 480px;
  }

  .about-body .about-text:nth-of-type(1) { order: 1; }
  .about-side .about-fig:nth-of-type(1) { order: 2; }
  .about-side .about-fig:nth-of-type(2) { order: 3; }
  .about-body .about-text:nth-of-type(2) { order: 4; }
  .about-side .about-fig:nth-of-type(3) { order: 5; }
  .about-body .about-text:nth-of-type(3) { order: 6; }
}

.measure-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 18, 38, .5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn .18s ease;
}

.measure-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  max-height: min(92vh, 92dvh);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: popIn .2s cubic-bezier(.2, .8, .3, 1);
}

.mm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  background: white;
  box-shadow: var(--shadow-sm);
  border: 0;
  cursor: pointer;
  transition: background var(--t), color var(--t);
}

.mm-close:hover {
  background: var(--bg-tint);
  color: var(--text);
}

.mm-media {
  position: relative;
  flex: none;
  aspect-ratio: 16 / 9;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.mm-media video {
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  object-fit: cover;
}

.mm-body {
  padding: 18px 22px 20px;
  overflow-y: auto;
}

.mm-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.mm-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-mid);
  margin: 0 0 16px;
  min-height: 5em;
}

.mm-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mm-arrow {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: white;
  color: var(--text-mid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}

.mm-arrow:hover {
  background: var(--bg-tint);
  color: var(--text);
  border-color: transparent;
}

.mm-dots {
  display: flex;
  gap: 8px;
}

.mm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--line);
  cursor: pointer;
  transition: background var(--t), transform var(--t);
}

.mm-dot.is-active {
  background: var(--c-pink);
  transform: scale(1.25);
}

@media (max-width: 900px) {
  .usecases {
    padding: 48px 0;
  }

  .usecase-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .usecase-copy {
    display: contents;
  }

  .usecase-copy .eyebrow { order: 1; }
  .usecase-title { order: 2; }
  .usecase-media { order: 3; margin-bottom: 16px; }
  .usecase-text { order: 4; }
}

.welcome-copy .panel-title {
  font-size: clamp(34px, 3.4vw, 48px);
  min-height: 2.25em;
}

.panel-text-cta {
  display: block;
  font-size: 15px;
  color: var(--text-mid);
  margin: 0 0 14px;
}

.grad-word {
  font-weight: 700;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.type-word {
  background-image: var(--word-grad, var(--grad-warm));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.type-word::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: .85em;
  margin-left: 5px;
  vertical-align: -0.06em;
  background-image: var(--word-grad, var(--grad-warm));
  animation: caretBlink 1.1s steps(1) infinite;
}

@keyframes caretBlink {
  50% {
    opacity: 0;
  }
}

@keyframes welcomeArtIn {
  from {
    opacity: 0;
    transform: translateX(90px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: transparent;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 14px;
}

.eyebrow-light {
  color: rgba(255, 255, 255, .85);
  background: none;
  -webkit-text-fill-color: initial;
}

.panel-title {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.panel-text {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.panel-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.panel-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  color: var(--text-soft);
  font-size: 12px;
}

.panel-foot svg {
  color: var(--c-purple);
  flex: none;
}

.stepper {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 10px 2px 4px;
  border-radius: 999px;
  color: var(--text-soft);
  transition: color var(--t), background var(--t);
  font-size: 13px;
}

.step:hover {
  color: var(--text);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-tint);
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
  transition: background var(--t), color var(--t);
}

.step-label {
  font-weight: 600;
}

.step.is-active .step-num {
  background: var(--grad-warm-subtle);
  color: white;
}

.step.is-active {
  color: var(--text);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 4px;
  border-radius: 2px;
}

.stage-toggles .vp-unit {
  display: none;
}

.step-progress {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  position: relative;
  z-index: 1;
  background: white;
}

.step-progress::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;

  bottom: calc(100% + 10px);
  height: 52px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white 85%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}

.step-body.has-more-scroll .step-progress::before {
  opacity: 1;
}

.step-scroll::before {
  content: '';
  position: sticky;
  top: -4px;
  display: block;
  height: 30px;

  margin: -4px -18px -26px;
  background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  z-index: 2;
}

.step-body.has-scroll-up .step-scroll::before {
  opacity: 1;
}

.step-progress-track {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--bg-tint);
  overflow: hidden;
}

.step-progress-fill {
  height: 100%;
  width: 33.34%;
  border-radius: 2px;

  background: var(--c-pink);
  transition: width .35s ease;
}

.step-progress-label {
  flex: none;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

.btn-howto {
  flex: none;
  padding: 7px 14px;
  font-size: 12.5px;
  margin-right: auto;

  align-self: center;
}

.step-body {
  display: none;
  flex: 1;
  flex-direction: column;

  min-height: 0;

  overflow: visible;
  animation: fadeUp .35s;
}

.step-body.is-active {
  display: flex;
}

.step-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;

  overflow-x: hidden;
  padding: 4px 18px 10px;
  margin: -4px -18px 0;
}

.step-body[data-body="review"] .step-scroll {
  padding-right: 10px;
}

.step-title {
  font-size: 22px;
  margin-bottom: 6px;
  letter-spacing: -.02em;
}

.step-desc {
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 18px;
}

.step-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 18px;
}

.step-head-row .step-title,
.step-head-row .step-desc {
  margin-bottom: 0;
}

.step-head-row .step-title {
  margin-bottom: 4px;
}

.step-nav {
  position: relative;
  z-index: 1;
  padding-top: 12px;
  margin-top: 2px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: white;
}

.step-nav-review {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.step-nav-review .btn {
  flex: 0 0 auto;
  padding: 10px 16px;
}
.step-nav-review #addToCartBtn,
.step-nav-review #checkoutBtn {
  flex: 1 0 auto;
  justify-content: center;
}

.review-actions {
  flex: none;
  padding-top: 14px;
}

.step-nav-review.is-stacked .btn {
  flex: 1 1 0;
  justify-content: center;
}

.step-nav-review.is-stacked #addToCartBtn {
  flex: 1 1 0;
}

.step-nav-review.is-stacked #checkoutBtn {
  flex: 1 1 100%;
}

.review-actions .btn-block {
  margin: 0;
}

.review-actions .step-nav {
  border-top: none;
  padding-top: 0;
}

.unit-toggle {
  display: flex;
  background: var(--bg-tint);
  padding: 3px;
  border-radius: 999px;
  gap: 2px;
}

.unit-btn {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 999px;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}

.unit-btn.is-active {
  background: white;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.measure-grid,
.wheel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
  margin-bottom: 16px;
}

.subsection-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 4px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  letter-spacing: -0.005em;
}

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

.field-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.field-num {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: inline-grid;
  place-items: center;
  background: var(--grad-warm);
  color: white;
  font-size: 11px;
  font-weight: 700;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.field-hint {
  color: var(--text-faint);
  font-weight: 500;
}

.field-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--line);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  position: relative;
  user-select: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: background var(--t), color var(--t);
}
.field-help:hover,
.field-help:focus-visible {
  background: var(--c-pink);
  color: white;
  outline: none;
}

.field-help-tip {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: min(270px, calc(100vw - 24px));
  background: var(--text);
  color: white;
  padding: 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
  pointer-events: none;
  box-shadow: 0 12px 32px -10px rgba(15, 18, 38, .45);
  z-index: 300;
}
.field-help-tip.is-open {
  display: block;
}
.field-help-tip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: var(--arrow-x, 50%);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--text);
}

.field-help-tip.tip-below::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: var(--text);
}

.field-help-tip .tip-close {
  display: none;
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .16);
  pointer-events: auto;
  cursor: pointer;
}

@media (hover: none) {
  .field-help-tip .tip-close {
    display: grid;
  }
}

.field-help-title {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
  padding-right: 22px;
}
.field-help-text {
  display: block;
  color: rgba(255, 255, 255, .85);
}
.field-help-text strong {
  color: #ffb199;
  font-weight: 700;
}
.field-help-video {
  display: block;
  width: 100%;
  aspect-ratio: 854 / 480;
  margin-top: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  object-fit: cover;
}

.field-input {
  display: flex;
  align-items: center;
  gap: 10px;
}

input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 22px;
}

input[type=range]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--c-pink) var(--p, 50%), var(--line) var(--p, 50%));
}

input[type=range]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--c-pink) var(--p, 50%), var(--line) var(--p, 50%));
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--c-pink);
  margin-top: -6px;
  box-shadow: 0 2px 8px rgba(255, 61, 120, .4);
  cursor: grab;
  transition: transform var(--t-fast);
}

input[type=range]:active::-webkit-slider-thumb {
  transform: scale(1.15);
  cursor: grabbing;
}

input[type=range]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--c-pink);
  box-shadow: 0 2px 8px rgba(255, 61, 120, .4);
  cursor: grab;
}

.field-output {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-tint);
  padding: 4px 10px;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
  min-width: 64px;
  text-align: right;
  transition: box-shadow var(--t), background var(--t);
}

.field-output:has(.field-value:focus) {
  background: white;
  box-shadow: 0 0 0 2px var(--c-pink) inset;
}

.field-output .unit {
  color: var(--text-soft);
  font-weight: 600;
  margin-left: 2px;
}

.field-value {
  width: 36px;
  min-width: 0;
  max-width: 4ch;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  font-variant-numeric: inherit;
  text-align: right;
  outline: none;
}
.field-value::-webkit-outer-spin-button,
.field-value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field-value.is-invalid {
  color: #d93838;
}

input[type=range]:disabled {
  opacity: .45;
  cursor: not-allowed;
}
input[type=range]:disabled::-webkit-slider-thumb {
  cursor: not-allowed;
  border-color: var(--text-faint);
  box-shadow: none;
}
input[type=range]:disabled::-moz-range-thumb {
  cursor: not-allowed;
  border-color: var(--text-faint);
  box-shadow: none;
}

.field-output--radius { padding-right: 4px; }

.radius-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 18, 38, 0.127);
  cursor: pointer;
  color: var(--text-soft);
  border-radius: 6px;
  align-self: center;
  transition: color var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
}
.radius-lock:hover {
  color: var(--text);
  border-color: var(--text-soft);
  box-shadow: 0 2px 5px rgba(15, 18, 38, .12);
}
.radius-lock:focus-visible { outline: 2px solid var(--c-pink); outline-offset: 1px; }
.radius-lock .lock-open { display: none; }
.radius-lock.is-unlocked .lock-closed { display: none; }
.radius-lock.is-unlocked .lock-open { display: inline; }
.radius-lock.is-unlocked {
  color: var(--c-pink);
  border-color: rgba(255, 61, 120, .35);
  box-shadow: 0 1px 3px rgba(255, 61, 120, .15);
}

.field-value:disabled {
  cursor: not-allowed;
  color: var(--text-faint);
  -webkit-text-fill-color: var(--text-faint);
  opacity: 1;
}
.field-output:has(.field-value:disabled) .unit {
  color: var(--text-faint);
}

.measure-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r);
  background: linear-gradient(95deg, rgba(255, 122, 26, .08), rgba(193, 63, 169, .06));
  border: 1px solid rgba(193, 63, 169, .15);
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.measure-tip svg {
  color: var(--c-magenta);
  flex: none;
}

.measure-tip b {
  color: var(--text);
}

.link-inline {
  color: var(--c-magenta);
  font-weight: 600;
  transition: color var(--t);
}

.link-inline:hover {
  color: var(--c-pink);
}

.style-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.group-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.group-hint {
  font-size: 12px;
  color: var(--text-soft);
}

.material-list {
  display: flex;
  flex-direction: column;
}

.material-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  row-gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.material-row:first-child {
  border-top: none;
  padding-top: 2px;
}

.material-chip {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 3px;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), border-color var(--t), transform var(--t-fast);
}
.material-chip:hover {
  border-color: var(--text-soft);
  box-shadow: var(--shadow);
}
.material-chip[aria-expanded="true"] {
  border-color: var(--c-pink);
  box-shadow: 0 0 0 2px rgba(255, 61, 120, .18), var(--shadow-sm);
}
.material-chip-color {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background-color: var(--c, var(--bg-tint));
  background-repeat: no-repeat;
  overflow: hidden;
}

.material-chip-color::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-repeat: no-repeat;
  pointer-events: none;
}

.material-chip-color.has-dual-color {
  background-image: linear-gradient(135deg, var(--c) 0%, var(--c2, var(--c)) 100%);
}
.material-chip-color.has-standard::before {
  background-image: radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .5) 0%, transparent 55%);
}
.material-chip-color.has-metallic::before {

  background-image:
    linear-gradient(135deg,
      transparent              0%,
      rgba(255, 255, 255, .2)  35%,
      transparent              45%,
      rgba(255, 255, 255, .4)  55%,
      rgba(255, 255, 255, .3)  65%,
      rgba(255, 255, 255, .2)  75%,
      rgba(255, 255, 255, .1)  85%,
      transparent              100%),
    radial-gradient(circle at 50% 50%,
      transparent       55%,
      rgba(0, 0, 0, .2) 100%);
}

.material-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.material-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.005em;
}

.material-tag {
  display: inline-block;
  padding: 1px 6px;
  margin-left: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  vertical-align: middle;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
}
.material-tag-metallic {
  background: linear-gradient(135deg, #C8CFDA, #93989e);
  color: white;
}
.material-tag-matte {
  background: var(--bg-tint);
  color: var(--text-mid);
}
.material-tag-dual-color {
  background: var(--grad-warm);
  color: white;
}
.material-desc {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.4;
}

.material-swatches {
  position: fixed;
  max-width: 320px;
  max-height: 320px;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.material-swatches[hidden] {
  display: none;
}

.material-swatch-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background var(--t);
}
.material-swatch-item:hover,
.material-swatch-item:focus-visible {
  background: var(--bg-tint);
  outline: none;
}
.material-swatch-item.is-selected {
  background: linear-gradient(95deg, rgba(255, 122, 26, .08), rgba(193, 63, 169, .06));
}

.material-swatch-color {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex: none;
  background-color: var(--c, var(--bg-tint));
  background-repeat: no-repeat;
  box-shadow: 0 1px 3px rgba(15, 18, 38, .14), inset 0 0 0 1px rgba(15, 18, 38, .10);
  overflow: hidden;
}

.material-swatch-color::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-repeat: no-repeat;
  pointer-events: none;
}
.material-swatch-color.has-dual-color {
  background-image: linear-gradient(135deg, var(--c) 0%, var(--c2, var(--c)) 100%);
}
.material-swatch-color.has-standard::before {
  background-image: radial-gradient(circle at 30% 26%, rgba(255, 255, 255, .35) 0%, transparent 55%);
}
.material-swatch-color.has-metallic::before {
  background-image:
    linear-gradient(135deg,
      transparent              0%,
      rgba(255, 255, 255, .2)  35%,
      transparent              45%,
      rgba(255, 255, 255, .4)  55%,
      rgba(255, 255, 255, .3)  65%,
      rgba(255, 255, 255, .2)  75%,
      rgba(255, 255, 255, .1)  85%,
      transparent              100%),
    radial-gradient(circle at 50% 50%,
      transparent       55%,
      rgba(0, 0, 0, .2) 100%);
}

.material-swatch-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.005em;
}

.material-row {
  position: relative;
}

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

.swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  position: relative;
  background: transparent;
  transition: transform var(--t-fast);
}

.swatch span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c);
  border: 2px solid white;
  box-shadow: var(--shadow);
  transition: box-shadow var(--t);
}

.swatch:hover {
  transform: scale(1.08);
}

.swatch.is-selected span {
  box-shadow: 0 0 0 2px var(--c), 0 6px 14px -4px rgba(0, 0, 0, .2);
}

.seg {
  display: flex;
  background: var(--bg-tint);
  padding: 4px;
  border-radius: 999px;
  gap: 2px;
}

.seg-btn {
  flex: 1;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 999px;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}

.seg-btn.is-active {
  background: white;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.seg-btn:hover {
  color: var(--text);
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.switch {
  position: relative;
  display: inline-block;
  flex: none;
}

.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch-track {
  display: block;
  width: 46px;
  height: 26px;
  background: var(--line);
  border-radius: 999px;
  position: relative;
  transition: background var(--t);
  cursor: pointer;
}

.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  transition: transform var(--t);
}

.switch input:checked+.switch-track {

  background: var(--grad-warm);
}

.switch input:checked+.switch-track .switch-thumb {
  transform: translateX(20px);
}

.switch-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.switch-desc {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 1px;
}

.acc-price {
  margin-left: auto;
  align-self: center;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-mid);
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 3px 10px;
}

.review-card {
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 8px;
  margin-bottom: 16px;
  background: var(--bg);
}

.review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.review-row:nth-child(odd):not(.review-row-total) {
  background: var(--bg-tint);
}

.review-row-total {
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 13px 12px;
  font-size: 14px;
}
.review-row-total span {
  color: var(--text);
  font-weight: 700;
}
.review-row-total b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
}

.review-row span {
  color: var(--text-soft);
}

.review-row b {
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.buy-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: var(--r);
  background: linear-gradient(95deg, rgba(255, 122, 26, .06), rgba(47, 184, 255, .06));
  border: 1px solid rgba(193, 63, 169, .12);
  margin-bottom: 14px;
}

.buy-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.buy-sub {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 2px;
}

.buy-price {
  text-align: right;
  flex: none;
}

.buy-amount {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px;
  font-weight: 800;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.buy-note {
  font-size: 11px;
  color: var(--text-soft);
}

/* ============ SECTIONS ============ */
.section {
  padding: 110px 0;
  position: relative;
}

.section-how {
  background: white;
}

.section-package {
  background: var(--bg);
}

.section-need {
  background: white;
}

.section-gallery {
  background: var(--bg);
}

.section-quotes {
  padding: 80px 0;
  background:
    radial-gradient(50% 60% at 20% 50%, rgba(255, 61, 120, .06), transparent 60%),
    radial-gradient(50% 60% at 80% 50%, rgba(47, 184, 255, .06), transparent 60%),
    white;
}

.section-faq {
  background: var(--bg);
}

.section-about {
  background: white;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.section-lede {
  font-size: 17px;
  color: var(--text-mid);
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.step-card-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: .04em;
}

.step-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: white;
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
  margin: 16px 0 20px;
  color: var(--c-magenta);
  box-shadow: var(--shadow-sm);
}

.step-card:nth-child(2) .step-card-icon {
  color: var(--c-pink);
}

.step-card:nth-child(3) .step-card-icon {
  color: var(--c-orange);
}

.step-card:nth-child(4) .step-card-icon {
  color: var(--c-purple);
}

.step-card:nth-child(5) .step-card-icon {
  color: var(--c-indigo);
}

.step-card:nth-child(6) .step-card-icon {
  color: var(--c-blue);
}

.step-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14.5px;
}

.flow-strip {
  margin-top: 26px;
  padding: 24px 28px 26px;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
}

.flow-strip-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

.flow-track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.flow-stop {
  position: relative;
  padding-top: 18px;
}

.flow-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--grad-brand);
}

.flow-stop::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 16px;
  right: -12px;
  height: 2px;
  background: var(--line);
}

.flow-stop:last-child::before {
  display: none;
}

.flow-stop b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.flow-stop > span:last-child {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .flow-track {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flow-stop {
    padding-top: 0;
    padding-left: 24px;
  }

  .flow-stop .flow-dot {
    top: 4px;
  }

  .flow-stop::before {
    top: 18px;
    bottom: -14px;
    left: 4px;
    right: auto;
    width: 2px;
    height: auto;
  }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col-flip {
  grid-template-columns: 1fr 1fr;
}

.two-col .section-title,
.two-col .eyebrow {
  text-align: left;
}

.two-col .section-head {
  text-align: left;
  max-width: none;
  margin: 0 0 28px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-mid);
}

.check-list b {
  color: var(--text);
  font-weight: 700;
}

.check-list svg {
  color: #22C55E;
  flex: none;
  margin-top: 4px;
}

.files-card {
  background: white;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.files-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

.files-size {
  color: var(--text-soft);
  font-weight: 500;
}

.files-list {
  list-style: none;
  padding: 6px 8px;
  margin: 0;
  max-height: 460px;
  overflow-y: auto;
}

.files-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  font-size: 13.5px;
  color: var(--text);
  border-radius: 8px;
  transition: background var(--t);
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
}

.files-list li:hover {
  background: var(--bg);
}

.file-ico {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(193, 63, 169, .12);
  color: var(--c-magenta);
  font-family: 'Inter', sans-serif;
  letter-spacing: .05em;
}

.file-ico.pdf {
  background: rgba(255, 122, 26, .14);
  color: var(--c-orange);
}

.file-meta {
  color: var(--text-soft);
  font-size: 12px;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.need-card {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 26px;
  transition: transform var(--t), box-shadow var(--t);
}

.need-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.need-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  margin-bottom: 18px;
}

.need-icon-1 {
  background: var(--grad-warm);
}

.need-icon-2 {
  background: linear-gradient(95deg, #FF3D78, #7C3AED);
}

.need-icon-3 {
  background: linear-gradient(95deg, #7C3AED, #5562F0);
}

.need-icon-4 {
  background: var(--grad-cool);
}

.need-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.need-card p {
  font-size: 14px;
}

.need-card b {
  color: var(--text);
}

.need-tag {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--text-soft);
}

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

.g-card {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--line-soft);
  transition: transform var(--t), box-shadow var(--t);
}

.g-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.g-img {
  aspect-ratio: 4/3;
  background: var(--bg-tint);
  position: relative;
  overflow: hidden;
}

.g-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.g-placeholder {
  display: grid;
  place-items: center;
  color: var(--text-faint);
  font-size: 13px;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(124, 58, 237, .04) 12px, rgba(124, 58, 237, .04) 24px),
    var(--bg-tint);
}

.g-card figcaption {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.g-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.g-loc {
  font-size: 12.5px;
  color: var(--text-soft);
}

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

.quote {
  margin: 0;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow);
}

.quote-mark {
  color: rgba(193, 63, 169, .2);
  margin-bottom: 8px;
}

.quote p {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 16px;
  font-weight: 500;
}

.quote cite {
  font-style: normal;
  font-size: 13.5px;
  color: var(--text-soft);
  font-weight: 600;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 0;
  transition: border-color var(--t), box-shadow var(--t);
}

.faq-item[open] {
  border-color: rgba(193, 63, 169, .25);
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--c-magenta);
  transition: transform var(--t);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--text-mid);
}

.about-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--grad-soft);
  aspect-ratio: 4/3;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  padding: 28px;
}

.about-card img {
  max-width: 80%;
  height: auto;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, .15));
}

.about-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: white;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-badge-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.about-badge-sub {
  display: block;
  font-size: 11.5px;
  color: var(--text-soft);
  margin-top: 1px;
}

.about-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 14px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}

.stat-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-block b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-block span {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
}

.footer {
  background:
    radial-gradient(55% 90% at 12% 18%, rgba(255, 122, 26, .14), transparent 70%),
    radial-gradient(50% 85% at 88% 85%, rgba(47, 184, 255, .13), transparent 70%),
    radial-gradient(70% 120% at 50% 55%, rgba(124, 58, 237, .16), transparent 75%),
    #0E1226;
  color: rgba(255, 255, 255, .7);
  padding: 36px 0 16px;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.footer-logo {
  display: block;
  height: 30px;
  width: auto;
  margin-bottom: 40px;
  filter: brightness(0) invert(1);
}

.cta-text .eyebrow {
  margin-bottom: 8px;
}

.cta-text h2 {
  color: white;
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 6px;
  line-height: 1.15;
}

.cta-text p {
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  max-width: 560px;
}

.footer-contact-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: none;
}

.footer-contact-btns .btn {
  justify-content: center;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border: 0;
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.btn-whatsapp span {
  font-size: 16px;
  letter-spacing: .035em;
}

.btn-whatsapp:hover {
  background: #1EBE5B;
  color: white;
  transform: translateY(-1px);
}

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 32px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px 28px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .45);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .hero-grid.is-welcome .viewport {
    display: none;
  }

  .panel-screen[data-screen="welcome"] {
    flex-direction: column;

    gap: 0;
  }

  .welcome-copy {
    display: contents;
  }

  .welcome-copy .panel-text-cta {
    text-align: left;
    order: 2;
    margin: 14px 0 0;
  }

  .welcome-art {
    display: block;
    order: 1;
    margin-top: 0;
    flex: none;
  }

  .welcome-art-img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
  }

  .panel-screen[data-screen="welcome"] .panel-actions {
    order: 3;
    margin-top: 18px;
  }

  .panel-screen[data-screen="welcome"] .panel-actions .btn {
    flex: 1 1 0;
    justify-content: center;
  }

  .viewport,
  .panel {
    min-height: auto;
  }

  .panel {
    max-height: none;
  }

  .step-body,
  .step-scroll {
    overflow: visible;
  }

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

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

  .gallery-grid,
  .quotes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col-flip {
    grid-template-areas: "a" "b";
  }

  .two-col-flip .two-col-text {
    grid-area: b;
  }

  .two-col-flip .two-col-art {
    grid-area: a;
  }

}

@media (max-width: 640px) {

  .container,
  .nav-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 14px;
  }
  .hero-grid {
    gap: 14px;
  }

  .panel {
    padding: 18px;
    border-radius: var(--r-lg);
  }
  .viewport {
    padding: 0;
    border-radius: var(--r-lg);
  }

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

  .step-nav-review #checkoutBtn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .wheel-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-scroll {
    margin: 0;
    padding: 0;
  }

  .steps,
  .need-grid,
  .gallery-grid,
  .quotes-grid {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;

    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-logo img {
    height: 30px;
  }

  .nav-actions {
    gap: 8px;
    flex-shrink: 0;
  }

  .nav-actions .btn {
    padding: 8px 14px;
    font-size: 13px;
  }

  .stepper {
    gap: 0;
  }

  .step-label {
    display: none;
  }

  .step-line {
    margin: 0 2px;
  }

  .spec-chip {
    display: none;
  }

  .buy-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .buy-price {
    text-align: left;
  }

  .about-stats {
    gap: 18px;
  }

  .footer-cta .btn-light {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ============ BUILD MODAL + LOCKED STATE ============ */

.btn[hidden] { display: none !important; }

.pw-building .panel button,
.pw-building .panel a.btn,
.pw-building .nav button {
  pointer-events: none;
  opacity: .55;
}

.build-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 18, 38, .45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeUp .25s var(--t-slow);
}
.build-modal[hidden] { display: none; }

.build-modal-card {
  width: min(420px, 100%);
  background: white;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  padding: 32px 28px 24px;
  text-align: center;
}

.build-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--c-magenta);
  animation: pwspin .8s linear infinite;
}
@keyframes pwspin { to { transform: rotate(360deg); } }

.build-modal-title {
  font-size: 20px;
  margin: 0 0 6px;
}
.build-modal-stage {
  font-size: 14px;
  color: var(--text-mid);
  margin: 0 0 18px;
  min-height: 1.2em;
}

.build-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--bg-tint);
  overflow: hidden;
}
.build-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(to right, var(--c-orange), var(--c-magenta), var(--c-blue));
  transition: width .35s var(--t-slow);
}
.build-modal-pct {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin: 10px 0 18px;
}

.build-modal-cancel { width: 100%; justify-content: center; }

.build-modal.is-error .build-progress-bar { background: #EF4444; }
.build-modal.is-error .build-modal-stage { color: #EF4444; }
.build-modal.is-error .build-spinner {
  animation: none;
  border-top-color: #EF4444;
  border-color: #EF4444;
}

.btn-signup {
  color: #fff;
  background: var(--c-pink);
  border: 0;
  box-shadow: 0 10px 22px -12px rgba(255, 61, 120, .7);
}
.btn-signup:hover {
  background: #ec2f68;
  transform: translateY(-1px);
}

.auth-cluster { display: flex; align-items: center; gap: 10px; }

.nav-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  color: var(--text-mid);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.nav-cart:hover { color: var(--text); background: var(--bg-tint); border-color: transparent; }
.nav-cart-count {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; line-height: 1; color: #fff;
  background: var(--c-pink); border-radius: 999px;
}

.user-menu { position: relative; }
.user-trigger {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: box-shadow var(--t), border-color var(--t);
}
.user-trigger:hover { border-color: transparent; box-shadow: var(--shadow-sm); }
.user-avatar {
  width: 30px; height: 30px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  background: #aab0bd;
  overflow: hidden;
}

.avatar-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.user-name {
  font-size: 14px; font-weight: 600; color: var(--text);
  max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.user-chevron { color: var(--text-soft); transition: transform var(--t); }
.user-trigger[aria-expanded="true"] .user-chevron { transform: rotate(180deg); }

@media (max-width: 640px) {

  .lang-trigger,
  .nav-cart,
  .user-trigger {
    background: white;
    box-shadow: 0 1px 4px -1px rgba(15, 18, 38, .22);
  }

  .lang-trigger,
  .user-trigger {
    height: 34px;
    padding: 3px 6px 3px 3px;
    gap: 2px;
  }

  #signupBtn {
    display: none;
  }

  #loginBtn {
    height: 34px;
    padding: 0 16px;
    font-size: 13px;
    color: #fff;
    background: var(--c-pink);
    border: 0;
    box-shadow: 0 1px 4px -1px rgba(255, 61, 120, .6);
  }

  .lang-flag,
  .user-avatar {
    width: 27px;
    height: 27px;
    font-size: 12px;
  }

  .nav-cart {
    width: 34px;
    height: 34px;
  }

  .nav-cart svg {
    width: 16px;
    height: 16px;
  }

  .user-name {
    display: none;
  }
}

.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 240px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 200;
  animation: ddIn .16s ease;
}
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.user-dropdown-head { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.user-dropdown-name { font-weight: 700; font-size: 14px; color: var(--text); }
.user-dropdown-email { font-size: 12px; color: var(--text-soft); overflow: hidden; text-overflow: ellipsis; }
.user-dropdown-badge {
  margin-top: 6px; align-self: flex-start;
  font-size: 11px; font-weight: 600; color: var(--c-purple);
  background: rgba(124, 58, 237, .08);
  padding: 3px 8px; border-radius: 999px;
}
.user-dropdown-sep { height: 1px; background: var(--line-soft); margin: 6px 4px; }
.user-dropdown-item {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-mid);
  background: transparent; border: 0; cursor: pointer; text-align: left;
  transition: background var(--t), color var(--t);
}
.user-dropdown-item svg { color: var(--text-soft); flex: none; }
.user-dropdown-item:hover { background: var(--bg-tint); color: var(--text); }
.user-dropdown-item:hover svg { color: var(--c-purple); }
.user-dropdown-item.is-danger { color: #d33b52; }
.user-dropdown-item.is-danger svg { color: #d33b52; }
.user-dropdown-item.is-danger:hover { background: rgba(211, 59, 82, .08); }

.auth-overlay[hidden],
.sheet-overlay[hidden],
.auth-cluster[hidden],
.auth-form[hidden],
.nav-cart[hidden],
.nav-cart-count[hidden] { display: none !important; }

.pw-modal-open { overflow: hidden; }
.auth-overlay, .sheet-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 18, 38, .5);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .18s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.auth-modal {
  position: relative;
  display: flex; flex-direction: column;
  width: 100%; max-width: 400px;
  max-height: min(90vh, 90dvh);
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: popIn .2s cubic-bezier(.2, .8, .3, 1);
}

.auth-modal-head {
  flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px 14px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.auth-modal-head .auth-logo { height: 22px; width: auto; margin: 0; display: block; }
.auth-modal-body { overflow-y: auto; padding: 22px 28px 24px; }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.auth-close, .sheet-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-soft); background: transparent; border: 0; cursor: pointer;
  transition: background var(--t), color var(--t);
}
.auth-close:hover, .sheet-close:hover { background: var(--bg-tint); color: var(--text); }

.auth-modal-head .auth-close { position: static; flex: none; }
.auth-logo { height: 30px; width: auto; }
.auth-heading {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 21px; font-weight: 700;
  color: var(--text); text-align: center; margin: 0 0 16px;
}
.auth-context {
  font-size: 13px; color: var(--text-mid);
  background: var(--bg-tint); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 14px; text-align: center;
}
.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--bg-tint); border-radius: 999px; padding: 4px; margin-bottom: 18px;
}
.auth-tab {
  padding: 9px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--text-soft); background: transparent;
  transition: background var(--t), color var(--t), box-shadow var(--t);
}
.auth-tab.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.auth-oauth { margin-bottom: 18px; }
.auth-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 11px 13px; cursor: pointer;
  font-size: 14px; font-weight: 600; font-family: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.auth-google:hover { background: var(--bg); box-shadow: var(--shadow-sm); }
.auth-google:disabled { opacity: .6; cursor: default; }
.auth-google svg { flex: none; }
.auth-or {
  display: flex; align-items: center; gap: 12px;
  margin-top: 16px; font-size: 12px; color: var(--text-faint);
}
.auth-or::before, .auth-or::after {
  content: ''; flex: 1; height: 1px; background: var(--line-soft);
}

.auth-form { display: flex; flex-direction: column; gap: 13px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field > span { font-size: 13px; font-weight: 600; color: var(--text-mid); }
.auth-field input, .auth-field select, .auth-field textarea {
  width: 100%; padding: 11px 13px;
  font-size: 14px; font-family: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.auth-field textarea { resize: vertical; }
.auth-field input:focus, .auth-field select:focus, .auth-field textarea:focus {
  outline: none; border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}
.auth-field input:disabled { background: var(--bg-tint); color: var(--text-soft); }
.auth-field select.is-invalid { border-color: #e0526a; box-shadow: 0 0 0 3px rgba(224, 82, 106, .12); }
.auth-form .btn { margin-top: 4px; }
.auth-error {
  margin-top: 12px; font-size: 13px; color: #d33b52;
  background: rgba(211, 59, 82, .08); border-radius: 10px; padding: 10px 12px;
}
.auth-fineprint { margin-top: 14px; font-size: 11px; color: var(--text-faint); text-align: center; }

.auth-pw-rules {
  list-style: none;
  margin: -4px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px;
}
.auth-pw-rules li {
  display: flex; align-items: center; gap: 7px;
  font-size: 11.5px; color: var(--text-faint);
  transition: color var(--t);
}
.pw-dot {
  width: 7px; height: 7px; border-radius: 999px; flex: none;
  background: var(--line); transition: background var(--t), box-shadow var(--t);
}
.auth-pw-rules li.is-ok { color: #1d9e5f; }
.auth-pw-rules li.is-ok .pw-dot { background: #22b36b; box-shadow: 0 0 0 3px rgba(34, 179, 107, .14); }
.auth-pw-rules li.is-bad { color: #d33b52; }
.auth-pw-rules li.is-bad .pw-dot { background: #e0526a; box-shadow: 0 0 0 3px rgba(224, 82, 106, .14); }
@media (max-width: 420px) { .auth-pw-rules { grid-template-columns: 1fr; } }

.auth-field input.is-invalid {
  border-color: #e0526a; box-shadow: 0 0 0 3px rgba(224, 82, 106, .12);
}

.auth-phase { display: flex; flex-direction: column; gap: 13px; }
.auth-phase-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 2px;
}
.auth-phase-head b { font-size: 14px; }
.auth-phase-back {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 10px; font-size: 12.5px; font-weight: 600; font-family: inherit;
  color: var(--text-mid); background: var(--bg-tint);
  border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
  transition: background var(--t), color var(--t);
}
.auth-phase-back:hover { background: var(--line-soft); color: var(--text); }

.auth-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.auth-seg-opt {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 10px; font-size: 13px; font-weight: 600; color: var(--text-mid);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; user-select: none;
}
.auth-seg-opt:has(input:checked) {
  border-color: var(--c-purple); color: var(--text);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .10);
}
.auth-seg-opt input { accent-color: var(--c-purple); margin: 0; }

.auth-check {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  cursor: pointer; user-select: none;
}

.auth-check input { flex: none; width: 15px; height: 15px; accent-color: var(--c-purple); cursor: pointer; }

.auth-check.auth-check-multi { align-items: flex-start; }
.auth-check.auth-check-multi input { margin-top: 2px; }
.auth-partner-fields {
  display: flex; flex-direction: column; gap: 13px;
  padding: 13px; border: 1px dashed var(--line); border-radius: var(--r-sm);
  background: var(--bg-tint);
}
.auth-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .auth-field-row { grid-template-columns: 1fr; } }

.ad-codes {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; margin: 0 0 18px;
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface);
}
.ad-codes-head { display: flex; flex-direction: column; gap: 2px; }
.ad-codes-head b { font-size: 14px; }
.ad-codes-head span { font-size: 12px; color: var(--text-soft); max-width: 480px; }
.ad-codes-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ad-code-out {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px; border-radius: 10px; background: var(--bg-tint);
}
.ad-code-out code { font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.ad-client { display: block; font-size: 12px; color: var(--text-soft); margin-top: 2px; }
.ad-dim { font-size: 12px; color: var(--text-soft); }

.auth-sent { text-align: center; padding: 6px 0 2px; }
.auth-sent-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px;
  background: var(--bg-tint); color: var(--c-purple);
}
.auth-sent h3 { font-size: 19px; margin: 0 0 8px; }
.auth-sent p { font-size: 14px; line-height: 1.55; color: var(--text-mid); margin: 0; }
.auth-sent-mail {
  font-weight: 700; color: var(--text) !important;
  margin: 6px 0 14px !important; word-break: break-all;
}
.auth-sent-hint { font-size: 13px !important; color: var(--text-soft) !important; margin-bottom: 20px !important; }
.auth-sent .btn { margin-bottom: 10px; }
.auth-sent-back {
  border: 0; background: none; cursor: pointer; padding: 4px;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--text-soft);
}
.auth-sent-back:hover { color: var(--text); }

.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { font-size: 12.5px; opacity: .75; }
.footer-legal a:hover { opacity: 1; }
.auth-check a { color: var(--c-purple); font-weight: 600; text-decoration: underline; }

.legal-overlay[hidden] { display: none !important; }
.legal-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(15, 18, 38, .5);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
}
.legal-modal {
  display: flex; flex-direction: column;
  width: 100%; max-width: 720px; max-height: 100%;
  background: var(--surface); border-radius: var(--r);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.legal-modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line-soft);
}
.legal-modal-title { font-size: 17px; margin: 0; }
.legal-close {
  flex: none; display: inline-flex; padding: 6px; cursor: pointer;
  border: 0; background: none; color: var(--text-soft); border-radius: 8px;
}
.legal-close:hover { background: var(--bg-tint); color: var(--text); }
.legal-modal-body { overflow-y: auto; padding: 2px 26px 26px; }
.legal-modal-body:focus { outline: none; }

.legal-modal-body .lg-doc { max-width: none; padding: 0 0 4px; }

.legal-modal-body .lg-doc h2:first-of-type { border-top: 0; padding-top: 8px; }
@media (max-width: 560px) {
  .legal-overlay { padding: 0; }
  .legal-modal { max-width: none; height: 100%; border-radius: 0; }
  .legal-modal-body { padding: 4px 18px 20px; }
}

.lg-doc { max-width: 68ch; margin: 0 auto; padding: 8px 0 40px; }
.lg-doc h1 { font-size: 25px; line-height: 1.25; margin: 0 0 6px; letter-spacing: -.01em; }
.lg-meta { font-size: 12px; line-height: 1.6; color: var(--text-faint); margin: 0 0 24px; }

.lg-doc h2 {
  font-size: 14.5px; font-weight: 700; line-height: 1.4; color: var(--text);
  margin: 0 0 13px; padding: 22px 0 0;
  border-top: 1px solid var(--line-soft);
}
.lg-doc h2 + * { margin-top: 0; }
.lg-doc h3 {
  font-size: 13.5px; font-weight: 700; color: var(--text);
  margin: 18px 0 9px;
}
.lg-doc h3 + * { margin-top: 0; }
.lg-doc p, .lg-doc li, .lg-doc dd {
  font-size: 13.5px; line-height: 1.75; color: var(--text-mid);
}
.lg-doc p { margin: 0 0 11px; }
.lg-doc ul, .lg-doc ol { margin: 0 0 11px; padding-left: 20px; }
.lg-doc li { margin-bottom: 5px; }
.lg-doc li::marker { color: var(--text-faint); }
.lg-doc a { color: var(--c-purple); font-weight: 600; }
.lg-doc strong { color: var(--text); font-weight: 700; }

.lg-doc dl { margin: 0 0 11px; }
.lg-doc dt {
  font-size: 12.5px; font-weight: 700; color: var(--text);
  margin: 0 0 4px; padding-top: 14px;
}
.lg-doc dd {
  margin: 0 0 4px; padding: 0 0 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.lg-doc dl > dd:last-of-type { border-bottom: 0; padding-bottom: 0; }

.lg-callout {
  background: var(--bg-tint); border-radius: var(--r-sm);
  padding: 14px 16px; margin: 0 0 8px;
}
.lg-callout p { font-size: 13px; }
.lg-callout p:last-child { margin-bottom: 0; }
@media (max-width: 560px) {
  .lg-doc h1 { font-size: 22px; }
  .lg-doc h2 { padding-top: 20px; }
}

.pn-card {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.pn-card-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
}
.pn-id { display: flex; align-items: center; gap: 9px; }
.pn-id b { font-size: 15px; }
.pn-badge {
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  padding: 3px 9px; border-radius: 999px;
}
.pn-badge-manufacturer { background: rgba(124, 58, 237, .1); color: #6d28d9; }
.pn-badge-seamstress   { background: rgba(193, 63, 169, .1); color: #a3308c; }
.pn-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 20px; padding-top: 14px;
}
.pn-grid > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pn-grid span { font-size: 11px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: .04em; }
.pn-grid b { font-size: 13px; font-weight: 500; color: var(--text); word-break: break-word; }
.pn-live { color: #b45309; font-weight: 700; }
.pn-warn {
  margin: 14px 0 0; font-size: 12.5px; color: #b45309;
  background: rgba(180, 83, 9, .08); border-radius: 10px; padding: 9px 12px;
}
@media (max-width: 560px) {
  .pn-card-head { align-items: flex-start; flex-direction: column; }
}
.ad-pet { margin-top: 10px; font-size: 13px; }
.ad-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ad-photos img {
  width: 72px; height: 72px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--line); display: block;
}
.ad-assign { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.ad-assign h4 { font-size: 13px; margin: 4px 0 0; }
.ad-partner-list {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 240px; overflow-y: auto;
}
.ad-partner {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  gap: 10px; padding: 9px 12px; font-size: 13px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); cursor: pointer;
}
.ad-partner:has(input:checked) {
  border-color: var(--c-purple); box-shadow: 0 0 0 3px rgba(124, 58, 237, .10);
}
.ad-partner input { accent-color: var(--c-purple); }
.ad-partner-name { font-weight: 600; }
.ad-partner-loc { color: var(--text-soft); font-size: 12px; }
.ad-partner-km { font-size: 12px; font-weight: 600; color: var(--text-mid); white-space: nowrap; }
.ad-send { align-self: flex-start; }
.ad-builds { margin-top: 10px; }
.ad-builds h4 { font-size: 13px; margin: 0 0 6px; }
.ad-build-row {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 13px; padding: 4px 0; color: var(--text-mid);
}

.pr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.pr-card {
  position: relative;
  border-radius: var(--r);
  cursor: pointer;
  outline: none;
}
.pr-card-inner {
  position: relative; z-index: 1;
  height: 100%;
  display: flex; flex-direction: column;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
}
.pr-card:hover .pr-card-inner,
.pr-card:focus-visible .pr-card-inner { box-shadow: var(--shadow); transform: translateY(-2px); }

@property --pw-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.pr-card.is-new::before {
  content: '';
  position: absolute; inset: -2px; z-index: 0;
  border-radius: calc(var(--r) + 4px);
  background: conic-gradient(from var(--pw-ang),
    #FF7A1A, #FF3D78, #C13FA9, #7C3AED, #2FB8FF, #FF7A1A);
  animation: pw-ring-spin 3.2s linear infinite;

  filter: blur(6px);
  opacity: .5;
}
@keyframes pw-ring-spin { to { --pw-ang: 360deg; } }

.pr-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pr-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-cover-empty { color: var(--text-faint); }
.pr-new-chip {
  position: absolute; top: 10px; left: 10px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .02em; color: white;
  background: var(--grad-warm);
  box-shadow: var(--shadow-sm);
}
.pr-card-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pr-req-id { font-size: 12px; font-weight: 600; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.pr-card-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-soft);
}
.pr-card-items { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 4px; }
.pr-body-status { margin-left: auto; }
.pr-item-chip {
  padding: 3px 9px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; color: var(--text-mid);
  background: var(--bg-tint); border: 1px solid var(--line-soft);
}

.pr-detail-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 18, 38, .5);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .18s ease;
}
.pr-detail {
  position: relative;
  width: 100%; max-width: 640px; max-height: min(90vh, 90dvh);
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: popIn .2s cubic-bezier(.2, .8, .3, 1);
}
.pr-detail-topbar {
  flex: none;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 18px 18px 14px 26px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}
.pr-detail-topbar .sheet-close { position: static; flex: none; }
.pr-detail-body {
  flex: 1; min-height: 0; overflow-y: auto;
  padding: 20px 26px 24px; display: flex; flex-direction: column; gap: 18px;
}
.pr-detail-head {
  flex: 1; min-width: 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.pr-detail-head h3 { margin: 0; font-size: 20px; }
.pr-detail-head .pr-req-id { font-size: 15px; }
.pr-detail-date { font-size: 12.5px; color: var(--text-soft); }
.pr-sec { display: flex; flex-direction: column; gap: 9px; }
.pr-sec > h4 {
  margin: 0; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft);
}
.pr-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.pr-photos img {
  width: 86px; height: 86px; object-fit: cover;
  border-radius: 12px; border: 1px solid var(--line); display: block;
  cursor: zoom-in;
  transition: transform var(--t), box-shadow var(--t);
}
.pr-photos img:hover { transform: scale(1.04); box-shadow: var(--shadow); }
.pr-spec {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
@media (max-width: 560px) { .pr-spec { grid-template-columns: repeat(2, 1fr); } }
.pr-spec-cell {
  display: flex; flex-direction: column; gap: 2px;
  padding: 9px 11px;
  background: var(--bg-tint); border-radius: var(--r-sm);
}
.pr-spec-cell span { font-size: 11px; color: var(--text-soft); }
.pr-spec-cell b { font-size: 13.5px; color: var(--text); font-variant-numeric: tabular-nums; }
.pr-addr { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--text-mid); }

.pw-lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(10, 12, 24, .88);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .15s ease;
}
.pw-lb-stage {
  margin: 0; max-width: min(92vw, 1100px); max-height: 88vh;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.pw-lb-stage img {
  max-width: 100%; max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
  pointer-events: auto;
}
.pw-lb-close, .pw-lb-arrow {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: white;
  border: none; cursor: pointer;
  transition: background var(--t);
}
.pw-lb-close:hover, .pw-lb-arrow:hover { background: rgba(255, 255, 255, .25); }
.pw-lb-close { top: 18px; right: 18px; }
.pw-lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.pw-lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.pw-lb-count {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  padding: 5px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: white;
  background: rgba(255, 255, 255, .14);
  font-variant-numeric: tabular-nums;
}

.pr-ship {
  margin-top: 14px; padding: 14px; border: 1px dashed var(--line);
  border-radius: var(--r-md); background: var(--bg-tint);
  display: flex; flex-direction: column; gap: 10px;
}
.pr-ship h4 { margin: 0; font-size: 14px; }
.pr-ship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .pr-ship-grid { grid-template-columns: 1fr; } }
.pr-ship .btn { align-self: flex-start; }

.sheet {
  position: relative;
  width: 100%; max-width: 500px; max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: popIn .2s cubic-bezier(.2, .8, .3, 1);
  overflow: hidden;
}
.sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.sheet-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 700; color: var(--text); }

.sheet-close { position: static; align-self: flex-start; margin-top: -6px; }
.sheet-body { padding: 20px 24px 24px; overflow-y: auto; }
.sheet-lede { font-size: 13px; color: var(--text-mid); margin-bottom: 16px; line-height: 1.5; }

.fb-modal { max-width: 400px; }
.fb-modal .sheet-header { padding: 14px 16px 10px; }
.fb-modal .sheet-title { font-size: 16px; }
.fb-modal .sheet-body { padding: 12px 16px 16px; }
.fb-modal .sheet-lede { margin-bottom: 10px; }
.fb-text {
  width: 100%;
  resize: vertical;
  min-height: 84px;
  padding: 10px 12px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: white;
}
.fb-text:focus { outline: 2px solid var(--c-pink); outline-offset: 1px; border-color: transparent; }

.footer-cta .btn-light { position: relative; }
.copy-overlay {
  position: absolute;
  inset: -1px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(58, 153, 44, .9);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.footer-cta .btn-light.is-copied .copy-overlay { opacity: 1; }
.sheet-loading { display: flex; justify-content: center; padding: 40px 0; }
.sheet-spinner {
  width: 30px; height: 30px; border-radius: 999px;
  border: 3px solid var(--line); border-top-color: var(--c-magenta);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-note { text-align: center; color: var(--text-soft); font-size: 14px; padding: 24px 0; }

.cfg-summary { display: grid; grid-template-columns: 1fr; margin: 6px 0 10px; padding: 0; list-style: none; }
.cfg-summary li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--text-soft);
  padding: 6px 10px; border-radius: 8px;
}
.cfg-summary li:nth-child(odd) { background: var(--bg-tint); }
.cfg-summary li b { color: var(--text); font-weight: 600; text-align: right; }

.ck-pet-assigned {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border: 1px solid var(--line-soft); border-radius: var(--r);
  background: var(--bg-tint);
}
.ck-pet-assigned-thumb {
  width: 34px; height: 34px; border-radius: 999px; object-fit: cover; flex: none;
  background: var(--bg-tint);
}
.ck-pet-assigned-label {
  display: block; font-size: 11px; font-weight: 600; color: var(--text-soft);
  text-transform: uppercase; letter-spacing: .05em;
}
.ck-pet-assigned-name { font-weight: 700; color: var(--text); }

.ck-item-shot {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 8px;
  margin-bottom: 12px;
}

.ck-item-shot img {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

.ck-newpet {
  display: flex; flex-direction: column; gap: 8px;
  margin: 6px 0 4px;
}

.ck-item .auth-field > span { font-size: 12.5px; }

.ck-item .auth-field input {
  padding: 8px 10px;
  font-size: 13px;
  background: white;
}

.ck-item .cfg-summary { margin: 14px 0 0; }
.ck-newpet-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-newpet-photos-label { font-size: 12.5px; font-weight: 600; color: var(--text-mid); }
.ck-newpet-photos-label em { font-style: normal; font-weight: 500; color: var(--text-soft); }

.ck-pet-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.ck-thumb, .ck-add-photo, .ck-thumb-empty {
  width: auto; height: auto; aspect-ratio: 1;
}
.ck-thumb {
  position: relative; border-radius: 10px;
  background-size: cover; background-position: center;
  border: 1px solid var(--line-soft);
}

.ck-thumb-empty {
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: var(--bg);
}
.ck-thumb-del {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--text); color: #fff; border: 2px solid white;
  cursor: pointer; padding: 0;
}
.ck-add-photo {
  border-radius: 10px; padding: 2px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1.5px dashed var(--line); background: white;
  color: var(--text-soft); font-size: 9.5px; font-weight: 600; line-height: 1.15;
  text-align: center; cursor: pointer;
  transition: border-color var(--t), color var(--t);
}
.ck-add-photo:hover { border-color: var(--c-pink); color: var(--c-pink); }

.pet-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pet-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--bg);
}
.pet-card-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pet-avatar {
  width: 38px; height: 38px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; background: var(--grad-cool);
}
.pet-card-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pet-name { font-weight: 600; color: var(--text); font-size: 14px; }
.pet-sub { font-size: 12px; color: var(--text-soft); }
.pet-meas { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.pet-meas span { background: var(--bg-tint); border-radius: 6px; padding: 1px 6px; }
.pet-card-actions { display: flex; gap: 6px; flex: none; }
.mini-btn {
  font-size: 12px; font-weight: 600; color: var(--text-mid);
  padding: 5px 10px; border-radius: 8px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.mini-btn:hover { background: var(--bg-tint); color: var(--text); border-color: transparent; }
.mini-btn.is-danger { color: #d33b52; }
.mini-btn.is-danger:hover { background: rgba(211, 59, 82, .1); }

.pet-form, .settings-form { display: flex; flex-direction: column; gap: 13px; }
.form-h { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-hint { font-size: 12px; color: var(--text-soft); line-height: 1.5; }
.form-hint a { color: var(--c-purple); font-weight: 600; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }

.cart-list, .checkout-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.cart-item, .checkout-item {
  padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg);
}
.cart-item-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }

.cart-item-head .cart-item-price { margin-left: auto; }

.item-remove {
  width: 28px;
  height: 28px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--text-mid);
  cursor: pointer;
  transition: color var(--t), border-color var(--t), background var(--t);
}

.item-remove:hover {
  color: #e0475b;
  border-color: #e0475b;
  background: rgba(224, 71, 91, .06);
}
.cart-item-name { font-weight: 700; color: var(--text); font-size: 14px; }
.cart-item-price { font-weight: 700; color: var(--text); }
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 2px; margin-bottom: 14px;
  border-top: 1px solid var(--line); font-size: 15px;
}
.cart-total b { font-size: 18px; }

.sheet-body.is-cart {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.cart-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  margin: -20px -24px 0;
  padding: 20px 24px 6px;
}

.cart-scroll::before,
.cart-scroll::after {
  content: '';
  position: sticky;
  display: block;
  height: 28px;
  margin-left: -24px;
  margin-right: -24px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity .25s ease;
}

.cart-scroll::before {
  top: -20px;
  margin-top: -20px;
  margin-bottom: -8px;
  background: linear-gradient(to bottom, white, rgba(255, 255, 255, 0));
}
.cart-scroll::after {
  bottom: -6px;
  margin-top: -28px;
  margin-bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
}
.cart-scroll.has-up::before { opacity: 1; }
.cart-scroll.has-down::after { opacity: 1; }

.cart-foot {
  flex: none;
  margin: 0 -24px -24px;
  padding: 0 24px 18px;
  border-top: 1px solid var(--line-soft);
  background: var(--surface);
}
.cart-foot .cart-total {
  border-top: none;
  margin-bottom: 10px;
  padding: 9px 2px 0;
}

.cart-item-shot {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 8px;
  margin-bottom: 8px;
}
.cart-item-shot img {
  display: block;
  width: 100%;
  max-height: 230px;
  object-fit: contain;
}

.cart-scroll .cart-list { margin-bottom: 0; }
.cart-item .cfg-summary { margin-bottom: 0; }

.item-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.item-actions .item-act {
  flex: 1 1 0;
  justify-content: center;
  padding: 8px 10px;
  font-size: 12.5px;
}

.item-act-danger,
.item-act-danger:hover {
  color: #d33b52;
}

.item-act-danger:hover {
  background: rgba(211, 59, 82, .08);
  border-color: transparent;
}

.order-success { text-align: center; padding: 8px 0; }
.order-success-ico {
  width: 56px; height: 56px; border-radius: 999px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, #34D399, #10B981);
}
.order-success h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.order-success p { font-size: 14px; color: var(--text-mid); line-height: 1.55; margin-bottom: 18px; }
.order-success .btn { margin-bottom: 8px; }

.order-card { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 12px; }
.order-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.order-id { display: block; font-weight: 700; color: var(--text); font-size: 14px; }
.order-date { font-size: 12px; color: var(--text-soft); }
.order-status { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status-pending_payment { color: #b7791f; background: rgba(234, 179, 8, .14); }
.status-paid, .status-in_production { color: #2563eb; background: rgba(37, 99, 235, .12); }
.status-shipped, .status-delivered { color: #059669; background: rgba(16, 185, 129, .14); }
.status-cancelled { color: #dc2626; background: rgba(220, 38, 38, .1); }

.status-todo {
  color: white;
  background: var(--grad-warm-subtle);
  box-shadow: 0 3px 10px -2px rgba(255, 90, 60, .5);
}
.status-inprogress { color: #96660a; background: rgba(214, 158, 22, .18); }
.status-sent { color: #2563eb; background: rgba(37, 99, 235, .12); }
.status-done { color: #6b7280; background: rgba(107, 114, 128, .14); }
.order-items { display: flex; flex-direction: column; gap: 6px; }
.order-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-mid); }
.order-card-total {
  display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--line); font-size: 14px;
}

.settings-top { display: flex; align-items: center; gap: 18px; margin-bottom: 4px; }
.settings-fields { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.avatar-edit-wrap { flex: none; }
.avatar-edit {
  position: relative; padding: 0; border: 0; background: none; cursor: pointer;
  border-radius: 999px;
}
.avatar-lg {
  width: 84px; height: 84px; border-radius: 999px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 700; color: #fff; background: #aab0bd;
  transition: filter var(--t);
}
.avatar-edit:hover .avatar-lg { filter: brightness(.92); }
.avatar-cam {
  position: absolute; right: -2px; bottom: -2px;
  width: 28px; height: 28px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: var(--c-purple);
  border: 3px solid var(--surface);
}

.settings-sep { height: 1px; background: var(--line-soft); margin: 20px 0; }
.settings-form + .settings-sep { margin-top: 20px; }

#changePassBtn { margin-bottom: 8px; }
.sheet-body .settings-sep + .is-danger-ghost { margin-bottom: 2px; }
.is-danger-ghost { color: #d33b52; }
.is-danger-ghost:hover { background: rgba(211, 59, 82, .08) !important; color: #d33b52 !important; }

.review-buy { display: flex; flex-direction: column; gap: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  z-index: 2000;
  background: var(--text); color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: #d33b52; }

@media (max-width: 560px) {
  .user-name { display: none; }
  .form-grid, .cfg-summary { grid-template-columns: 1fr; }
  .auth-modal, .sheet { max-width: 100%; }
}

/* ============================================================================
   CHECKOUT PAGE (checkout.html)
   ============================================================================ */

.ck-page {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.ck-page .ck-main { flex: 1 0 auto; width: 100%; }
.ck-page .footer { margin-top: auto; }

.ck-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 251, 253, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.ck-nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ck-logo img { height: 30px; display: block; }

.ck-secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}

.ck-secure-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ck-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

@media (max-width: 640px) {
  .ck-main {
    padding-top: 18px;
  }
}

.ck-state {
  max-width: 520px;
  margin: 8vh auto 0;
  text-align: center;
}

.ck-state h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  margin-bottom: 10px;
}

.ck-state p { color: var(--text-mid); margin-bottom: 22px; }

.ck-result-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
}

.ck-result-ico.is-ok      { background: #22b573; }
.ck-result-ico.is-pending { background: #f5a623; }
.ck-result-ico.is-fail    { background: #e0475b; }

.ck-result-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.ck-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px) 400px;
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}

.ck-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 30px;
  margin-bottom: 6px;
}

.ck-h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  margin: 26px 0 12px;
}

.ck-fields { display: flex; flex-direction: column; gap: 12px; }

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

.ck-cep-hint {
  font-size: 12px;
  color: var(--text-soft);
  padding-bottom: 12px;
}

.auth-field em { font-style: normal; font-weight: 400; color: var(--text-soft); }

.ck-summary {
  position: sticky;
  top: 84px;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 20px 22px 22px;
  box-shadow: var(--shadow-sm);
}

.ck-summary .ck-h2 { margin-top: 2px; }

.ck-item {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--bg);
}

.ck-item + .ck-item { margin-top: 12px; }

.ck-item .auth-field { margin-top: 10px; }

.ck-pet.is-invalid { border-color: #e0475b; }

.ck-order-notes {
  display: block;
  margin: 14px 0 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.ck-order-notes textarea {
  font-size: 13px;
  line-height: 1.45;
}

.ck-order-notes textarea::placeholder {
  color: var(--text-faint);
}

.ck-order-notes > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ck-order-notes em {
  font-style: normal;
  font-weight: 500;
  color: var(--text-soft);
}

.ck-reassure {
  margin-top: 12px;
  padding: 10px 14px;
  background: var(--bg-tint);
  border-radius: var(--r-sm);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-soft);
  text-align: center;
}

.ck-totals { padding: 14px 0 16px; }

.ck-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--text-mid);
  padding: 3px 0;
}

.ck-total-row.is-grand {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  font-size: 16px;
  color: var(--text);
}

.ck-total-row.is-grand b { font-size: 19px; }

.ck-ship-note { font-size: 12.5px; color: var(--text-soft); }

.ck-ship-opts {
  display: grid;
  gap: 6px;
  margin: 6px 0 4px;
}

.ck-ship-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 13px;
  color: var(--text-mid);
}

.ck-ship-opt.is-selected {
  border-color: var(--c-magenta);
  background: var(--bg-tint);
}

.ck-ship-opt input { accent-color: var(--c-magenta); margin: 0; }

.ck-ship-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }

.ck-ship-name { font-weight: 600; color: var(--text); }

.ck-ship-eta { font-size: 11.5px; color: var(--text-soft); }

.ck-ship-price { white-space: nowrap; }

.ck-pay-note {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .ck-grid { grid-template-columns: 1fr; gap: 8px; }
  .ck-summary { position: static; }
}

/* ============================================================================
   MY ORDERS PAGE (orders.html)
   ============================================================================ */
.ck-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
}

.ck-back:hover { color: var(--text); }

#odList { max-width: 860px; }

.od-lede { color: var(--text-mid); font-size: 14px; margin: 6px 0 22px; max-width: 60ch; }

.od-lede a { color: inherit; font-weight: 600; }

.od-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.od-tab {
  border: 1px solid var(--line-soft);
  background: white;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
}

.od-tab.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.od-tab-n { opacity: .65; font-weight: 700; }

.od-card {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  margin-bottom: 14px;
}

.od-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.od-note { font-size: 12.5px; color: var(--text-soft); margin: 2px 0 10px; }

.od-card .order-items { padding: 8px 0; border-top: 1px solid var(--line-soft); }

.od-card .order-line { padding: 3px 0; }

.od-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  margin-top: 6px;
}

.od-total { font-size: 13.5px; color: var(--text-mid); }

.od-total b { font-size: 16px; color: var(--text); margin-left: 6px; }

.od-actions { display: flex; align-items: center; gap: 8px; }

.od-pay { padding: 9px 18px; font-size: 13.5px; }

.od-timeline {
  display: flex;
  align-items: center;
  margin: 10px 0 6px;
}

.od-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 58px;
}

.od-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-soft);
}

.od-step.is-done .od-step-dot { background: #22b573; }

.od-step.is-now .od-step-dot {
  box-shadow: 0 0 0 4px rgba(34, 181, 115, .18);
}

.od-step-label { font-size: 10.5px; font-weight: 600; color: var(--text-soft); }

.od-step.is-done .od-step-label { color: var(--text-mid); }

.od-step-bar {
  flex: 1;
  height: 2px;
  background: var(--line-soft);
  margin: 0 2px 16px;
}

.od-step-bar.is-done { background: #22b573; }

.od-details {
  border-top: 1px dashed var(--line-soft);
  margin-top: 12px;
  padding-top: 12px;
}

.od-detail-item { padding: 6px 0 10px; }

.od-block { margin-top: 10px; }

.od-block h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.od-block p { font-size: 13px; color: var(--text-mid); line-height: 1.55; }

.od-dim { color: var(--text-soft); font-size: 12px; }

@media (max-width: 560px) {
  .od-card-foot { flex-direction: column; align-items: stretch; }
  .od-actions { justify-content: flex-end; flex-wrap: wrap; }
  .od-step { min-width: 44px; }
}

.ck-secure-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  margin: 2px 0 4px;
}

/* ============================================================================
   MY PETS PAGE (pets.html)
   ============================================================================ */
.pt-head { margin-bottom: 4px; }

.pt-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pt-card-add {
  align-items: center;
  justify-content: center;
  padding: 20px 20px 24px;
  gap: 14px;
}

.pt-add-paw {
  width: auto;
  max-width: 42%;
  height: auto;
  display: block;
  margin: 10px auto 14px;
}

.pt-add-hint {
  font-size: 12.5px;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.5;
  max-width: 26ch;
}

.pt-lede { max-width: none; margin: 6px 0 12px; }

.pt-toolbar { margin-bottom: 18px; }

.pt-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 9px 16px;
  color: var(--text-soft);
}

.pt-search:focus-within { border-color: var(--c-magenta); }

.pt-search input {
  border: none;
  outline: none;
  background: none;
  flex: 1;
  font: inherit;
  font-size: 13.5px;
  color: var(--text);
}

.pt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.pt-card {
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pt-cover {
  aspect-ratio: 4 / 3;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pt-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pt-cover-empty {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--text-soft);
}

.pt-strip {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: white;
}

.pt-strip img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.pt-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.pt-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.pt-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.pt-device {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  color: #2563eb;
  background: rgba(37, 99, 235, .12);
  white-space: nowrap;
}

.pt-device.is-none { color: var(--text-soft); background: var(--bg); border: 1px solid var(--line-soft); }

.pt-meas {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  margin: 0;
}

.pt-meas li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-soft);
}

.pt-meas b { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }

.pt-missing { font-size: 12.5px; color: #b7791f; }

.pt-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: auto; padding-top: 4px; }

.pf-overlay, .pf-tut-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 38, .45);
  backdrop-filter: blur(4px);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.pf-tut-overlay { z-index: 230; }

.pf-overlay[hidden], .pf-tut-overlay[hidden] { display: none; }

.pf-modal {
  position: relative;
  background: white;
  border-radius: var(--r);
  box-shadow: 0 30px 80px -20px rgba(15, 18, 38, .35);
  width: 480px;
  max-width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 26px 26px 22px;
}

.pf-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 21px;
  margin-bottom: 14px;
}

.pf-modal form { display: flex; flex-direction: column; gap: 12px; }

.pf-photos-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.pf-photos-label em { font-style: normal; font-weight: 400; color: var(--text-soft); }

.pf-photos-count { font-size: 12px; color: var(--text-soft); font-weight: 600; }

.pf-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pf-thumb {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}

.pf-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pf-thumb-del {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 18, 38, .72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pf-add-photos {
  width: 76px;
  height: 76px;
  border: 1.5px dashed var(--line-soft);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
}

.pf-add-photos:hover { border-color: var(--c-magenta); color: var(--text); }

.pf-tut {
  position: relative;
  background: white;
  border-radius: var(--r);
  box-shadow: 0 30px 80px -20px rgba(15, 18, 38, .35);
  width: 520px;
  max-width: 100%;
  padding: 44px 22px 20px;
}

.pf-tut .auth-close { top: 6px; right: 6px; }

.pf-tut-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border: 2px dashed var(--line);
  border-radius: 14px;
  padding: 18px 18px 16px;
  transition: border-color .18s ease, background .18s ease;
}

.pf-tut-overlay.is-drag .pf-tut-drop {
  border-color: var(--c-magenta);
  background: rgba(216, 63, 169, .05);
}

.pf-tut-ill {
  width: 65%;
  max-width: 320px;
  border-radius: 12px;
  overflow: hidden;
}

.pf-tut-ill img { width: 100%; height: auto; display: block; }

.pf-tut-note {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.55;
  text-align: center;
  max-width: 400px;
  margin: 0;
}

.pf-tut-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.pf-upload-btn { display: inline-flex; cursor: pointer; }

.pf-drop-hint {
  display: block;
  font-size: 12.5px;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .pf-tut { padding: 36px 16px 16px; }
  .pf-tut-ill { width: 80%; }
}

.pet-pick-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin: 14px 0 22px;
}

.pet-pick-field { flex: 1; min-width: 0; }

.pet-pick-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.panel-context-row {
  flex: none;
  flex-wrap: wrap;
  margin: 2px 0 16px;
}
.panel-context-row .pet-pick-field { min-width: 180px; }

.panel-context-row:not(:has(.pet-pick-field:not([hidden]))) {
  display: none;
}

.ptype-select { width: 100%; }

.ptype-trigger {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
}

.ptype-trigger .model-select-chevron { margin-left: auto; flex: none; }

.ptype-name {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

span.ptype-thumb {
  display: grid;
  place-items: center;
  color: var(--text-soft);
  background: var(--bg-tint);
}

.ptype-menu { width: max(100%, 300px); }

.ck-ptype {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 2px 0 12px;
}

.ck-ptype-label {
  font-size: 12.5px;
  color: var(--text-soft);
}

.ck-ptype-select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  max-width: 100%;
  padding: 7px 32px 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  background: var(--bg)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23747b8c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right 12px center / 13px;
  transition: border-color var(--t), box-shadow var(--t);
}

.ck-ptype-select:hover { border-color: var(--text-soft); }

.ck-ptype-select:focus {
  outline: none;
  border-color: var(--c-purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .12);
}

.od-stl-list { margin-top: 10px; display: grid; gap: 8px; }

.od-stl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--text-soft);
}

.od-stl-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.od-stl-name { font-weight: 600; font-size: 13.5px; color: var(--text); }

.od-stl-note { font-size: 12.5px; }

.od-stl-btn[disabled] { opacity: .6; cursor: default; }

.ck-pet-add {
  flex-shrink: 0;
  white-space: nowrap;
  height: 44px;
  display: inline-flex;
  align-items: center;
}

.pet-select { width: 100%; }

.pet-select-trigger {
  width: 100%;
  height: 44px;
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
}

.pet-select-trigger.is-invalid { border-color: #e0475b; }

.pet-select-trigger .model-select-chevron { margin-left: auto; flex: none; }

.pet-select-name {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.pet-select-menu {
  width: max(100%, 300px);
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}

.pet-select-menu::-webkit-scrollbar { width: 6px; }
.pet-select-menu::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.pet-select-menu::-webkit-scrollbar-track { background: transparent; }

.ck-pet-row { position: relative; }
.ck-pet-row .pet-select { position: static; }
.ck-pet-row .pet-select-menu { width: 100%; left: 0; }

.pet-select-menu .model-option-text { flex: 1; min-width: 0; }

.pet-select-menu .model-option-name,
.pet-select-menu .model-option-desc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 2px 6px;
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text-soft);
}

.pp-search:focus-within { border-color: var(--c-magenta); }

.pet-select-menu .pp-search input {
  border: none;
  outline: none;
  background: none;
  box-shadow: none;
  flex: 1;
  height: auto;
  padding: 0;
  margin: 0;
  border-radius: 0;
  font: inherit;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}

.pp-none {
  font-size: 12.5px;
  color: var(--text-soft);
  padding: 8px 12px;
}

.pp-add {
  position: sticky;
  bottom: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  margin-top: 4px;
  border: none;
  border-radius: 10px;
  background: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c-orange);
  cursor: pointer;
  transition: background var(--t);
}

.pp-add span {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pp-add:hover {
  background: linear-gradient(95deg, rgba(255, 122, 26, .10), rgba(193, 63, 169, .08));
}

.pp-add[hidden] { display: none !important; }

.model-select-thumb.is-paw,
.model-option-thumb.is-paw {
  object-fit: contain;
  padding: 6px;
  background: var(--bg-tint);
}

.ck-pet-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.ck-pet-mount { flex: 1; min-width: 0; }

.field.is-locked {
  opacity: .55;
  pointer-events: none;
}

.field.is-locked .field-value { color: var(--text-soft); }

.sh-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 38, .45);
  backdrop-filter: blur(4px);
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sh-overlay[hidden] { display: none; }

.sh-modal {
  position: relative;
  background: white;
  border-radius: var(--r);
  box-shadow: 0 30px 80px -20px rgba(15, 18, 38, .35);
  width: 460px;
  max-width: 100%;
  padding: 26px 26px 24px;
}

.sh-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  margin-bottom: 8px;
}

.sh-sub {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 16px;
}

.sh-linkrow {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.sh-linkrow input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--bg);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--text-mid);
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-linkrow .btn { flex-shrink: 0; }

.sh-tiles {
  display: flex;
  gap: 10px;
}

.sh-tile {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: white;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
}

.sh-tile:hover {
  border-color: var(--text-soft);
  box-shadow: var(--shadow-sm);
  color: var(--text);
}

.sh-tile-ico {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
}

.ck-paylink {
  margin-top: 16px;
  position: relative;
  z-index: 1;
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.pay-lede { color: var(--text-mid); font-size: 14px; margin: 4px 0 18px; }

.pay-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  max-width: 520px;
}

.pay-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 10px;
  border: 1.5px solid var(--line-soft);
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
}

.pay-tab:hover { border-color: var(--text-soft); }

.pay-tab.is-active {
  border-color: var(--c-magenta);
  box-shadow: 0 0 0 3px rgba(193, 63, 169, .12);
}

.pay-tab-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.pay-tab-note { font-size: 11.5px; font-weight: 600; color: var(--text-soft); }

.pay-tab[data-method="pix"] .pay-tab-note { color: #16a34a; }

.pay-pane { display: none; max-width: 520px; }
.pay-pane.is-active { display: block; }

.pay-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 12px 0 16px;
  font-size: 14px;
  color: var(--text-mid);
}

.pay-price b {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  color: var(--text);
}

.pay-price s { color: var(--text-soft); font-size: 13px; margin-left: 8px; }

.pay-hint {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.55;
  margin: 12px 0;
}

#pyPixGo { margin-top: 14px; }

.ck-secure-mp {
  height: 30px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 2px;
}

@media (max-width: 640px) {
  .ck-secure {
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    text-align: right;
  }

  .ck-secure-mp {
    height: 20px;
    margin-left: 0;
  }
}

.pay-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 10px;
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}

.pay-qr-wrap img { width: 240px; height: 240px; image-rendering: pixelated; }

.pay-waiting {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  margin-top: 14px;
}

.pay-spin { width: 16px; height: 16px; border-width: 2px; flex: none; }

#pyShare { margin-top: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }

/* ============ MOBILE CUSTOMIZER (phone-only compact panel) ============ */

.measure-tabs,
.style-tabs,
.step-title .st-mobile {
  display: none;
}

.material-title .mt-part {
  display: none;
}

.stab {
  flex: none;
  border: 1px solid var(--line-soft);
  background: white;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  white-space: nowrap;
}

.stab.is-active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.mtab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: transparent;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
}

.mtab .mtab-help {
  display: none;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-tint);
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

.mtab.is-active .mtab-help {
  display: inline-flex;
}

.mtab::before,
.mtab::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 6px;
  height: 6px;
  pointer-events: none;
}

.mtab.is-active {
  background: white;
  color: var(--text);
  z-index: 1;

  box-shadow: 0 -1px 2px rgba(15, 18, 38, .10);
}

.mtab.is-active::before {
  left: -6px;
  background: radial-gradient(circle 6px at top left, transparent 5.5px, white 6px);
}

.mtab.is-active::after {
  right: -6px;
  background: radial-gradient(circle 6px at top right, transparent 5.5px, white 6px);
}

@media (max-width: 640px) {

  .nav-inner {
    padding: 10px 10px 10px 12px;
    gap: 8px;
  }

  .nav-actions {
    gap: 6px;
  }

  .hero {
    padding: 8px;
  }

  .hero-grid {
    gap: 8px;
  }

  .hero-grid:not(.is-welcome) {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    min-height: 0;
  }

  .hero-grid:not(.is-welcome) .viewport {
    flex: 1 1 auto;
    min-height: 0;
  }

  .stage {
    min-height: 160px;
  }

  .hero-grid:not(.is-welcome) .panel {
    flex: none;
    min-height: 0;
    max-height: 45%;
    padding: 12px;
  }

  .hero-grid.is-welcome {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero-grid.is-welcome .panel {
    flex: none;
    padding: 16px;
  }

  .panel-screen[data-screen="welcome"] {
    flex: none;
    height: auto;
  }

  .welcome-copy .panel-title {
    font-size: 26px;
  }

  .welcome-art {
    margin-top: 8px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    flex: none;
  }

  .welcome-art-img {
    max-height: none;
  }

  .panel-screen[data-screen="welcome"] .panel-actions {
    margin-top: 12px;
  }

  .step-body {
    min-height: 0;
    overflow: hidden;
  }

  .step-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;

    overflow-x: hidden;
  }

  .step-title {
    font-size: 18px;
  }

  .step-title .st-desktop { display: none; }
  .step-title .st-mobile { display: inline; }

  .stepper {
    margin-bottom: 8px;
  }

  .stepper .step {
    padding: 2px 4px;
  }

  .stepper .step.is-active {
    padding-right: 10px;
  }

  .stepper .step.is-active .step-label {
    display: inline;
  }

  .step-nav {
    border-top: none;
    padding-top: 8px;
  }

  .step-nav .btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 8px 14px;
  }

  .panel-context-row {
    display: none;
  }

  .step-head-row {
    align-items: center;
    gap: 10px;
  }

  .btn-howto {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .step-head-row .pet-pick-field {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 60%;
  }

  .step-head-row .pet-select-trigger {
    height: 34px;
    padding: 3px 10px 3px 3px;
  }

  .step-head-row .pet-select-name {
    font-size: 12.5px;
  }

  .vp-controls {
    bottom: 10px;
    padding: 4px;
  }

  .vp-ctl {
    width: 30px;
    height: 30px;
  }

  .vp-unit .unit-btn {
    height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  .vp-zoom {
    left: 10px;
    height: min(230px, calc(100% - 110px));
    padding: 8px 2px;
    gap: 6px;
  }

  .vp-zoom-track {
    flex: 1 1 auto;
    height: auto;
    min-height: 40px;
  }

  .viewport-topbar {
    padding: 7px 9px;
  }

  .viewport-topbar .model-select-trigger,
  .vp-readout {
    height: 34px;
  }

  .viewport-topbar .model-select-trigger {
    padding: 0 10px 0 3px;
    gap: 6px;
  }

  .viewport-topbar .model-select-thumb {
    width: 38px;
    height: 26px;
  }

  .viewport-topbar .model-select-name {
    font-size: 13px;
    white-space: nowrap;
  }

  .vp-readout {
    gap: 8px;
    padding: 0 12px;
  }

  .vp-weight {
    font-size: 11.5px;
    padding-right: 8px;
  }

  .vp-price {
    font-size: 14px;
  }

  .step-progress-fill {
    background: var(--text-faint);
  }

  .step-head-row {
    margin-bottom: 4px;
  }

  .step-body[data-body="colors"] .step-title,
  .step-body[data-body="accessories"] .step-title,
  .step-body[data-body="review"] .step-title {
    margin-bottom: 14px;
  }

  .step-body[data-body="measure"] .step-scroll {
    display: flex;
    flex-direction: column;
  }

  .measure-tabs {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    overflow-x: auto;
    margin: 6px 0 14px;
    padding: 6px 10px 0;
    border-radius: 10px;

    background: linear-gradient(to top,
      rgba(15, 18, 38, .06) 0%, rgba(15, 18, 38, .06) 45%, rgba(15, 18, 38, 0) 100%);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .measure-tabs::-webkit-scrollbar {
    display: none;
  }

  [data-body="measure"] .measure-grid .field,
  [data-body="measure"] .wheel-grid .field,
  [data-body="measure"] .subsection-title {
    display: none;
  }

  [data-body="measure"] .field .field-label {
    display: none;
  }

  [data-body="measure"][data-mtab="length"]    .field[data-mfield="length"],
  [data-body="measure"][data-mtab="height"]    .field[data-mfield="height"],
  [data-body="measure"][data-mtab="width"]     .field[data-mfield="width"],
  [data-body="measure"][data-mtab="thigh"]     .field[data-mfield="thigh"],
  [data-body="measure"][data-mtab="thickness"] .field[data-mfield="thickness"],
  [data-body="measure"][data-mtab="radius"]    .field[data-mfield="radius"] {
    display: flex;
  }

  .measure-grid,
  .wheel-grid {
    margin-bottom: 0;
  }

  [data-body="colors"] .step-desc,
  [data-body="accessories"] .step-desc,
  [data-body="review"] .step-desc {
    display: none;
  }

  .material-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .material-row {
    display: flex;
    flex-direction: column;
    align-items: center;

    justify-content: flex-end;
    gap: 6px;
    padding: 0;
    border-top: none;
  }

  .material-row:first-child {
    padding-top: 0;
  }

  .material-text {
    order: -1;
    align-items: center;
    text-align: center;
  }

  .material-title {
    font-size: 11.5px;
    line-height: 1.25;
  }

  .material-title .mt-part { display: inline; }
  .material-title .mt-filament { display: none; }

  .material-desc,
  .material-tag {
    display: none;
  }

  .material-swatches {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: auto;
    width: auto;
    max-width: none;
    max-height: 55vh;
    z-index: 1200;
  }

  [data-body="accessories"] .switch-desc {
    display: none;
  }

  .step-nav-review .btn {
    flex: 1 1 0;
  }

  .step-nav-review #addToCartBtn {
    margin-left: 0;
  }
}

.pwc-overlay {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(15, 18, 38, .5);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  animation: fadeIn .18s ease;
}
.pwc-overlay[hidden] { display: none; }
.pwc-card {
  width: 100%; max-width: 420px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 26px 22px;
  animation: popIn .2s cubic-bezier(.2, .8, .3, 1);
}
.pwc-card { position: relative; }
.pwc-close { top: 10px; right: 10px; }
.pwc-msg {
  margin: 0 0 18px;
  padding-right: 26px;
  font-size: 14px; line-height: 1.55; color: var(--text-mid);
  white-space: pre-line;
}

.pwc-actions {
  display: flex; gap: 10px;
}
.pwc-actions .btn {
  flex: 1 1 0;
  justify-content: center;
}

.pwc-actions .btn-primary {
  background: var(--grad-warm);
  background-size: 180% 100%;
  background-position: 0% 50%;
}
.pwc-actions .btn-primary:hover {
  background-position: 100% 50%;
}

.pw-tut {
  position: fixed;
  inset: 0;
  z-index: 1300;
}

.pw-tut-passthrough {
  pointer-events: none;
}

.pw-tut-passthrough .pw-tut-tip {
  pointer-events: auto;
}

.pw-tut-spot {
  position: fixed;
  box-shadow: 0 0 0 200vmax rgba(15, 18, 38, .55);
  pointer-events: none;
  transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease;
}

.pw-tut-tip {
  position: fixed;
  width: max-content;
  max-width: min(320px, calc(100vw - 20px));
  background: white;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px 12px;
  transition: left .25s ease, top .25s ease;
}

.pw-tut-title {
  margin: 0 0 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}

.pw-tut-text {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-mid);
}

.pw-tut-foot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pw-tut-dots {
  display: flex;
  gap: 5px;
  margin: 0 auto;
}

.pw-tut-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line);
}

.pw-tut-dot.is-on {
  background: var(--grad-warm-subtle);
}

.pw-tut-nav {
  display: flex;
  gap: 8px;
}

.pw-tut-skip,
.pw-tut-back {
  border: none;
  background: none;
  padding: 6px 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
}

.pw-tut-skip:hover,
.pw-tut-back:hover {
  color: var(--text);
}

.pw-tut-next {
  border: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad-warm-subtle);
  color: white;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.pw-tut-next:hover {
  filter: brightness(1.06);
}

.pw-tut-caret {
  position: absolute;
  width: 10px;
  height: 10px;
  background: white;
  transform: translate(-50%, -50%) rotate(45deg);
}

.pw-tut-tip[data-side="bottom"] .pw-tut-caret {
  top: 0;
  border-left: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
}

.pw-tut-tip[data-side="top"] .pw-tut-caret {
  top: 100%;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pw-tut-tip[data-side="right"] .pw-tut-caret {
  left: 0;
  border-left: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.pw-tut-tip[data-side="left"] .pw-tut-caret {
  left: 100%;
  border-right: 1px solid var(--line-soft);
  border-top: 1px solid var(--line-soft);
}
