:root {
  --navy: #031630;
  --navy-soft: #052346;
  --white: #ffffff;
  --text: #e8eef5;
  --text-dark: #1a2332;
  --muted: #9eb3c8;
  --cyan: #0cf1c5;
  --sky: #6ec1e4;
  --teal: #3c9692;
  --gradient-btn: linear-gradient(282deg, #6ec1e4 0%, #3c9692 100%);
  --gradient-btn-hover: linear-gradient(282deg, #5ab3dc 0%, #348885 100%);
  --radius: 16px;
  --wizard-header-h: 118px;
  --wizard-footer-h: 58px;
  --wizard-step-min-h: 640px;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-premium-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-premium-enter: cubic-bezier(0.08, 1, 0.22, 1);
  --motion-step-enter: 3s;
  --motion-visual-rise: 3.2s;
  --motion-step-leave: 0.72s;
  --motion-review-enter: 1.15s;
  --motion-stagger-visual: 0.42s;
  --motion-stagger-panel: 0.78s;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(110, 193, 228, 0.35) transparent;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--navy);
  color: var(--text);
}

.wizard-app {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.wizard-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 16px 32px 14px;
  border-bottom: 1px solid rgba(110, 193, 228, 0.12);
  background: rgba(3, 22, 48, 0.88);
  backdrop-filter: blur(14px);
}

.wizard-header-inner {
  width: min(1400px, 100%);
  margin: 0 auto;
}

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

.wizard-home {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  text-decoration: none;
}

.wizard-configurator-tag {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(158, 179, 200, 0.85);
}

.wizard-progress-wrap {
  margin-top: 16px;
  position: relative;
}

.progress-rail {
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-btn);
  box-shadow: 0 0 14px rgba(110, 193, 228, 0.55);
  transition: width 1.35s var(--ease-premium-out);
}

.progress-nodes {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: -8px 0 0;
  padding: 0;
  gap: 4px;
}

.progress-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.progress-node-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(5, 35, 70, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.14);
  transition:
    transform 0.45s var(--ease-out-expo),
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    background 0.45s ease;
}

.progress-node.is-done .progress-node-dot {
  background: linear-gradient(135deg, #6ec1e4, #3c9692);
  border-color: transparent;
  box-shadow: 0 0 10px rgba(110, 193, 228, 0.35);
}

.progress-node.is-active .progress-node-dot {
  background: var(--cyan);
  border-color: rgba(12, 241, 197, 0.45);
  box-shadow:
    0 0 0 5px rgba(12, 241, 197, 0.12),
    0 0 18px rgba(12, 241, 197, 0.45);
  transform: scale(1.2);
  animation: progressPulse 2.4s ease-in-out infinite;
}

@keyframes progressPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 5px rgba(12, 241, 197, 0.12),
      0 0 18px rgba(12, 241, 197, 0.45);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(12, 241, 197, 0.08),
      0 0 24px rgba(12, 241, 197, 0.55);
  }
}

.progress-node-label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(158, 179, 200, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.35s ease, opacity 0.35s ease;
}

.progress-node.is-done .progress-node-label {
  color: rgba(110, 193, 228, 0.75);
}

.progress-node.is-active .progress-node-label {
  color: var(--cyan);
  font-weight: 600;
  opacity: 1;
}

.wizard-step-count {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 0;
}

.step-current-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.step-current-meta {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wizard-main {
  flex: 1 1 auto;
  width: min(1400px, 100%);
  margin: 0 auto;
  padding: 12px 32px calc(var(--wizard-footer-h) + 28px);
}

.wizard-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-step-block {
  scroll-margin-top: var(--wizard-header-h);
}

.wizard-step-block.is-active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: var(--wizard-step-min-h);
  padding: 12px 0 28px;
}

.wizard-step-block.is-active .wizard-stage,
.wizard-step-block.is-active .summary-panel {
  width: 100%;
  flex: 1;
  align-items: center;
}

.wizard-step-block.is-complete.review-enter {
  animation: reviewEnter var(--motion-review-enter) var(--ease-premium-out) both;
}

.wizard-step-block.is-active.is-leaving .wizard-stage,
.wizard-step-block.is-active.is-leaving .summary-panel {
  animation: stepLeave var(--motion-step-leave) var(--ease-premium-out) both;
  pointer-events: none;
}

.wizard-step-block.is-active.is-entering .wizard-visual,
.wizard-step-block.is-active.is-entering .wizard-visual--graphic,
.wizard-step-block.is-active.is-entering .summary-panel > .wizard-visual {
  opacity: 0;
  animation: visualRise var(--motion-visual-rise) var(--ease-premium-enter) var(--motion-stagger-visual) both;
  will-change: opacity, transform;
}

.wizard-step-block.is-active.is-entering .wizard-panel {
  opacity: 0;
  animation: panelRise var(--motion-step-enter) var(--ease-premium-enter) var(--motion-stagger-panel) both;
  will-change: opacity, transform;
}

.wizard-step-block.is-active.is-entering .summary-card {
  opacity: 0;
  animation: panelRise var(--motion-step-enter) var(--ease-premium-enter) calc(var(--motion-stagger-panel) + 0.14s) both;
  will-change: opacity, transform;
}

@keyframes reviewEnter {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes stepLeave {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-40px);
  }
}

@keyframes visualRise {
  0% {
    opacity: 0;
    transform: translateY(48px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes panelRise {
  0% {
    opacity: 0;
    transform: translateY(36px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.wizard-app.is-transitioning .choice-card,
.wizard-app.is-transitioning .step-review,
.wizard-app.is-transitioning .btn {
  pointer-events: none;
}

.wizard-app.is-transitioning .wizard-main {
  transition: opacity 0.55s var(--ease-premium-out);
}

.step-review {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(110, 193, 228, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.45s var(--ease-premium-out),
    background 0.45s var(--ease-premium-out),
    transform 0.45s var(--ease-premium-out);
}

.step-review:hover {
  border-color: rgba(110, 193, 228, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.step-review-num,
.step-review-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(5, 35, 70, 0.8);
  border: 1px solid rgba(110, 193, 228, 0.2);
}

.step-review-num {
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-weight: 700;
}

.step-review-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 4px;
}

.step-review-copy strong {
  font-size: 0.92rem;
}

.step-review-copy span {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-review-edit {
  flex: 0 0 auto;
  color: var(--sky);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: center;
}

/* Model step — 3D ring picker */
.wizard-stage--model {
  grid-template-columns: 1fr;
  max-width: none;
  width: 100%;
}

.wizard-step-block--model {
  min-height: auto;
  padding-bottom: 8px;
  justify-content: flex-start;
}

.wizard-step-block--summary {
  min-height: auto;
  padding-bottom: 24px;
}

.wizard-app[data-step="model"] .wizard-main {
  padding-bottom: 12px;
}

.wizard-app[data-step="model"] .wizard-footer {
  background: transparent;
  backdrop-filter: none;
  padding-top: 0;
  min-height: 0;
}

.wizard-app[data-step="config"] .wizard-footer-note {
  display: none;
}

.wizard-app[data-manual-advance="true"] .wizard-footer {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(3, 22, 48, 0.92) 35%);
  backdrop-filter: blur(6px);
  padding-top: 12px;
}

.wizard-app[data-manual-advance="true"] .wizard-footer-note {
  display: block;
}

.model-picker {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 4px;
  padding-bottom: 8px;
}

.model-picker-head {
  width: min(640px, 100%);
  text-align: center;
}

.model-picker-head .wizard-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.model-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(110, 193, 228, 0.28);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.model-search-icon {
  color: var(--sky);
  font-size: 1.1rem;
  opacity: 0.85;
}

.model-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 14px 0;
  outline: none;
}

.model-search-input::placeholder {
  color: rgba(158, 179, 200, 0.65);
}

.model-ring-scene {
  position: relative;
  width: 100%;
  max-width: 960px;
  height: min(40vh, 360px);
  min-height: 260px;
  margin: 4px auto 0;
  perspective: 1100px;
  perspective-origin: 50% 42%;
}

.model-ring-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 58%, transparent 18%, rgba(3, 22, 48, 0.72) 72%);
  pointer-events: none;
  z-index: 4;
}

.model-ring-floor {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: min(72%, 520px);
  height: 72px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55) 0%, transparent 72%);
  filter: blur(10px);
  z-index: 1;
}

.model-ring-orbit {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(78%, 560px);
  height: min(78%, 560px);
  transform: translate(-50%, -50%) rotateX(72deg);
  border: 1px solid rgba(110, 193, 228, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(110, 193, 228, 0.08),
    inset 0 0 30px rgba(110, 193, 228, 0.06);
  z-index: 1;
}

.model-ring-spotlight {
  position: absolute;
  left: 50%;
  top: 28%;
  width: 220px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(12, 241, 197, 0.12), transparent 68%);
  pointer-events: none;
  z-index: 2;
}

.model-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transition: transform 0.85s var(--ease-out-expo);
  z-index: 3;
}

.model-ring.is-locking {
  transition: transform 1s var(--ease-out-expo);
}

.model-ring-scene.is-confirming .model-ring-item.is-focused .model-ring-card {
  animation: modelCardLock 0.95s var(--ease-out-expo) forwards;
}

@keyframes modelCardLock {
  0% {
    transform: translateZ(36px) scale(1);
  }
  100% {
    transform: translateZ(72px) scale(1.12);
    box-shadow:
      0 28px 60px rgba(0, 0, 0, 0.55),
      0 0 40px rgba(12, 241, 197, 0.35);
  }
}

.model-ring-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 158px;
  margin-left: -79px;
  margin-top: -118px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: opacity 0.35s ease;
}

.model-ring-item.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.model-ring-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(110, 193, 228, 0.28);
  background: linear-gradient(165deg, rgba(12, 38, 72, 0.96), rgba(5, 22, 48, 0.98));
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.45),
    0 6px 0 rgba(110, 193, 228, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateZ(32px);
  transform-style: preserve-3d;
  transition:
    transform 0.55s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  backface-visibility: hidden;
}

.model-ring-item.is-focused .model-ring-card {
  border-color: rgba(12, 241, 197, 0.55);
  transform: translateZ(52px) scale(1.06);
  box-shadow:
    0 26px 50px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(12, 241, 197, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.model-ring-item:not(.is-focused):not(.is-disabled):hover .model-ring-card {
  transform: translateZ(44px) scale(1.03);
  border-color: rgba(110, 193, 228, 0.45);
}

.model-ring-card img {
  width: 100%;
  height: 88px;
  object-fit: contain;
}

.model-ring-code {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.model-ring-name {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.35;
}

.model-ring-soon {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.model-ring-empty {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--muted);
  white-space: nowrap;
}

.model-picker-controls {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  width: min(720px, 100%);
  margin-top: 8px;
  padding: 0 8px 4px;
  position: relative;
  z-index: 30;
}

.model-picker-foot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 18px 20px 14px;
  border-radius: 16px;
  background: rgba(3, 22, 48, 0.72);
  border: 1px solid rgba(110, 193, 228, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

.model-ring-nav {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(110, 193, 228, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.model-ring-nav:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 193, 228, 0.5);
  background: rgba(255, 255, 255, 0.07);
}

.model-focused-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.model-focused-label strong {
  color: var(--cyan);
  font-weight: 700;
}

.model-picker-foot .btn-primary {
  width: 100%;
  max-width: 360px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .progress-fill,
  .progress-node-dot {
    transition: none;
  }

  .progress-node.is-active .progress-node-dot {
    animation: none;
  }

  .model-ring,
  .model-ring-card {
    transition: none;
  }

  .model-ring-scene.is-confirming .model-ring-item.is-focused .model-ring-card {
    animation: none;
  }

  .wizard-step-block.is-active.is-leaving .wizard-stage,
  .wizard-step-block.is-active.is-leaving .summary-panel,
  .wizard-step-block.is-active.is-entering .wizard-visual,
  .wizard-step-block.is-active.is-entering .wizard-visual--graphic,
  .wizard-step-block.is-active.is-entering .wizard-panel,
  .wizard-step-block.is-active.is-entering .summary-panel > .wizard-visual,
  .wizard-step-block.is-active.is-entering .summary-card,
  .wizard-step-block.is-complete.review-enter {
    animation: none;
  }
}

.wizard-visual {
  position: relative;
  padding: 28px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(110, 193, 228, 0.12), transparent 45%),
    linear-gradient(160deg, rgba(5, 35, 70, 0.95), rgba(3, 22, 48, 0.98));
  border: 1px solid rgba(110, 193, 228, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.wizard-visual img {
  width: 100%;
  max-height: min(46vh, 440px);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.38));
}

.wizard-visual-img--rounded {
  width: auto;
  max-width: 100%;
  max-height: min(46vh, 440px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 24px;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.38));
}

.wizard-visual--summary-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wizard-visual--graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(46vh, 440px);
}

.wizard-visual-graphic {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  color: #6ec1e4;
}

.step-illus-svg {
  width: 100%;
  height: auto;
  display: block;
}

.step-illus-line {
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
}

.step-illus-line--soft {
  stroke: #3c9692;
  opacity: 0.75;
}

.step-illus-line--ghost {
  opacity: 0.35;
}

.step-illus-node {
  fill: #0cf1c4;
}

.step-illus-node--ghost {
  fill: rgba(110, 193, 228, 0.35);
}

.step-illus-box {
  fill: rgba(110, 193, 228, 0.08);
  stroke: currentColor;
  stroke-width: 4;
}

.step-illus-box--ghost {
  opacity: 0.35;
}

.step-illus-axis {
  stroke: rgba(110, 193, 228, 0.45);
  stroke-width: 2;
}

.step-illus-spring {
  stroke: #3c9692;
  stroke-width: 3;
  stroke-linecap: round;
}

.step-illus-safety {
  fill: rgba(255, 107, 107, 0.22);
  stroke: #ff8a8a;
  stroke-width: 3;
}

.step-illus-grip-label {
  fill: #ff8a8a;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.step-illus-node--soft {
  fill: #3c9692;
}

.step-illus-hint {
  fill: rgba(158, 179, 200, 0.95);
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.grip-schematic-shape {
  fill: rgba(110, 193, 228, 0.04);
  stroke: #6ec1e4;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.grip-schematic-shape--soft {
  stroke: #3c9692;
  fill: rgba(60, 150, 146, 0.07);
}

.grip-schematic-shape--deep {
  stroke: #4898c4;
  fill: rgba(72, 152, 196, 0.1);
}

.grip-schematic-bellows {
  fill: rgba(110, 193, 228, 0.04);
  stroke: #6ec1e4;
  stroke-width: 2.4;
  stroke-linejoin: round;
}

.grip-schematic-shape--ghost {
  stroke: rgba(110, 193, 228, 0.28);
  fill: rgba(110, 193, 228, 0.03);
}

.grip-schematic-highlight {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 2.2;
  stroke-linecap: round;
}

.grip-schematic-safety {
  fill: rgba(255, 120, 120, 0.1);
  stroke: #ff8a8a;
  stroke-width: 2.4;
}

.grip-schematic-safety-text {
  fill: #ff9a9a;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.grip-schematic-line {
  stroke: #6ec1e4;
  stroke-width: 2;
}

.grip-schematic-accent {
  fill: #0cf1c4;
  stroke: none;
}

.grip-product-photo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 124px;
  padding: 6px 4px 2px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 58%, rgba(110, 193, 228, 0.1), transparent 72%);
}

.grip-product-photo {
  width: 100%;
  max-width: 118px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.5));
}

.option-card-grid--grip-photo .choice-card {
  min-height: 188px;
}

.wizard-visual-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(12, 241, 197, 0.12);
  border: 1px solid rgba(12, 241, 197, 0.35);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard-panel {
  padding: 8px 4px;
}

.wizard-eyebrow {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.wizard-title {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
}

.wizard-subtitle {
  margin: 12px 0 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
}

.model-grid,
.grip-grid {
  display: grid;
  gap: 16px;
}

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

.grip-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

/* AT16-style grip catalog picker */
.wizard-stage--grip-catalog {
  align-items: start;
  gap: 28px;
}

.grip-catalog-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: visible;
}

.grip-catalog-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 420px;
}

.grip-catalog-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 320px;
}

.grip-catalog-preview img {
  width: 100%;
  max-height: min(42vh, 380px);
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.45));
}

.grip-catalog-preview-code {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.grip-catalog-sheet-btn {
  border: 1px solid rgba(110, 193, 228, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--sky);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-premium-out), background 0.3s var(--ease-premium-out);
}

.grip-catalog-sheet-btn:hover {
  border-color: rgba(110, 193, 228, 0.6);
  background: rgba(255, 255, 255, 0.07);
}

.grip-catalog-panel .wizard-subtitle {
  max-width: none;
}

.grip-search-wrap {
  margin-top: 16px;
}

.grip-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.grip-category-chip {
  border: 1px solid rgba(110, 193, 228, 0.25);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition:
    border-color 0.3s var(--ease-premium-out),
    color 0.3s var(--ease-premium-out),
    background 0.3s var(--ease-premium-out);
}

.grip-category-chip.is-active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(12, 241, 197, 0.1);
}

.grip-catalog-scroll {
  margin-top: 14px;
  overflow: visible;
  padding-right: 0;
  scrollbar-width: none;
}

.grip-catalog-scroll::-webkit-scrollbar {
  display: none;
}

.grip-catalog-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.grip-catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px;
  border-radius: 12px;
  border: 1.5px solid rgba(110, 193, 228, 0.18);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    transform 0.35s var(--ease-premium-out),
    border-color 0.35s var(--ease-premium-out),
    background 0.35s var(--ease-premium-out);
}

.grip-catalog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(110, 193, 228, 0.45);
}

.grip-catalog-card.is-selected {
  border-color: var(--cyan);
  background: rgba(12, 241, 197, 0.08);
  box-shadow: 0 10px 28px rgba(12, 241, 197, 0.12);
}

.grip-catalog-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.grip-catalog-thumb {
  width: 100%;
  height: 64px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.grip-catalog-code {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.04em;
}

.grip-catalog-count {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.grip-catalog-empty {
  padding: 24px 12px;
  text-align: center;
  color: var(--muted);
}

.grip-catalog-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 1100px);
  width: 100%;
}

.grip-catalog-modal::backdrop {
  background: rgba(3, 12, 28, 0.82);
  backdrop-filter: blur(6px);
}

.grip-catalog-modal-inner {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.grip-catalog-modal-inner img {
  display: block;
  width: 100%;
  height: auto;
}

.grip-catalog-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(3, 22, 48, 0.72);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.choice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 14px;
  border: 1.5px solid rgba(110, 193, 228, 0.2);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    transform 0.45s var(--ease-premium-out),
    border-color 0.45s var(--ease-premium-out),
    box-shadow 0.45s var(--ease-premium-out),
    background 0.45s var(--ease-premium-out);
}

.choice-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110, 193, 228, 0.45);
  background: rgba(255, 255, 255, 0.05);
}

.choice-card.is-selected {
  border-color: var(--cyan);
  background: rgba(12, 241, 197, 0.08);
  box-shadow: 0 16px 40px rgba(12, 241, 197, 0.12);
  animation: choicePulse 0.72s var(--ease-premium-out);
}

@keyframes choicePulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.choice-card.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

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

.choice-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.32));
}

.option-card-grid .choice-card {
  min-height: 132px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.option-card-grid--illus .choice-card {
  min-height: 168px;
  padding-top: 14px;
}

.choice-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 88px;
  margin: 0 auto 4px;
  color: #6ec1e4;
}

.step-illus-svg--compact {
  max-height: 72px;
}

.step-illus-svg--compact .step-illus-line {
  stroke-width: 4;
}

.choice-code {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cyan);
}

.choice-label {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.45;
}

.choice-soon {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.select-field {
  width: 100%;
  appearance: none;
  border: 1.5px solid rgba(110, 193, 228, 0.25);
  border-radius: 12px;
  padding: 16px 48px 16px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background:
    var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 16px center;
}

.select-field:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(110, 193, 228, 0.2);
}

.summary-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.summary-card {
  padding: 28px;
  border-radius: 18px;
  background: var(--white);
  color: var(--text-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.summary-card h2 {
  margin: 0 0 14px;
  font-family: Arial, sans-serif;
}

.model-code {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  background: #f4f8fb;
  border: 1px solid #dbe5ef;
  font-family: Consolas, "Courier New", monospace;
  font-size: 1rem;
  font-weight: 700;
  color: #0078d7;
}

.summary-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
}

.summary-list li + li {
  border-top: 1px solid #e2e8f0;
}

.summary-list span {
  color: #64748b;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  position: relative;
  z-index: 25;
}

.summary-status {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: #64748b;
}

.summary-status.success {
  color: var(--teal);
}

.summary-status.error {
  color: #c53030;
}

.btn {
  border: 0;
  border-radius: 14px;
  padding: 15px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 10px 28px rgba(60, 150, 146, 0.35);
}

.btn-primary:hover {
  background: var(--gradient-btn-hover);
}

.btn-secondary {
  background: #fff;
  color: #0078d7;
  border: 1.5px solid #cbd5e1;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid rgba(110, 193, 228, 0.25);
}

.quote-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.quote-hint {
  margin: 0 0 14px;
  color: #64748b;
}

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

.field-grid label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: #64748b;
}

.field-grid label.full {
  grid-column: 1 / -1;
}

.field-grid input,
.field-grid textarea {
  width: 100%;
  border: 1px solid #dbe5ef;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.form-status {
  margin-top: 10px;
  color: #64748b;
}

.form-status.success {
  color: var(--teal);
}

.form-status.error {
  color: #c53030;
}

.wizard-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 32px 14px;
  width: min(1400px, 100%);
  margin: 0 auto;
  background: transparent;
  pointer-events: none;
}

.wizard-footer .btn,
.wizard-footer-note {
  pointer-events: auto;
}

.wizard-footer-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  flex: 1;
}

.wizard-footer-next {
  margin-left: auto;
}

.btn-ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.wizard-app[data-step="summary"] .wizard-footer {
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(3, 22, 48, 0.92) 35%);
  backdrop-filter: blur(6px);
  padding-top: 12px;
}

@media (max-width: 1024px) {
  :root {
    --wizard-header-h: 108px;
    --wizard-footer-h: 72px;
  }

  .progress-node-label {
    display: none;
  }

  .progress-node.is-active .progress-node-label {
    display: block;
  }

  .wizard-stage,
  .summary-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .wizard-stage:not(.wizard-stage--model) .wizard-panel {
    order: -1;
  }

  .model-ring-scene {
    height: 320px;
    min-height: 280px;
    perspective: 900px;
  }

  .model-ring-item {
    width: 132px;
    margin-left: -66px;
    margin-top: -102px;
  }

  .model-ring-card img {
    height: 72px;
  }

  .model-picker-controls {
    flex-wrap: wrap;
  }

  .model-ring-nav {
    order: 2;
  }

  .model-picker-foot {
    order: 1;
    width: 100%;
  }

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

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

  .grip-catalog-visual {
    min-height: 240px;
  }
  .wizard-header,
  .wizard-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

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