@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Pinyon Script";
  src: url("/fonts/pinyon-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #10100e;
  --bg-deep: #0a0a08;
  --surface: #161614;
  --surface-2: #1b1b18;
  --paper: #f1ece2;
  --paper-soft: #d6cfc2;
  --muted: #969084;
  --faint: #6e685f;
  --accent: #c7a168;
  --accent-light: #e5c48f;
  --accent-dim: #8d7048;
  --line: rgba(241, 236, 226, 0.12);
  --line-strong: rgba(241, 236, 226, 0.24);
  --line-faint: rgba(241, 236, 226, 0.06);
  --error: #d89c86;
  --serif: "Cormorant Garamond", "Bodoni 72", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --header-h: 72px;
  --footer-h: 86px;
  --ease: cubic-bezier(0.22, 0.68, 0.24, 1);
}

* {
  box-sizing: border-box;
}
html {
  height: 100%;
  background: var(--bg);
}
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(199, 161, 104, 0.07), transparent 34rem),
    var(--bg);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll {
  overflow: hidden;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
button,
input,
textarea {
  font: inherit;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
}
[hidden] {
  display: none !important;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 1px solid var(--accent-light);
  outline-offset: 3px;
}
.page-noise {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0.028;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ------------------------------ app frame ------------------------------ */
.app-frame {
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 0;
}
.app-header {
  position: relative;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  flex-shrink: 0;
  padding: 0 clamp(18px, 2.8vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(16, 16, 14, 0.9);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.05;
  stroke-linecap: round;
}
.brand-type {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-descriptor {
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.wizard-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-width: 0;
}
.progress-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.progress-meta span {
  color: var(--faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.progress-meta strong {
  color: var(--paper-soft);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.progress-line {
  position: relative;
  width: clamp(70px, 9vw, 140px);
  height: 1px;
  background: var(--line-faint);
  overflow: hidden;
}
.progress-line i {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.progress-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.progress-dot {
  position: relative;
  width: 5px;
  height: 5px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: var(--line-strong);
  cursor: default;
  transition: background 0.2s ease, transform 0.2s ease;
}
.progress-dot.is-complete {
  background: var(--accent-dim);
}
.progress-dot.is-active {
  background: var(--accent-light);
  transform: scale(1.25);
}
.progress-dot[data-clickable="true"] {
  cursor: pointer;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}
.header-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.header-button:hover {
  color: var(--paper);
  border-color: var(--line);
}
.header-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
}
.language-button span {
  color: var(--accent-light);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.wizard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 42%) minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.step-screen {
  display: none;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
  z-index: 10;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 86% 8%, rgba(31, 128, 143, 0.27), transparent 25rem),
    radial-gradient(circle at 8% 92%, rgba(193, 78, 60, 0.21), transparent 27rem),
    url('/background/page-art.webp?v=20261128-11') center / cover no-repeat,
    radial-gradient(circle at 0% 100%, rgba(199, 161, 104, 0.045), transparent 20rem),
    var(--bg);
}
.step-screen.is-active {
  display: block;
  animation: stepIn 0.5s var(--ease) both;
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
}
.step-scroll {
  height: 100%;
  overflow-y: auto;
  padding: clamp(24px, 4vh, 44px) clamp(22px, 3vw, 48px) 30px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.step-scroll::-webkit-scrollbar {
  width: 4px;
}
.step-scroll::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}
.step-heading {
  margin-bottom: clamp(20px, 3.1vh, 32px);
}
.step-heading.compact {
  margin-bottom: clamp(16px, 2.4vh, 24px);
}
.step-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.step-kicker::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-strong);
}
.step-heading h1,
.order-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 4vw, 4.25rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.step-lede {
  max-width: 31rem;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
.field-label {
  display: block;
  color: var(--paper-soft);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ------------------------------ footer -------------------------------- */
.app-footer {
  position: relative;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  height: var(--footer-h);
  flex-shrink: 0;
  padding: 0 clamp(18px, 2.8vw, 42px);
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.footer-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}
.footer-back:hover {
  color: var(--paper);
}
.footer-back.is-hidden {
  visibility: hidden;
}
.footer-back svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
}
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.footer-center span:first-child {
  color: var(--muted);
}
.footer-deposit {
  color: var(--accent-dim) !important;
  font-size: 6.5px !important;
}
.footer-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: clamp(16px, 2.4vw, 30px);
}
.footer-price-block {
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.footer-price-block > span {
  color: var(--faint);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-price-block strong {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.footer-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 150px;
  min-height: 46px;
  padding: 0 19px;
  border: 1px solid var(--paper);
  background: var(--paper);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.footer-next:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}
.footer-next svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
}
.footer-next.is-submitting {
  opacity: 0.65;
  cursor: wait;
}
.footer-next:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ------------------------------- stage -------------------------------- */
.stage-shell {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 8%, rgba(31, 128, 143, 0.27), transparent 25rem),
    radial-gradient(circle at 8% 92%, rgba(193, 78, 60, 0.21), transparent 27rem),
    url('/background/page-art.webp?v=20261128-11') center / cover no-repeat,
    radial-gradient(ellipse at 50% 38%, rgba(199, 161, 104, 0.1), transparent 30%),
    radial-gradient(ellipse at 52% 48%, rgba(255, 255, 255, 0.07), transparent 56%),
    linear-gradient(157deg, #1b1a17 0%, #11110f 55%, #090908 100%);
  isolation: isolate;
}
.stage-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 20%, transparent 74%, rgba(0, 0, 0, 0.28));
}
.stage-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(to right, var(--line-faint) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-faint) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  mask-image: radial-gradient(ellipse at center, black 3%, transparent 74%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 3%, transparent 74%);
}
.stage-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(68vh, 70vw);
  height: min(68vh, 70vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 246, 230, 0.07), transparent 62%);
  pointer-events: none;
}
.stage-word {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 236, 226, 0.045);
  font-family: var(--serif);
  font-size: clamp(8rem, 17vw, 20rem);
  font-weight: 300;
  letter-spacing: 0.16em;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
#clipCanvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
  outline: none;
}
#clipCanvas.is-grabbing {
  cursor: grabbing;
}
.canvas-fallback {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}
.canvas-fallback small {
  color: var(--faint);
  font-size: 9px;
}
.stage-topline {
  position: absolute;
  top: 20px;
  left: clamp(18px, 2.4vw, 32px);
  right: clamp(18px, 2.4vw, 32px);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.stage-live {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--paper-soft);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.stage-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(199, 161, 104, 0.1);
  animation: livePulse 2.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.stage-obj {
  color: var(--faint);
  font-size: 6.5px;
  letter-spacing: 0.18em;
}
.stage-tools {
  position: absolute;
  top: 17px;
  right: clamp(18px, 2.4vw, 32px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stage-tool {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(14, 14, 12, 0.2);
  color: var(--muted);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.stage-tool:hover {
  color: var(--paper);
  border-color: var(--line-strong);
}
.stage-tool[aria-pressed="true"],
.stage-tool.is-active {
  color: var(--accent-light);
  border-color: rgba(199, 161, 104, 0.55);
  background: rgba(199, 161, 104, 0.1);
}
.stage-tool svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stage-model {
  position: absolute;
  left: clamp(18px, 2.4vw, 32px);
  bottom: 20px;
  z-index: 5;
  pointer-events: none;
}
.stage-model span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.stage-model strong {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stage-face {
  position: absolute;
  right: clamp(18px, 2.4vw, 32px);
  bottom: 18px;
  z-index: 5;
  display: flex;
  padding: 2px;
  border: 1px solid var(--line-strong);
  background: rgba(14, 14, 12, 0.32);
  backdrop-filter: blur(9px);
}
.stage-face button {
  padding: 6px 9px;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.stage-face button:hover {
  color: var(--paper-soft);
}
.stage-face button.is-active {
  background: var(--paper);
  color: var(--bg);
}
.stage-hint {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 5px;
  transform: translateX(-50%);
  color: var(--faint);
  font-size: 6.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
}
.stage-hint svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
}
.render-badge {
  position: absolute;
  top: 54px;
  right: clamp(18px, 2.4vw, 32px);
  z-index: 5;
  padding: 5px 8px;
  border: 1px solid rgba(199, 161, 104, 0.33);
  background: rgba(14, 14, 12, 0.5);
  color: var(--accent-light);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body[data-step="4"] .render-badge {
  opacity: 1;
}
body[data-step="4"] .stage-tools,
body[data-step="4"] .stage-face,
body[data-step="4"] .stage-model,
body[data-step="4"] .stage-hint {
  opacity: 0;
  pointer-events: none;
}
body[data-step="4"] .stage-shell {
  grid-column: 1 / -1;
}
body[data-step="4"] .step-screen[data-step="4"] {
  display: block;
  grid-column: 1 / -1;
  grid-row: 1;
  border-right: 0;
  background: transparent;
  pointer-events: none;
}
body[data-step="4"] .stage-live {
  opacity: 0;
}

/* ---------------------------- render overlay --------------------------- */
.render-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
body[data-step="4"] .render-overlay {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: clamp(42px, 7vh, 78px) clamp(24px, 4vw, 62px) clamp(24px, 4vh, 48px);
}
.render-copy {
  align-self: flex-start;
  width: min(380px, 32vw);
  pointer-events: auto;
}
.render-copy .step-kicker {
  margin-bottom: 17px;
}
.render-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 4.7vw, 5.2rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.render-lede {
  max-width: 25rem;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}
.render-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 360px;
  margin-top: clamp(20px, 3.4vh, 36px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.render-specs > div {
  padding: 9px 11px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(14, 14, 12, 0.24);
  backdrop-filter: blur(6px);
}
.render-specs span {
  display: block;
  margin-bottom: 3px;
  color: var(--faint);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.render-specs strong {
  display: block;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.15;
}
.render-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  pointer-events: auto;
}
.render-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  width: min(220px, 22vw);
  margin-top: 34px;
}
.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 38px;
  padding: 0 11px;
  border: 1px solid rgba(241, 236, 226, 0.22);
  background: rgba(14, 14, 12, 0.44);
  color: var(--paper-soft);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.glass-button:hover {
  background: rgba(30, 29, 26, 0.75);
  border-color: var(--line-strong);
}
.glass-button.is-active {
  border-color: var(--accent-dim);
  color: var(--accent-light);
  background: rgba(199, 161, 104, 0.1);
}
.glass-button svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
}
.render-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: min(300px, 28vw);
  padding: 12px;
  border: 1px solid rgba(199, 161, 104, 0.2);
  background: rgba(14, 14, 12, 0.42);
  backdrop-filter: blur(10px);
}
.render-note > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
}
.render-note p {
  margin: 0;
  color: var(--faint);
  font-size: 8px;
  line-height: 1.55;
}
.render-note strong {
  color: var(--paper-soft);
  font-weight: 500;
}
.step-render {
  background: transparent;
  border-right: 0;
  pointer-events: none;
}
.render-screen-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  pointer-events: none;
}
body[data-step="4"] .render-screen-top {
  display: flex;
}
.render-download-mobile {
  display: none;
  pointer-events: auto;
}
#renderDownloadMobile {
  background: transparent;
}

/* ----------------------------- language ------------------------------- */
.language-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.language-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px 13px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.22s ease, background 0.22s ease;
}
.language-card:hover {
  border-color: var(--line-strong);
}
.language-card.is-selected {
  border-color: var(--accent-dim);
  background: rgba(199, 161, 104, 0.07);
}
.language-code {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  border: 1px solid var(--line-strong);
  color: var(--accent-light);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.language-card.is-selected .language-code {
  border-color: var(--accent-dim);
  background: rgba(199, 161, 104, 0.1);
}
.language-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.language-check {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.language-card.is-selected .language-check {
  border-color: var(--accent);
  background: var(--accent);
}
.language-note {
  max-width: 26rem;
  margin: 16px 0 0;
  color: var(--faint);
  font-size: 9.5px;
  line-height: 1.55;
}

/* ------------------------------- models -------------------------------- */
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.025), transparent 60%),
    var(--surface);
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.24s ease, background 0.24s ease, transform 0.32s var(--ease);
}
.model-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.model-card.is-selected {
  border-color: var(--accent-dim);
  background:
    linear-gradient(155deg, rgba(199, 161, 104, 0.11), transparent 57%),
    var(--surface-2);
}
.model-card.is-selected::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 2px;
  background: var(--accent);
}
.model-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-height: 13px;
}
.model-index {
  color: var(--faint);
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}
.model-badge {
  padding: 3px 5px;
  border: 1px solid rgba(199, 161, 104, 0.27);
  color: var(--accent);
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.model-art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(122px, 18vh, 172px);
  margin: 2px 0 5px;
  border-bottom: 1px solid var(--line-faint);
  background: radial-gradient(ellipse at 50% 54%, rgba(255, 255, 255, 0.08), transparent 58%);
}
.model-art svg {
  width: 78%;
  height: 94%;
  max-height: 160px;
  filter: drop-shadow(0 14px 10px rgba(0, 0, 0, 0.4));
}
.model-name {
  display: block;
  margin: 9px 0 2px;
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 27px);
  font-weight: 400;
  line-height: 1;
}
.model-subtitle {
  display: block;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.model-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
}
.model-price {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--paper-soft);
}
.model-radio {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.model-card.is-selected .model-radio {
  border-color: var(--accent);
}
.model-card.is-selected .model-radio::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.model-description {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  margin-top: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line-faint);
}
.model-description p {
  max-width: 32rem;
  margin: 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.5;
}
.model-description span {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 15px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quantity-row small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 9.5px;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
}
.stepper button {
  display: grid;
  place-items: center;
  width: 33px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper-soft);
  font-size: 17px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s ease;
}
.stepper button:hover {
  background: rgba(255, 255, 255, 0.05);
}
.stepper button:disabled {
  color: var(--faint);
  opacity: 0.35;
  cursor: default;
}
.stepper output {
  display: grid;
  place-items: center;
  min-width: 35px;
  height: 32px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 17px;
}

/* -------------------------------- design -------------------------------- */
.faces-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 14px;
}
.faces-choice button {
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  color: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.faces-choice button span {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.05;
}
.faces-choice button small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.faces-choice button.is-selected {
  border-color: var(--accent-dim);
  background: rgba(199, 161, 104, 0.06);
}
.faces-choice button.is-selected small {
  color: var(--accent);
}
.face-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.face-tabs button {
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
}
.face-tabs button.is-active {
  color: var(--paper);
  border-bottom-color: var(--accent);
}
.zones-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 7px;
}
.zones-header > span:last-child {
  color: var(--faint);
  font-size: 8.5px;
}
.zone-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-bottom: 9px;
}
.zone-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  min-width: 0;
  min-height: 68px;
  padding: 8px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.016);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.zone-tab:hover {
  border-color: var(--line-strong);
}
.zone-tab.is-selected {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(199, 161, 104, 0.07);
}
.zone-tab.is-empty {
  opacity: 0.8;
}
.zone-tab-label {
  color: var(--faint);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.zone-tab-preview {
  display: flex;
  align-items: center;
  min-height: 26px;
  max-width: 100%;
  color: var(--paper-soft);
  overflow: hidden;
}
.zone-tab-preview strong {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.zone-tab-preview svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.zone-tab-preview img {
  width: 28px;
  height: 22px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.3);
}
.zone-tab-preview .zone-empty {
  color: var(--faint);
  font-family: var(--serif);
  font-size: 19px;
}
.zone-tab-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.zone-editor {
  min-height: 245px;
  padding: 13px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.editor-eyebrow {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.editor-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.switch-track {
  position: relative;
  width: 29px;
  height: 15px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.switch-track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 0.22s var(--ease), background 0.22s ease;
}
.switch input:checked + .switch-track {
  border-color: var(--accent);
  background: rgba(199, 161, 104, 0.16);
}
.switch input:checked + .switch-track::after {
  transform: translateX(13px);
  background: var(--accent-light);
}
.switch-label {
  color: var(--faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.editor-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 160px;
  padding: 14px;
  text-align: center;
}
.editor-empty-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 18px;
}
.editor-empty p {
  max-width: 210px;
  margin: 0;
  color: var(--faint);
  font-size: 10px;
  line-height: 1.5;
}
.editor-empty button {
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper-soft);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.editor-body {
  padding-top: 10px;
}
.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.segmented button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 33px;
  padding: 0 4px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--faint);
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
}
.segmented button:last-child {
  border-right: 0;
}
.segmented button:hover {
  color: var(--paper-soft);
}
.segmented button.is-active {
  background: rgba(199, 161, 104, 0.12);
  color: var(--accent-light);
}
.segmented svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
}
.design-field {
  margin-bottom: 10px;
}
.design-field > label,
.design-field > .design-label {
  display: block;
  margin-bottom: 5px;
  color: var(--faint);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.text-input-wrap {
  position: relative;
}
.text-input-wrap input {
  width: 100%;
  height: 37px;
  padding: 0 46px 0 10px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  outline: none;
}
.text-input-wrap input:focus {
  border-color: var(--accent-dim);
}
.text-input-wrap input::placeholder {
  color: #5e5951;
  font-family: var(--sans);
  font-size: 9px;
}
.char-count {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  font-size: 7px;
}
.font-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.font-choice {
  padding: 6px 4px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--faint);
  text-align: center;
  cursor: pointer;
}
.font-choice b {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.font-choice:nth-child(2) b {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
}
.font-choice:nth-child(3) b {
  font-family: var(--script);
  font-size: 18px;
}
.font-choice span {
  display: block;
  margin-top: 2px;
  font-size: 7px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.font-choice.is-active {
  border-color: var(--accent-dim);
  background: rgba(199, 161, 104, 0.08);
  color: var(--paper);
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
}
.icon-choice {
  display: grid;
  place-items: center;
  height: 33px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.icon-choice.is-active {
  border-color: var(--accent-dim);
  background: rgba(199, 161, 104, 0.09);
  color: var(--accent-light);
}
.icon-choice svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 79px;
  padding: 10px;
  border: 1px dashed var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
  cursor: pointer;
}
.upload-zone:hover,
.upload-zone.is-dragover {
  border-color: var(--accent-dim);
  background: rgba(199, 161, 104, 0.05);
}
.upload-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-size: 14px;
}
.upload-zone strong {
  color: var(--paper-soft);
  font-size: 8.5px;
  font-weight: 500;
}
.upload-zone small {
  color: var(--faint);
  font-size: 7px;
}
.logo-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
}
.logo-thumb-wrap {
  display: grid;
  place-items: center;
  width: 47px;
  height: 39px;
  flex-shrink: 0;
  background-color: #2a2925;
  background-image: linear-gradient(45deg, #34332e 25%, transparent 25%), linear-gradient(-45deg, #34332e 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #34332e 75%), linear-gradient(-45deg, transparent 75%, #34332e 75%);
  background-size: 9px 9px;
  background-position: 0 0, 0 4.5px, 4.5px -4.5px, -4.5px 0;
}
.logo-thumb-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-meta {
  min-width: 0;
  flex: 1;
}
.logo-meta strong {
  display: block;
  overflow: hidden;
  color: var(--paper-soft);
  font-size: 7.5px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.logo-meta small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 6.5px;
}
.logo-actions {
  display: flex;
  gap: 3px;
}
.logo-actions button {
  padding: 4px 5px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--faint);
  font-size: 6.5px;
  cursor: pointer;
}
.invert-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  color: var(--faint);
  font-size: 7px;
  cursor: pointer;
}
.invert-toggle input {
  accent-color: var(--accent);
}
.scale-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.scale-row label {
  flex: 1;
  color: var(--faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.scale-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.scale-control input {
  width: 100%;
  height: 3px;
  margin: 0;
  accent-color: var(--accent);
}
.scale-row output {
  width: 27px;
  color: var(--paper-soft);
  font-size: 7px;
  text-align: right;
}
.design-tip {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 10px 0 0;
  padding: 8px 10px;
  border-left: 1px solid var(--accent-dim);
  background: rgba(199, 161, 104, 0.035);
  color: var(--faint);
  font-size: 9px;
  line-height: 1.5;
}
.design-tip svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  margin-top: 1px;
  fill: none;
  stroke: var(--accent-dim);
  stroke-width: 1.4;
}

/* --------------------------------- order -------------------------------- */
.step-order {
  grid-column: 1 / -1;
  border-right: 0;
}
body[data-step="5"] .stage-shell {
  display: none;
}
.order-scroll {
  height: 100%;
  overflow-y: auto;
  padding: clamp(22px, 3.4vh, 38px) clamp(22px, 4vw, 62px) 36px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.order-scroll::-webkit-scrollbar {
  width: 4px;
}
.order-scroll::-webkit-scrollbar-thumb {
  background: var(--line-strong);
}
.order-heading {
  max-width: 760px;
  margin-bottom: clamp(18px, 2.7vh, 28px);
}
.order-heading h1 {
  font-size: clamp(2.7rem, 3.8vw, 4.2rem);
}
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(20px, 3vw, 46px);
  align-items: start;
  max-width: 1450px;
}
.order-main-column {
  min-width: 0;
}
.order-config {
  margin-bottom: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px;
}
.summary-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}
.summary-top h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}
.summary-top p {
  margin: 5px 0 0;
  color: var(--faint);
  font-size: 8.5px;
  line-height: 1.5;
}
.summary-total {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1;
  white-space: nowrap;
}
.summary-lines {
  padding-top: 7px;
}
.summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 0;
  color: var(--muted);
  font-size: 10px;
}
.summary-line small {
  margin-left: 4px;
  color: var(--faint);
  font-size: 8px;
}
.summary-line strong {
  color: var(--paper-soft);
  font-weight: 500;
  white-space: nowrap;
}
.summary-line.is-total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--paper);
}
.summary-line.is-total strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}
.summary-note {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 8.5px;
}
.customer-form {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.form-heading > span:last-child {
  color: var(--faint);
  font-size: 7px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.field {
  min-width: 0;
}
.field-full {
  grid-column: 1 / -1;
}
.field > span {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.field input,
.field textarea {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg-deep);
  color: var(--paper);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s ease;
}
.field input {
  height: 36px;
}
.field textarea {
  min-height: 55px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #5d574f;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent-dim);
}
.field.has-error input,
.field.has-error textarea {
  border-color: rgba(216, 156, 134, 0.65);
}
.field-error {
  display: block;
  margin: 3px 0 0;
  color: var(--error);
  font-size: 7px;
  font-style: normal;
  line-height: 1.4;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 11px;
  color: var(--faint);
  font-size: 9px;
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.checkmark {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
}
.checkmark svg {
  width: 8px;
  height: 8px;
  fill: none;
  stroke: var(--bg);
  stroke-width: 2;
  opacity: 0;
}
.consent input:checked + .checkmark {
  border-color: var(--accent);
  background: var(--accent);
}
.consent input:checked + .checkmark svg {
  opacity: 1;
}
.consent.has-error .checkmark {
  border-color: var(--error);
}
.consent-error {
  margin-left: 21px;
}
.conditions {
  margin-top: 11px;
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}
.conditions summary {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: var(--faint);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  list-style: none;
  cursor: pointer;
}
.conditions summary::-webkit-details-marker {
  display: none;
}
.conditions summary span {
  font-size: 11px;
  font-weight: 300;
  transition: transform 0.2s ease;
}
.conditions[open] summary span {
  transform: rotate(45deg);
}
.conditions > div {
  padding-bottom: 8px;
}
.conditions p {
  margin: 0 0 5px;
  color: var(--faint);
  font-size: 8.5px;
  line-height: 1.5;
}
.conditions strong {
  color: var(--paper-soft);
  font-weight: 500;
}
.order-side-column {
  min-width: 0;
}
.payment-alert {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(199, 161, 104, 0.4);
  background:
    linear-gradient(135deg, rgba(199, 161, 104, 0.11), transparent 60%),
    #171510;
  overflow: hidden;
}
.payment-alert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: var(--accent);
}
.payment-icon {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border: 1px solid rgba(199, 161, 104, 0.45);
  border-radius: 50%;
  color: var(--accent-light);
  font-family: var(--serif);
  line-height: 1;
}
.payment-icon span {
  font-size: 25px;
  margin-top: 10px;
  letter-spacing: -0.04em;
}
.payment-icon small {
  margin-top: 14px;
  margin-left: 1px;
  font-size: 9px;
}
.payment-alert > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.payment-kicker {
  margin: 1px 0 4px;
  color: var(--accent);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.payment-alert h2 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.payment-text {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}
.payment-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
}
.payment-split > div {
  padding: 11px;
  border: 1px solid var(--line);
}
.payment-split .payment-now {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}
.payment-split span {
  display: block;
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.79;
}
.payment-split strong {
  display: block;
  margin: 3px 0 1px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}
.payment-split small {
  display: block;
  font-size: 6.5px;
  opacity: 0.62;
}
.payment-fineprint {
  width: 100%;
  margin: 3px 0 0;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 8.5px;
  line-height: 1.5;
}
.order-footnote {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--faint);
  font-size: 6.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.order-footnote span:first-child {
  color: var(--muted);
}

/* -------------------------------- modals -------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(6, 6, 5, 0.8);
  backdrop-filter: blur(14px);
  animation: backdropIn 0.3s ease both;
}
@keyframes backdropIn {
  from { opacity: 0; }
}
.modal {
  position: relative;
  width: min(100%, 650px);
  margin: auto;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(circle at 92% 0%, rgba(199, 161, 104, 0.09), transparent 18rem),
    #171714;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
  animation: modalIn 0.4s var(--ease) both;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(14px) scale(0.986); }
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  background: none;
  color: var(--faint);
  cursor: pointer;
}
.modal-close:hover {
  color: var(--paper);
  border-color: var(--line);
}
.modal-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.modal h2 {
  margin: 16px 0 8px;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.modal h2 em {
  color: var(--accent-light);
  font-style: italic;
  font-weight: 300;
}
.modal-lede {
  max-width: 29rem;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}
.share-layout {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 22px;
  align-items: start;
}
.qr-frame {
  display: grid;
  place-items: center;
  padding: 9px;
  background: var(--paper);
}
.qr-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
}
.share-actions {
  min-width: 0;
}
.share-label {
  display: block;
  margin-bottom: 5px;
  color: var(--faint);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.copy-row {
  display: flex;
  border: 1px solid var(--line-strong);
  margin-bottom: 8px;
}
.copy-row input {
  min-width: 0;
  flex: 1;
  height: 33px;
  padding: 0 8px;
  border: 0;
  background: var(--bg-deep);
  color: var(--paper-soft);
  font-size: 8px;
  outline: none;
}
.button-copy {
  flex-shrink: 0;
  padding: 0 9px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--paper-soft);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}
.whatsapp-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 39px;
  padding: 0 13px;
  background: #1d5b3e;
  border: 1px solid #2c7652;
  color: var(--paper);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.whatsapp-button:hover {
  background: #246d4b;
  border-color: #3c8c63;
}
.whatsapp-button svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}
.share-small {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 7px;
  line-height: 1.5;
}
.share-note {
  margin: 16px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 7px;
  line-height: 1.5;
}
.order-modal {
  width: min(100%, 510px);
  text-align: center;
}
.order-modal .step-kicker {
  justify-content: center;
}
.order-modal .step-kicker::after {
  display: none;
}
.order-modal .modal-lede {
  margin-left: auto;
  margin-right: auto;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border: 1px solid var(--accent-dim);
  border-radius: 50%;
  color: var(--accent-light);
}
.success-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.success-order {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 20px 0;
  border: 1px solid var(--line);
  text-align: left;
}
.success-order > div {
  min-width: 0;
  padding: 9px;
  border-right: 1px solid var(--line);
}
.success-order > div:last-child {
  border-right: 0;
}
.success-order span {
  display: block;
  color: var(--faint);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.success-order strong {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.success-actions {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.text-link {
  color: var(--paper-soft);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.text-link:hover {
  color: var(--accent-light);
}
.success-note {
  margin: 15px 0 0;
  color: var(--faint);
  font-size: 7px;
  line-height: 1.5;
}
.modal-secondary {
  margin-top: 15px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 7.5px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.modal-secondary:hover {
  color: var(--paper);
}
.toast-region {
  position: fixed;
  right: 18px;
  bottom: calc(var(--footer-h) + 16px);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: flex-end;
  pointer-events: none;
}
.toast {
  max-width: 330px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  background: #1a1916;
  color: var(--paper-soft);
  font-size: 8.5px;
  line-height: 1.5;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  animation: toastIn 0.28s var(--ease) both;
}
.toast.is-error {
  border-color: rgba(216, 156, 134, 0.5);
}
.toast.is-leaving {
  animation: toastOut 0.24s ease both;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(7px); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(4px); }
}
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--bg);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.loading-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-mark {
  width: 36px;
  height: 36px;
}
.loader-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.1;
  stroke-linecap: round;
}
.loader-line {
  width: 120px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader-line i {
  display: block;
  width: 35%;
  height: 100%;
  background: var(--accent);
  animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(330%); }
}
.loading-overlay p {
  margin: 0;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.noscript {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 600;
  padding: 12px;
  background: var(--paper);
  color: var(--bg);
  text-align: center;
}

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1280px) {
  .wizard {
    grid-template-columns: minmax(390px, 43%) minmax(0, 1fr);
  }
  .step-heading h1 {
    font-size: clamp(2.8rem, 4.5vw, 3.7rem);
  }
  .render-copy {
    width: 330px;
  }
  .render-copy h1 {
    font-size: clamp(2.9rem, 4.5vw, 4.4rem);
  }
  .render-specs {
    max-width: 330px;
  }
  .render-actions {
    width: 190px;
  }
  .render-note {
    width: 260px;
  }
  .model-art {
    height: 132px;
  }
  .icon-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 60px;
    --footer-h: 72px;
  }
  .app-header {
    gap: 12px;
    padding: 0 15px;
  }
  .brand-mark {
    width: 25px;
    height: 25px;
  }
  .brand-name {
    font-size: 22px;
  }
  .brand-descriptor {
    display: none;
  }
  .wizard-progress {
    justify-content: flex-end;
    gap: 9px;
  }
  .progress-line {
    width: 60px;
  }
  .progress-dots {
    display: none;
  }
  .progress-meta span {
    display: none;
  }
  .progress-meta strong {
    font-size: 7.5px;
  }
  .header-button {
    padding: 0 6px;
    gap: 5px;
  }
  .header-button.share-button span {
    display: none;
  }
  .header-actions {
    gap: 1px;
  }
  .wizard {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(210px, 34svh) minmax(0, 1fr);
  }
  .stage-shell {
    grid-column: 1;
    grid-row: 1;
  }
  .step-screen {
    grid-column: 1;
    grid-row: 2;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .step-scroll {
    padding: 20px 18px 24px;
  }
  .step-heading {
    margin-bottom: 18px;
  }
  .step-heading h1,
  .order-heading h1 {
    font-size: clamp(2.5rem, 7.5vw, 3.3rem);
  }
  .step-lede {
    font-size: 11px;
  }
  .stage-topline {
    top: 13px;
    left: 15px;
    right: 15px;
  }
  .stage-obj {
    display: none;
  }
  .stage-hint {
    display: none;
  }
  .stage-tools {
    top: 10px;
    right: 14px;
    flex-direction: row;
  }
  .stage-tool {
    width: 27px;
    height: 27px;
  }
  .stage-model {
    left: 15px;
    bottom: 12px;
  }
  .stage-model strong {
    font-size: 21px;
  }
  .stage-model span {
    font-size: 6px;
  }
  .stage-face {
    right: 15px;
    bottom: 10px;
  }
  .stage-word {
    font-size: 8rem;
  }
  .render-badge {
    top: 41px;
    right: 14px;
  }
  .app-footer {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 0 15px;
  }
  .footer-center {
    display: none;
  }
  .footer-back {
    font-size: 7px;
  }
  .footer-back span {
    display: none;
  }
  .footer-back svg {
    width: 17px;
    height: 17px;
  }
  .footer-right {
    gap: 10px;
  }
  .footer-price-block {
    gap: 5px;
  }
  .footer-price-block > span {
    display: none;
  }
  .footer-price-block strong {
    font-size: 25px;
  }
  .footer-next {
    min-width: 0;
    min-height: 40px;
    padding: 0 13px;
    gap: 10px;
    font-size: 8px;
  }
  .language-grid {
    gap: 6px;
  }
  .language-card {
    min-height: 64px;
    padding: 10px;
  }
  .language-name {
    font-size: 21px;
  }
  .language-code {
    width: 29px;
    height: 29px;
    font-size: 7px;
  }
  .model-grid {
    gap: 6px;
  }
  .model-card {
    padding: 8px;
  }
  .model-art {
    height: 108px;
  }
  .model-name {
    font-size: 20px;
  }
  .model-badge {
    display: none;
  }
  .faces-choice {
    margin-bottom: 11px;
  }
  .icon-grid {
    grid-template-columns: repeat(8, 1fr);
  }
  .zone-editor {
    min-height: 220px;
  }
  .order-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .order-side-column {
    order: 1;
    width: 100%;
  }
  .order-main-column {
    order: 2;
    width: 100%;
  }
  .order-scroll {
    padding: 20px 16px 28px;
  }
  .order-heading {
    margin-bottom: 16px;
  }
  .order-heading h1 {
    font-size: clamp(2.4rem, 7.2vw, 3.2rem);
  }
  .order-heading .step-lede {
    display: none;
  }
  .payment-alert {
    padding: 14px;
  }
  .order-config {
    padding: 13px;
  }
  .order-footnote {
    display: none;
  }
  .step-render {
    background: transparent;
  }
  body[data-step="4"] .wizard {
    display: block;
  }
  body[data-step="4"] .stage-shell {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  body[data-step="4"] .step-screen[data-step="4"] {
    position: absolute;
    inset: 0;
    display: block;
    background: transparent;
  }
  body[data-step="4"] .render-overlay {
    flex-direction: column;
    justify-content: space-between;
    padding: 54px 16px 16px;
  }
  body[data-step="4"] .render-overlay::before {
    content: "";
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: 38%;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 8, 7, 0.82) 0%, rgba(8, 8, 7, 0.52) 55%, rgba(8, 8, 7, 0) 100%);
  }
  .render-copy {
    width: 100%;
    max-width: 360px;
  }
  .render-copy h1 {
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.65);
  }
  .render-copy .step-kicker {
    margin-bottom: 8px;
  }
  .render-copy h1 {
    font-size: clamp(2.6rem, 8vw, 3.5rem);
  }
  .render-lede {
    display: none;
  }
  .render-specs {
    display: none;
  }
  .render-side {
    width: 100%;
    align-items: stretch;
    gap: 10px;
  }
  .render-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
  }
  .render-actions .glass-button {
    flex: 1;
    justify-content: center;
    min-height: 36px;
  }
  .render-note {
    display: none;
  }
  #renderDownloadMobile {
    display: inline-flex;
  }
  body[data-step="4"] .render-screen-top {
    display: flex;
  }
  .step-order {
    grid-row: 1 / -1;
  }
  body[data-step="5"] .wizard {
    display: block;
    overflow: hidden;
  }
  body[data-step="5"] .step-screen[data-step="5"] {
    position: absolute;
    inset: 0;
    display: block;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .payment-split strong {
    font-size: 22px;
  }
  .modal {
    padding: 26px 18px 22px;
  }
  .share-layout {
    grid-template-columns: 1fr;
  }
  .qr-frame {
    width: 170px;
    margin: 0 auto;
  }
  .success-order {
    grid-template-columns: 1fr;
  }
  .success-order > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 7px 9px;
  }
  .success-order > div:last-child {
    border-bottom: 0;
  }
  .toast-region {
    left: 12px;
    right: 12px;
    bottom: calc(var(--footer-h) + 10px);
    align-items: stretch;
  }
  .toast {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .step-heading h1,
  .order-heading h1 {
    font-size: clamp(2.35rem, 9.4vw, 3.1rem);
  }
  .step-kicker {
    font-size: 7px;
    margin-bottom: 9px;
  }
  .step-lede {
    font-size: 10.5px;
    line-height: 1.55;
  }
  .language-card {
    min-height: 60px;
    gap: 8px;
  }
  .language-name {
    font-size: 19px;
  }
  .model-art {
    height: 92px;
  }
  .model-name {
    font-size: 18px;
    margin-top: 7px;
  }
  .model-subtitle {
    font-size: 6.5px;
    letter-spacing: 0.07em;
  }
  .model-price {
    font-size: 15px;
  }
  .model-bottom {
    margin-top: 8px;
  }
  .zone-tab {
    min-height: 60px;
    padding: 6px;
  }
  .zone-tab-preview strong {
    font-size: 14px;
  }
  .icon-grid {
    grid-template-columns: repeat(8, 1fr);
  }
  .icon-choice {
    height: 30px;
  }
  .segmented button {
    font-size: 7px;
  }
  .render-actions .glass-button {
    font-size: 7px;
    padding: 0 7px;
    gap: 5px;
  }
  .render-actions .glass-button svg {
    width: 11px;
    height: 11px;
  }
  .render-actions {
    gap: 4px;
  }
  .payment-alert h2 {
    font-size: 22px;
  }
  .payment-text {
    font-size: 8.5px;
  }
  .footer-next {
    gap: 7px;
  }
  .footer-next span {
    max-width: 110px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media (max-width: 390px) {
  .app-header {
    padding: 0 11px;
  }
  .brand-name {
    font-size: 20px;
  }
  .header-button svg {
    width: 15px;
    height: 15px;
  }
  .step-scroll {
    padding-left: 13px;
    padding-right: 13px;
  }
  .footer-price-block strong {
    font-size: 22px;
  }
  .footer-next {
    padding: 0 10px;
  }
  .language-code {
    display: none;
  }
  .language-name {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ====================== NUEVO FLUJO POR PASOS ======================== */

.step-panel {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  position: relative;
  z-index: 10;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 0% 100%, rgba(199, 161, 104, 0.045), transparent 20rem),
    var(--bg);
}
.step-panel #stepContent {
  min-height: 100%;
}
.wizard.is-checkout {
  grid-template-columns: minmax(0, 1fr);
}
.wizard.is-checkout .stage-shell {
  display: none;
}
.wizard.is-checkout .step-panel {
  grid-column: 1 / -1;
  border-right: 0;
  background:
    radial-gradient(circle at 92% 8%, rgba(199, 161, 104, 0.08), transparent 30rem),
    radial-gradient(circle at 4% 96%, rgba(199, 161, 104, 0.04), transparent 22rem),
    var(--bg);
}
.wizard.is-checkout .step-scroll {
  padding: clamp(26px, 4vh, 46px) clamp(24px, 6.5vw, 96px) 38px;
}

/* precio en el escenario */
.stage-price {
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translateX(-50%);
  padding: 8px 15px 7px;
  border: 1px solid var(--line);
  background: rgba(14, 14, 12, 0.34);
  text-align: center;
  pointer-events: none;
  backdrop-filter: blur(9px);
}
.stage-price span {
  color: var(--faint);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.stage-price strong,
.stage-price small {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--paper);
}
.stage-price small {
  margin-top: 2px;
}
.stage-face[hidden] {
  display: none;
}

/* footer: precio + aproximado */
.footer-price-block {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 9px;
  row-gap: 2px;
  align-items: baseline;
}
.footer-price-block > span {
  grid-column: 1;
  grid-row: 1;
}
.footer-price-block strong {
  grid-column: 2;
  grid-row: 1;
  color: var(--paper-soft);
  font-size: 11px;
  font-weight: 500;
}
.footer-price-block small {
  grid-column: 2;
  grid-row: 2;
  color: var(--paper-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: right;
  white-space: nowrap;
}

/* ------------------------------- caras -------------------------------- */
.face-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 34rem;
}
.face-option {
  position: relative;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-height: 94px;
  padding: 16px 17px;
  border: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.008));
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}
.face-option:hover {
  border-color: var(--line-strong);
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.012));
  transform: translateX(2px);
}
.face-option.is-selected {
  border-color: rgba(199, 161, 104, 0.6);
  background:
    linear-gradient(115deg, rgba(199, 161, 104, 0.13), rgba(199, 161, 104, 0.025)),
    rgba(255, 255, 255, 0.012);
}
.face-option-index {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.78;
}
.face-option-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.face-option-copy small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}
.face-option-check {
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.face-option.is-selected .face-option-check {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(199, 161, 104, 0.1);
}

/* ------------------------------ cantidades ---------------------------- */
.count-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 38rem;
}
.count-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 174px;
  padding: 17px 10px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.006));
  color: var(--paper);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s var(--ease);
}
.count-option:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.count-option.is-selected {
  border-color: rgba(199, 161, 104, 0.6);
  background: linear-gradient(155deg, rgba(199, 161, 104, 0.14), rgba(199, 161, 104, 0.025));
}
.count-option strong {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.06em;
}
.count-option span {
  color: var(--paper-soft);
  font-size: 11px;
  font-weight: 500;
}
.count-option small {
  max-width: 8rem;
  color: var(--faint);
  font-size: 7.5px;
  line-height: 1.45;
}
.count-option.is-selected small {
  color: var(--accent-dim);
}
.step-note {
  margin: 15px 0 0;
  color: var(--faint);
  font-size: 8px;
  line-height: 1.6;
}

/* ------------------------------- diseños ------------------------------ */
.slot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slot-block {
  padding: 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}
.slot-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.slot-heading > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 9px;
  align-items: baseline;
}
.slot-heading h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.slot-index {
  grid-row: 1 / span 2;
  color: var(--accent-dim);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1;
}
.slot-heading small {
  grid-column: 2;
  margin-top: 2px;
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.slot-price,
.slot-empty {
  flex-shrink: 0;
  padding: 4px 7px;
  border: 1px solid rgba(199, 161, 104, 0.28);
  color: var(--accent-light);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.slot-empty {
  border-color: var(--line);
  color: var(--faint);
  font-weight: 400;
}
.design-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.design-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 74px;
  padding: 5px 4px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.design-pick:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}
.design-pick.is-selected {
  border-color: rgba(199, 161, 104, 0.68);
  background: rgba(199, 161, 104, 0.1);
  color: var(--paper);
}
.design-pick-art {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
}
.design-image {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  background: #f4efe4;
}
.design-image img {
  display: block;
  max-width: 46px;
  max-height: 46px;
  object-fit: contain;
}
.design-svg,
.design-svg svg {
  display: block;
  width: 32px;
  height: 32px;
}
.design-pick-label {
  max-width: 100%;
  overflow: hidden;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.design-pick.is-selected .design-pick-label {
  color: var(--paper);
}
.design-empty-mark {
  color: var(--faint);
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
}
.design-text-mark {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1;
}
.design-custom-mark {
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}
.design-controls {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
}
.mini-field {
  display: block;
  min-width: 0;
}
.mini-field > span {
  display: block;
  margin-bottom: 4px;
  color: var(--faint);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mini-field input,
.mini-field select {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg-deep);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 11px;
  outline: none;
}
.mini-field input:focus,
.mini-field select:focus {
  border-color: var(--accent-dim);
}
.mini-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%);
  background-position: calc(100% - 12px) 14px, calc(100% - 8px) 14px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  padding-right: 22px;
}
.design-controls .upload-zone {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: flex-start;
  min-height: 58px;
  padding: 9px 11px;
  gap: 8px;
  text-align: left;
}
.design-controls .upload-zone strong {
  font-size: 8.5px;
}
.design-controls .upload-zone small {
  font-size: 7px;
}
.design-controls .upload-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  font-size: 13px;
}
.uploaded-design {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
}
.uploaded-design img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background-color: #24231f;
  background-image: linear-gradient(45deg, #2e2d28 25%, transparent 25%), linear-gradient(-45deg, #2e2d28 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #2e2d28 75%), linear-gradient(-45deg, transparent 75%, #2e2d28 75%);
  background-size: 8px 8px;
  background-position: 0 0, 0 4px, 4px -4px, -4px 0;
}
.uploaded-design span {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--muted);
  font-size: 7.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.uploaded-design button {
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.uploaded-design button:hover {
  color: var(--paper);
}

/* ------------------------------- checkout ----------------------------- */
.checkout-heading {
  max-width: 60rem;
  margin-bottom: clamp(20px, 3vh, 30px);
}
.checkout-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.85rem, 4vw, 4.25rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.checkout-heading .step-lede {
  max-width: 36rem;
}
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.82fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
}
.checkout-main {
  min-width: 0;
}
/* varios clips en el pedido */
.checkout-items {
  margin: 0 0 22px;
  padding: 14px 15px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.checkout-items-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.checkout-items-head small {
  display: block;
  max-width: 34rem;
  margin-top: 3px;
  color: var(--faint);
  font-size: 8px;
  line-height: 1.5;
}
.checkout-items-count {
  color: var(--accent-dim);
  font-size: 8px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.order-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(241, 236, 226, 0.075);
}
.order-item-card:last-child { border-bottom: 0; }
.order-item-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.order-item-index {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 18px;
  opacity: 0.8;
}
.order-item-copy strong {
  display: block;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.1;
}
.order-item-copy small {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 7.5px;
  letter-spacing: 0.03em;
}
.order-item-card.is-current .order-item-copy strong { color: var(--accent-light); }
.order-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.order-item-total {
  color: var(--paper-soft);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}
.order-item-qty {
  color: var(--faint);
  font-size: 8px;
  white-space: nowrap;
}
.order-item-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
}
.order-item-stepper button {
  width: 24px;
  height: 25px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.order-item-stepper button:hover { color: var(--paper); }
.order-item-stepper span {
  min-width: 22px;
  text-align: center;
  color: var(--paper-soft);
  font-size: 9px;
}
.order-item-remove {
  border: 0;
  background: transparent;
  color: var(--faint);
  padding: 4px 0;
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.order-item-remove:hover { color: var(--danger, #d98a7d); }
.add-item-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  border: 0;
  background: transparent;
  color: var(--accent-light);
  padding: 3px 0;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.add-item-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(199, 161, 104, 0.5);
  border-radius: 50%;
  font-size: 12px;
  line-height: 1;
}
.add-item-button:hover { color: var(--paper); }
.add-item-button:disabled { opacity: 0.35; cursor: not-allowed; }

.checkout-form {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}
.checkout-form .form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.checkout-form .field > span {
  color: var(--faint);
  font-size: 8.5px;
}
.checkout-form .field input {
  height: 42px;
  font-size: 12.5px;
}
.checkout-form .field-error {
  min-height: 0;
}
.checkout-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.checkout-quantity small {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 8px;
}
.checkout-quantity .stepper {
  flex-shrink: 0;
}
.checkout-agreement {
  max-width: 40rem;
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 8.5px;
  line-height: 1.6;
}
.checkout-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.checkout-render {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 10px;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 42%, rgba(199, 161, 104, 0.11), transparent 65%),
    var(--bg-deep);
}
.checkout-render img {
  display: block;
  width: 100%;
  max-height: 220px;
  margin: 6px auto 2px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.45));
}
.render-label {
  color: var(--accent);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.render-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-top: 7px;
  border-top: 1px solid var(--line);
}
.render-caption span {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}
.render-caption small {
  color: var(--faint);
  font-size: 7px;
  text-align: right;
}
.render-missing {
  display: grid;
  place-items: center;
  min-height: 110px;
  margin: 8px 0;
  border: 1px dashed var(--line);
  color: var(--faint);
  font-size: 8px;
  text-align: center;
}
.quiet-button {
  align-self: flex-end;
  margin-top: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.quiet-button:hover {
  color: var(--accent-light);
}
.price-card {
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}
.price-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.price-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  color: var(--muted);
  font-size: 10px;
}
.price-line strong {
  color: var(--paper-soft);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.price-line.total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line-strong);
  color: var(--paper);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.price-line.total strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.price-line.mxn {
  padding-top: 1px;
  color: var(--paper-soft);
  font-size: 11px;
}
.price-line.mxn strong {
  color: var(--paper-soft);
  font-size: 11.5px;
  font-weight: 500;
}
.payment-card {
  padding: 15px;
  border: 1px solid rgba(199, 161, 104, 0.34);
  background:
    linear-gradient(145deg, rgba(199, 161, 104, 0.12), rgba(199, 161, 104, 0.025) 65%),
    rgba(255, 255, 255, 0.01);
}
.payment-kicker {
  margin: 0 0 6px;
  color: var(--accent-light);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.payment-card > p:not(.payment-kicker) {
  margin: 0;
  color: var(--paper-soft);
  font-size: 10px;
  line-height: 1.6;
}
.payment-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(199, 161, 104, 0.24);
}
.payment-amounts span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.payment-amounts strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.method-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}
.method-chips span {
  padding: 4px 6px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.02em;
}
.checkout-note {
  margin: 0;
  color: var(--faint);
  font-size: 7.5px;
  line-height: 1.5;
  text-align: right;
}
.footer-price-block small {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1280px) {
  .wizard.is-checkout .step-scroll {
    padding-left: clamp(24px, 4.5vw, 64px);
    padding-right: clamp(24px, 4.5vw, 64px);
  }
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 30px;
  }
}

@media (max-width: 980px) {
  .step-panel {
    grid-column: 1;
    grid-row: 2;
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .wizard.is-checkout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
  }
  .wizard.is-checkout .step-panel {
    grid-row: 1;
    border-top: 0;
  }
  .wizard.is-checkout .step-scroll {
    padding: 22px 20px 30px;
  }
  .stage-price {
    bottom: 46px;
    padding: 6px 11px;
  }
  .stage-price strong {
    font-size: 19px;
  }
  .face-option-copy strong {
    font-size: 21px;
  }
  .face-option {
    min-height: 82px;
    padding: 13px 14px;
    grid-template-columns: 35px minmax(0, 1fr) 16px;
    gap: 11px;
  }
  .count-option {
    min-height: 135px;
    padding: 12px 7px;
  }
  .count-option strong {
    font-size: 44px;
  }
  .count-option span {
    font-size: 9.5px;
  }
  .count-option small {
    font-size: 6.5px;
  }
  .checkout-heading h1 {
    font-size: clamp(2.5rem, 7.5vw, 3.3rem);
  }
  .checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .checkout-main,
  .checkout-side {
    width: 100%;
  }
  .checkout-side {
    order: -1;
  }
  .checkout-render img {
    max-height: 190px;
  }
  .checkout-form .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-note {
    text-align: left;
  }
}

@media (max-width: 700px) {
  .stage-price {
    display: none;
  }
  .face-option {
    grid-template-columns: 27px minmax(0, 1fr) 14px;
    gap: 9px;
    min-height: 72px;
    padding: 11px 12px;
  }
  .face-option-index {
    font-size: 19px;
  }
  .face-option-copy strong {
    font-size: 19px;
  }
  .face-option-copy small {
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.4;
  }
  .count-options {
    gap: 6px;
  }
  .count-option {
    min-height: 121px;
    padding: 10px 4px;
  }
  .count-option strong {
    font-size: 39px;
  }
  .count-option span {
    font-size: 8.5px;
  }
  .count-option small {
    max-width: 5.5rem;
    font-size: 6px;
  }
  .design-gallery {
    gap: 4px;
  }
  .design-pick {
    min-height: 67px;
  }
  .design-pick-art,
  .design-svg,
  .design-svg svg {
    width: 27px;
    height: 27px;
  }
  .design-pick-label {
    font-size: 6.5px;
  }
  .design-controls {
    grid-template-columns: 1fr;
  }
  .design-controls .upload-zone,
  .uploaded-design {
    grid-column: 1;
  }
  .slot-block {
    padding: 10px;
  }
  .slot-heading h3 {
    font-size: 13px;
  }
  .slot-heading small {
    font-size: 6.5px;
  }
  .checkout-heading {
    margin-bottom: 16px;
  }
  .checkout-heading h1 {
    font-size: clamp(2.2rem, 9vw, 2.9rem);
  }
  .checkout-heading .step-lede {
    font-size: 10px;
  }
  .checkout-form .form-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .checkout-form .field input {
    height: 40px;
  }
  .checkout-render img {
    max-height: 150px;
  }
  .price-line.total strong {
    font-size: 22px;
  }
  .payment-amounts strong {
    font-size: 19px;
  }
  .footer-price-block small {
    max-width: 8.5rem;
    font-size: 6px;
  }
  .checkout-note {
    font-size: 7px;
  }
}

@media (max-width: 390px) {
  .count-option strong {
    font-size: 35px;
  }
  .count-option small {
    display: none;
  }
  .design-pick {
    min-height: 62px;
  }
  .design-pick-art,
  .design-svg,
  .design-svg svg {
    width: 24px;
    height: 24px;
  }
  .design-pick-label {
    font-size: 6px;
  }
}

/* checkout payment banner */
.checkout-payment-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 22px;
  padding: 14px 17px;
  border: 1px solid rgba(199, 161, 104, 0.38);
  background:
    linear-gradient(115deg, rgba(199, 161, 104, 0.13), rgba(199, 161, 104, 0.025) 65%),
    rgba(255, 255, 255, 0.008);
}
.checkout-payment-copy {
  min-width: 0;
}
.checkout-payment-copy > p:not(.payment-kicker) {
  max-width: 36rem;
  margin: 0;
  color: var(--paper-soft);
  font-size: 10px;
  line-height: 1.55;
}
.checkout-payment-copy .method-chips {
  margin-top: 8px;
}
.checkout-payment-banner > .payment-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 22px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.checkout-payment-banner .payment-amounts span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.checkout-payment-banner .payment-amounts strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.checkout-render img {
  max-width: 94%;
  margin-left: auto;
  margin-right: auto;
}

/* clearer numeric glyphs */
.count-option strong,
.stepper output {
  font-family: var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
  font-weight: 300;
}

@media (max-width: 980px) {
  .checkout-payment-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }
  .checkout-payment-banner > .payment-amounts {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(199, 161, 104, 0.24);
  }
}
@media (max-width: 700px) {
  .checkout-payment-banner {
    padding: 12px;
  }
  .checkout-payment-banner .payment-amounts strong {
    font-size: 21px;
  }
  .checkout-render img {
    max-height: 160px;
  }
}
@media (max-width: 980px) {
  .checkout-side {
    order: 0;
  }
}
/* final render face toggle */
.checkout-face-toggle {
  position: absolute;
  top: 11px;
  right: 12px;
  display: flex;
  padding: 2px;
  border: 1px solid rgba(241, 236, 226, 0.16);
  background: rgba(14, 14, 12, 0.55);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.checkout-face-toggle button {
  padding: 5px 7px;
  border: 0;
  background: transparent;
  color: var(--faint);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.checkout-face-toggle button:hover {
  color: var(--paper-soft);
}
.checkout-face-toggle button.is-active {
  background: var(--paper);
  color: var(--bg);
}


/* alineación de texto */
.align-field { grid-column: 1 / -1; }
.align-buttons {
  display: flex;
  gap: 0;
  margin-top: 4px;
  border: 1px solid var(--line);
  width: fit-content;
}
.align-button {
  border: 0;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  color: var(--faint);
  padding: 7px 12px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.align-button:last-child { border-right: 0; }
.align-button:hover { color: var(--paper); }
.align-button.is-selected {
  background: rgba(199, 161, 104, 0.16);
  color: var(--accent-light);
}

@media (max-width: 700px) {
  .order-item-card { align-items: flex-start; gap: 8px; }
  .order-item-actions { gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
  .order-item-copy small { max-width: 11rem; }
}


/* datos de pago */
.payment-details {
  margin: 0 0 22px;
  padding: 14px 15px;
  border: 1px solid rgba(199, 161, 104, 0.28);
  background: rgba(199, 161, 104, 0.035);
}
.payment-details-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 9px;
}
.payment-bank {
  color: var(--accent-light);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.payment-data {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px 18px;
  margin: 0;
}
.payment-data > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px solid rgba(241, 236, 226, 0.08);
}
.payment-data dt {
  color: var(--faint);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.payment-data dd {
  margin: 0;
  color: var(--paper-soft);
  font-size: 9.5px;
  text-align: right;
  word-break: break-word;
}
.payment-details-note {
  margin: 8px 0 0;
  color: var(--faint);
  font-size: 8px;
  line-height: 1.5;
}
.payment-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: var(--accent-light);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}
.payment-card-link:hover { color: var(--paper); }
@media (max-width: 700px) {
  .payment-data { grid-template-columns: 1fr; }
}


/* pasos de diseño por zona */
.design-step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.design-step-count {
  color: var(--accent-light);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.design-step-dots {
  display: flex;
  gap: 12px;
}
.design-step-dot {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--faint);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.design-step-dot i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(241, 236, 226, 0.22);
}
.design-step-dot.is-active { color: var(--paper); }
.design-step-dot.is-active i { background: var(--accent); box-shadow: 0 0 0 3px rgba(199, 161, 104, 0.12); }
.design-step-dot.is-complete { color: var(--accent-dim); }
.design-step-dot.is-complete i { background: var(--accent-dim); }
@media (max-width: 700px) {
  .design-step-nav { align-items: flex-start; flex-direction: column; gap: 7px; }
  .design-step-dots { gap: 9px; }
  .design-step-dot { font-size: 6.5px; }
}


/* catálogo amplio: 41 diseños */
.design-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 700px) {
  .design-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* Mercado Pago */
.mp-checkout {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.mp-pay-button {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(64, 148, 190, 0.55);
  background:
    linear-gradient(110deg, rgba(0, 158, 227, 0.16), rgba(199, 161, 104, 0.08)),
    rgba(255, 255, 255, 0.018);
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.mp-pay-button:hover {
  border-color: rgba(90, 190, 235, 0.9);
  background:
    linear-gradient(110deg, rgba(0, 158, 227, 0.24), rgba(199, 161, 104, 0.1)),
    rgba(255, 255, 255, 0.03);
}
.mp-pay-button:disabled { opacity: 0.45; cursor: not-allowed; }
.mp-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #009ee3;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.mp-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mp-copy strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.05;
}
.mp-copy small {
  color: var(--faint);
  font-size: 7.5px;
  line-height: 1.35;
}
.mp-arrow { margin-left: auto; color: var(--accent-light); font-size: 16px; }
.mp-note {
  display: block;
  margin-top: 7px;
  color: var(--faint);
  font-size: 7px;
  line-height: 1.4;
}
.order-payment-mp {
  display: inline-block;
  margin-top: 9px;
  color: var(--accent-light);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}


/* paso final de pago */
.payment-heading { margin-bottom: 20px; }
.payment-warning {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(199, 161, 104, 0.45);
  background:
    linear-gradient(110deg, rgba(199, 161, 104, 0.13), rgba(199, 161, 104, 0.025)),
    rgba(255, 255, 255, 0.012);
}
.payment-warning strong {
  display: block;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.15;
}
.payment-warning p {
  max-width: 54rem;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}
.payment-warning .payment-delivery { color: var(--accent-light); }
.payment-step-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
}
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 9px;
}
.payment-method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.payment-method:hover { border-color: var(--line-strong); }
.payment-method.is-selected {
  border-color: rgba(199, 161, 104, 0.65);
  background: rgba(199, 161, 104, 0.08);
}
.payment-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.payment-method-mark {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.payment-method.is-selected .payment-method-mark {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px var(--bg);
  background: var(--accent);
}
.payment-method-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.payment-method-copy strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
}
.payment-method-copy small {
  color: var(--faint);
  font-size: 8px;
  line-height: 1.45;
}
.payment-method-badge {
  margin-left: auto;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #009ee3;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
}
.payment-method-detail-wrap { margin-top: 12px; }
.payment-method-detail {
  padding: 14px 15px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}
.payment-method-detail > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}
.payment-method-detail .payment-details { margin: 0 0 11px; }
.payment-due {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.payment-due strong {
  color: var(--accent-light);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  white-space: nowrap;
}
.payment-detail-note { color: var(--faint) !important; font-size: 8px !important; }
.payment-step-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.payment-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 250px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  padding: 12px 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
}
.payment-action:hover { background: var(--accent-light); border-color: var(--accent-light); }
.payment-action:disabled { opacity: 0.45; cursor: not-allowed; }
.payment-edit {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 0;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.payment-edit:hover { color: var(--paper); }
.payment-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.payment-summary .price-card { margin: 0; }
.payment-summary-note {
  padding: 10px 12px;
  border: 1px solid var(--line);
  color: var(--faint);
  font-size: 8px;
  line-height: 1.5;
}
.payment-summary-note p { margin: 0; }
.payment-customer {
  margin: 0;
  color: var(--faint);
  font-size: 8px;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}
@media (max-width: 900px) {
  .payment-step-layout { grid-template-columns: 1fr; gap: 20px; }
  .payment-summary { order: -1; }
  .payment-method-copy strong { font-size: 17px; }
  .payment-action { width: 100%; }
}


/* selector de ubicación para un solo diseño por cara */
.single-zone-picker {
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(199, 161, 104, 0.35);
  background: rgba(199, 161, 104, 0.05);
}
.single-zone-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 10px;
}
.single-zone-head small {
  color: var(--faint);
  font-size: 8px;
  line-height: 1.4;
}
.single-zone-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.single-zone-option {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  padding: 9px 8px;
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.single-zone-option:hover { border-color: var(--line-strong); color: var(--paper); }
.single-zone-option.is-selected {
  border-color: var(--accent);
  background: rgba(199, 161, 104, 0.15);
  color: var(--paper);
}
@media (max-width: 700px) {
  .single-zone-head { flex-direction: column; gap: 4px; }
  .single-zone-option { padding: 10px 4px; font-size: 7px; }
}

.payment-action-inline { width: 100%; margin-top: 12px; }

.payment-cash-notice {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-left: 2px solid var(--accent);
  background: rgba(199, 161, 104, 0.06);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}
.payment-method-detail-wrap:empty { display: none; }

/* botón blanco en el paso de pago */
.wizard.is-payment .footer-next {
  background: #f4efe4;
  border-color: #f4efe4;
  color: #12110f;
}
.wizard.is-payment .footer-next:hover {
  background: #fffaf0;
  border-color: #fffaf0;
}

.design-gallery.is-text-only {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.header-actions { gap: 8px; }
.header-link { position: relative; text-decoration: none; }
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 15px;
  height: 15px;
  padding: 0 4px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
}
.cart-count.is-zero { display: none; }

.cart-add-button {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--paper);
  padding: 9px 12px;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.cart-add-button:hover { border-color: var(--accent); color: var(--accent-light); }

.address-heading { margin-top: 16px; }
.field-wide { grid-column: 1 / -1; }

.header-socials { display: flex; align-items: center; gap: 2px; padding-right: 7px; margin-right: 2px; border-right: 1px solid var(--line); }
.header-socials .header-button { padding: 7px 6px; }
.header-socials .social-label { font-size: 8px; letter-spacing: .06em; }
.header-socials .social-link { width: 29px; justify-content: center; }
.shipping-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(199, 161, 104, 0.35);
  background: rgba(199, 161, 104, 0.055);
}
.shipping-contact p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.shipping-contact .shipping-wa {
  display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto;
  border: 1px solid #6aa879; color: #a9d2b3; padding: 8px 10px;
  font-size: 8px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.shipping-contact .shipping-wa:hover { background: rgba(106,168,121,.12); }
.shipping-contact .shipping-wa svg { width: 14px; height: 14px; }
@media (max-width: 900px) {
  .header-socials { padding-right: 4px; }
  .header-socials .social-label { display: none; }
  .header-socials .header-button { padding: 7px 4px; }
  .header-socials .social-link { width: 25px; }
}
@media (max-width: 700px) {
  .shipping-contact { align-items: flex-start; flex-direction: column; }
}
