:root {
  --pink: #ff0094;
  --hot: #e60083;
  --ink: #32172d;
  --ink2: #5f3a56;
  --muted: #846d7e;
  --cream: #fffbf8;
  --line: #f3dde7;
  --blush: #fff0f5;
  --yellow: #f5c572;
  --shadow: 0 22px 70px rgba(75, 28, 52, 0.095);
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: #ffedf1;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
}
button,
a,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid #ff63bb;
  outline-offset: 4px;
}
a {
  text-decoration: none;
  color: inherit;
}
[hidden] {
  display: none !important;
}

.logo-feliz-navidad {
  width: 100%;
  max-width: 300px;
  margin-bottom: 20px;
}
.page-halo {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 4% 13%,
      rgba(255, 0, 148, 0.075),
      transparent 28%
    ),
    radial-gradient(
      circle at 97% 83%,
      rgba(255, 192, 96, 0.14),
      transparent 32%
    );
}
.shell {
  margin: auto;
}
/* Header */
.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  border: 0;
  background: none;
  padding: 8px 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 182px;
  height: auto;
}
.header-label {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 900;
  color: #794966;
  display: flex;
  align-items: center;
  gap: 13px;
}
.header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 0, 148, 0.11);
}
.header-x {
  color: var(--pink);
  font-size: 16px;
}
.dev-trigger {
  border: 1px solid #e3c5d5;
  border-radius: 999px;
  background: #fff;
  padding: 12px 19px;
  font-size: 12px;
  font-weight: 800;
  color: #5a3151;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 22px rgba(70, 34, 59, 0.035);
  white-space: nowrap;
}
.dev-trigger:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.dev-trigger span:first-child {
  font-size: 17px;
}
.dev-trigger-short {
  display: none;
}
/* Main layout */
.experience {
  display: grid;
  grid-template-columns: minmax(0, 47%) minmax(0, 53%);
  border: 1px solid #f5dfe9;
  background: white;

  box-shadow: var(--shadow);
  overflow: hidden;
}
.content-side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-image: url(https://minisitios.ripley.cl/minisitios/jugueteria/assets2026/img/back.png);
}
.content-inner {
  padding: 48px 47px 22px;
}
.brandline {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  letter-spacing: 1.5px;
  font-size: 9px;
  font-weight: 900;
  color: #ad527c;
}
.brandline-symbol {
  font-size: 23px;
  color: var(--pink);
  line-height: 0;
}
.brandline-rule {
  width: 20px;
  height: 1px;
  background: #e3a4c3;
  margin-inline: 5px;
}
.view {
  animation: riseIn 0.46s ease both;
}
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(11px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.intro-view {
  padding-top: 58px;
}
.intro-punch {
  font-size: 11px;
  letter-spacing: 2.5px;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 17px;
}
.hero-title {
  font-family: Outfit, "DM Sans", sans-serif;
  font-size: clamp(43px, 4.7vw, 72px);
  letter-spacing: -3.1px;
  line-height: 1.01;
  max-width: 560px;
  font-weight: 800;
  margin: 0 0 22px;
  color: white;
}
.hero-title em,
.result-headline em {
  font-style: normal;
  color: white;
}
.hero-period {
  color: #cc001b;
}
.hero-copy {
  max-width: 445px;
  color: white;
  font-size: 20px;

  margin: 0 0 28px;
}
.hero-copy em {
  font-style: normal;
  color: #cc001b;
}
.intro-highlights {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #745064;
  margin-bottom: 29px;
}
.intro-highlights b {
  font-weight: 900;
  color: #421d38;
}
.intro-highlights i {
  display: block;
  height: 4px;
  width: 4px;
  background: var(--pink);
  border-radius: 50%;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 13px;
  border: 0;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.15px;
  min-height: 58px;
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    background 0.22s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  color: white;
  background: #cc001b;
  box-shadow: 0 10px 25px rgba(255, 0, 148, 0.22);
}
.button-primary:hover {
  background: linear-gradient(125deg, #e60087, #bf006b);
  box-shadow: 0 13px 30px rgba(255, 0, 148, 0.27);
}
.button span:last-child {
  font-weight: 500;
  font-size: 22px;
  line-height: 0;
}
.start-button {
  width: min(200px, 100%);
  justify-content: space-between;
  /*  background: linear-gradient(125deg, #ff0094, #e70082) !important; */
  background: #cc001b;
}
.under-cta {
  margin: 13px 0 0;
  color: #b299a8;
  font-size: 11px;
}
.content-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-top: 1px solid #f7edf0;
  padding: 20px 47px;
  font-weight: 800;
  color: #b289a3;
  font-size: 9px;
  letter-spacing: 1.05px;
}
/* Quiz */
.quiz-view {
  padding-top: 39px;
}
.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.step-num {
  color: #9c637e;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 900;
}
.step-num b {
  color: var(--pink);
  font-size: 16px;
}
.step-slash {
  color: #c6aab7;
  padding: 0 4px;
}
.step-action {
  font-size: 9px;
  color: #c08aa9;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.progress-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 17px;
  margin-bottom: 35px;
}
.progress-line span {
  height: 5px;
  background: #f3e4eb;
  border-radius: 99px;
  transition: background 0.3s;
}
.progress-line span.done {
  background: var(--pink);
}
.progress-line span.current {
  background: linear-gradient(90deg, var(--pink) 40%, #ffb9da);
}
.quiz-kicker {
  color: var(--pink);
  letter-spacing: 2px;
  font-weight: 900;
  font-size: 10px;
  margin: 0 0 12px;
}
.question-title {
  font-family: Outfit, "DM Sans", sans-serif;
  font-size: clamp(31px, 3.05vw, 45px);
  line-height: 1.06;
  letter-spacing: -1.6px;
  font-weight: 800;
  margin: 0 0 13px;
  max-width: 540px;
  color: white;
}
.question-sub {
  font-size: 14px;
  line-height: 1.6;
  color: white;
  margin: 0 0 26px;
}
.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice {
  position: relative;
  border: 1.5px solid #f0dce6;
  border-radius: 17px;
  background: #fff;
  text-align: left;
  padding: 16px 16px 15px;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink);
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  overflow: hidden;
}
.choice:before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -49px;
  top: -56px;
  border-radius: 50%;
  background: rgba(255, 0, 148, 0.05);
  transition: transform 0.2s;
}
.choice:hover {
  transform: translateY(-3px);
  border-color: #ff80c0;
  box-shadow: 0 9px 20px rgba(162, 25, 105, 0.06);
}
.choice.selected {
  border-color: var(--pink);
  background: #fff2f9;
  box-shadow: inset 0 0 0 1px var(--pink);
}
.choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border-radius: 11px;
  background: #fff0f7;
  color: #d50083;
  font-size: 21px;
  font-weight: 800;
}
.choice-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.choice-title {
  font-weight: 900;
  font-size: 14px;
  line-height: 1.25;
  position: relative;
}
.choice-desc {
  color: #a08496;
  font-size: 11px;
  line-height: 1.35;
  position: relative;
}
.choice-check {
  position: absolute;
  top: 13px;
  right: 14px;
  height: 20px;
  width: 20px;
  border: 1px solid #e8cedd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 11px;
}
.choice.selected .choice-check {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
}
.quiz-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
}
.text-button {
  padding: 5px 0;
  color: #805e74;
  background: none;
  border: 0;
  font-size: 12px;
  font-weight: 800;
}
.text-button:hover {
  color: var(--pink);
}
.tap-hint {
  font-size: 9px;
  letter-spacing: 1.25px;
  font-weight: 800;
  color: #c096b1;
}
.tap-hint span {
  font-size: 15px;
  color: var(--pink);
}
/* Result */
.result-view {
  padding-top: 44px;
}
.success-row {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #cc001b;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.success-badge {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #cc001b;
  font-size: 14px;
}
.result-overline {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.1px;
  color: var(--pink);
  margin: 26px 0 11px;
}
.result-headline {
  font-family: Outfit, sans-serif;
  font-size: clamp(40px, 3.8vw, 57px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.03;
  margin: 0 0 13px;
  color: white;
}
.result-intro {
  color: white;
  font-size: 14px;
  margin: 0 0 21px;
}
.result-summary {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 17px 22px;
  border-radius: 18px;
  background: linear-gradient(130deg, #fff0f7, #fff9f4);
  border: 1px solid #ffd9eb;
  position: relative;
  overflow: hidden;
}
.result-summary:after {
  content: "✳";
  font-size: 90px;
  color: rgba(255, 0, 148, 0.055);
  position: absolute;
  right: -13px;
  top: -30px;
}
.result-icon {
  flex: none;
  width: 47px;
  height: 47px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--pink);
  font-size: 25px;
  box-shadow: 0 5px 16px rgba(255, 0, 148, 0.09);
}
.result-mini {
  color: #d35496;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.6px;
  margin: 0 0 5px;
}
.result-summary h3 {
  font-family: Outfit, sans-serif;
  font-size: 24px;
  line-height: 1.12;
  margin: 0 0 9px;
  letter-spacing: -0.6px;
}
.result-summary p:last-child {
  font-size: 12px;
  line-height: 1.55;
  color: #836777;
  margin: 0;
}
.result-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 22px;
}
.result-tags span {
  border: 1px solid #efcddf;
  background: #fff;
  border-radius: 99px;
  padding: 8px 12px;
  color: #7d476c;
  font-size: 11px;
  font-weight: 800;
}
.catalog-button {
  width: 100%;
  justify-content: space-between;
  padding-inline: 21px;
}
.restart-button {
  display: block;
  border: 0;
  color: white;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  margin: 17px auto 0;
}
.restart-button:hover {
  color: var(--pink);
}
.result-legal {
  font-size: 10px;
  line-height: 1.45;
  color: #b096a4;
  margin: 12px auto 0;
  text-align: center;
  max-width: 440px;
}
/* Factory */
.factory-side {
  position: relative;
  min-width: 0;
  padding: 26px 28px 16px;
  display: flex;
  flex-direction: column;

  background:
    radial-gradient(
      ellipse 65% 65% at 82% 21%,
      rgba(255, 241, 182, 0.38),
      transparent
    ),
    linear-gradient(130deg, #fff1f6 1%, #ffdae9 53%, #ffecf0);
  border-left: 1px solid #f6dce7;
}
.factory-topbar {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.live-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 2.1px;
  font-size: 10px;
  font-weight: 900;
  color: #66304f;
}
.live-led {
  height: 9px;
  width: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 5px rgba(255, 0, 148, 0.14);
  animation: blink 2.4s infinite;
}
@keyframes blink {
  50% {
    box-shadow: 0 0 0 9px rgba(255, 0, 148, 0.03);
  }
}
.station-label {
  font-weight: 800;
  color: #965477;
  font-size: 10px;
  letter-spacing: 1.2px;
}
.station-label span {
  color: var(--pink);
}
.factory-scene {
  position: relative;
  flex: 1;
  min-height: 450px;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}
.factory-svg-wrap {
  width: calc(100% + 36px);
  margin-inline: -18px;
  position: relative;
}
.factory-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.scene-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--pink);
  z-index: 2;
}
.scene-stars span {
  position: absolute;
  font-size: 19px;
  opacity: 0.7;
  animation: starTwinkle 3.1s ease-in-out infinite;
}
.scene-stars span:first-child {
  left: 8%;
  top: 13%;
  font-size: 25px;
}
.scene-stars span:nth-child(2) {
  right: 7%;
  top: 23%;
  font-size: 25px;
  animation-delay: 0.8s;
}
.scene-stars span:nth-child(3) {
  right: 15%;
  bottom: 22%;
  animation-delay: 1.7s;
}
.scene-stars span:nth-child(4) {
  left: 15%;
  bottom: 31%;
  animation-delay: 1.1s;
}
@keyframes starTwinkle {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(0.8) rotate(-10deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.18) rotate(10deg);
  }
}
.float-badge {
  position: absolute;
  background: #fffdfa;
  padding: 10px 12px;
  border-radius: 10px;
  color: #a0567e;
  font-size: 9px;
  letter-spacing: 1.6px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(164, 48, 107, 0.08);
  transform: rotate(-5deg);
}
.badge-one {
  left: 1%;
  top: 18%;
  animation: badgeFloat 4s ease-in-out infinite;
}
.badge-two {
  right: -3%;
  bottom: 15%;
  transform: rotate(5deg);
  animation: badgeFloat2 4.5s ease-in-out infinite;
}
@keyframes badgeFloat {
  50% {
    transform: translateY(-5px) rotate(-7deg);
  }
}
@keyframes badgeFloat2 {
  50% {
    transform: translateY(5px) rotate(7deg);
  }
}
.status-card {
  background: #fffbf9;
  border: 1px solid #f0ccdf;
  border-radius: 17px;
  box-shadow: 0 8px 23px rgba(165, 58, 111, 0.06);
  padding: 14px 17px;
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 2;
}
.status-icon {
  background: #ffecf5;
  color: var(--pink);
  font-size: 24px;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  flex: none;
}
.status-copy {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}
.status-copy span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.4px;
  color: #ca7aa4;
}
.status-copy strong {
  font-size: 13px;
  line-height: 1.3;
  color: #542b46;
  font-weight: 900;
}
.status-count {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: #bb94ad;
  white-space: nowrap;
}
.status-count strong {
  color: var(--pink);
  font-family: Outfit, sans-serif;
  font-size: 28px;
}
.status-count span {
  font-size: 13px;
  font-weight: 800;
}
.factory-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #bc719a;
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.8px;
  margin-top: 18px;
}
.factory-caption span span {
  color: var(--pink);
}
/* SVG machine state */
.factory-svg text {
  font-family: Outfit, "DM Sans", sans-serif;
}
.station-graphic .station-icon circle {
  fill: #fffaf7;
  stroke: #d4a8c2;
  stroke-width: 3;
  transition:
    fill 0.3s,
    stroke 0.3s;
}
.station-graphic .station-icon path {
  color: #c183a8;
  transition: color 0.3s;
}
.station-graphic text {
  font-family: Outfit, sans-serif;
  font-size: 12px;
  fill: #b3849e;
  font-weight: 800;
  letter-spacing: 2px;
}
.station-graphic[data-state="done"] .station-icon circle {
  fill: var(--pink);
  stroke: #ffb9da;
}
.station-graphic[data-state="done"] .station-icon path {
  color: #fff;
}
.station-graphic[data-state="done"] text {
  fill: var(--pink);
}
#packageMover {
  --shift: 0px;
  transform: translateX(var(--shift));
  transition: transform 1s cubic-bezier(0.22, 0.69, 0.18, 1.12);
  transform-box: view-box;
  transform-origin: 0 0;
}
.factory-scene[data-progress="1"] #packageMover {
  --shift: 200px;
}
.factory-scene[data-progress="2"] #packageMover {
  --shift: 400px;
}
.factory-scene[data-progress="3"],
.factory-scene[data-progress="4"] {
  --shift-final: 600px;
}
.factory-scene[data-progress="3"] #packageMover,
.factory-scene[data-progress="4"] #packageMover {
  --shift: 600px;
}
.belt-motion {
  animation: beltCycle 1s linear infinite;
  transform-origin: center;
}
@keyframes beltCycle {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(45px);
  }
}
.factory-svg .gift-print,
.factory-svg .gift-ribbon,
.factory-svg .gift-bow,
.factory-svg .gift-sticker {
  opacity: 0;
  transition: opacity 0.46s ease;
}
.factory-scene[data-progress="2"] .gift-print,
.factory-scene[data-progress="3"] .gift-print,
.factory-scene[data-progress="4"] .gift-print {
  opacity: 1;
}
.factory-scene[data-progress="3"] .gift-ribbon,
.factory-scene[data-progress="4"] .gift-ribbon {
  opacity: 1;
}
.factory-scene[data-progress="4"] .gift-bow,
.factory-scene[data-progress="4"] .gift-sticker {
  opacity: 1;
}
.factory-scene[data-recipient="familia"] #boxBody {
  fill: #ad4a88;
}
.factory-scene[data-recipient="amigos"] #boxBody {
  fill: #fa61a9;
}
.factory-scene[data-recipient="peques"] #boxBody {
  fill: #c50b91;
}
.factory-scene[data-budget="hasta20"] .gift-ribbon rect {
  fill: #ffd8ad;
}
.factory-scene[data-budget="20a50"] .gift-ribbon rect {
  fill: #fbdca8;
}
.factory-scene[data-budget="50a100"] .gift-ribbon rect {
  fill: #f2c777;
}
.factory-scene[data-budget="mas100"] .gift-ribbon rect {
  fill: #f6d3b1;
}
.result-sparkles {
  opacity: 0;
  transform: scale(0.75);
  transform-origin: 780px 400px;
  transition:
    opacity 0.4s,
    transform 0.7s;
}
.factory-scene[data-progress="4"] .result-sparkles {
  opacity: 1;
  transform: scale(1);
  animation: resultTwinkle 2.4s ease-in-out infinite;
}
@keyframes resultTwinkle {
  50% {
    opacity: 0.5;
    transform: scale(0.97);
  }
}
.factory-scene[data-progress="4"] #packageArt {
  animation: finishedPulse 2.6s ease-in-out infinite;
  transform-origin: 66px 130px;
}
@keyframes finishedPulse {
  50% {
    transform: scale(1.06) translateY(-5px);
  }
}
.factory-scene.is-working .factory-sign {
  animation: machineShake 0.3s linear 3;
}
@keyframes machineShake {
  50% {
    transform: translateY(2px);
  }
}
.factory-scene.is-working .live-led {
  box-shadow: 0 0 0 8px rgba(255, 0, 148, 0.1);
}
/* Footer */
.site-footer {
  padding: 22px 5px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #af98a7;
  font-size: 11px;
}
/* Dev */
.dev-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(29, 14, 27, 0.48);
  z-index: 20;
  backdrop-filter: blur(2px);
}
.dev-panel {
  position: fixed;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(440px, 100%);
  background: #fffafc;
  z-index: 21;
  box-shadow: -20px 0 65px rgba(30, 5, 24, 0.19);
  padding: 31px;
  overflow-y: auto;
}
.dev-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.dev-kicker {
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 900;
  color: var(--pink);
}
.dev-head h2 {
  font-family: Outfit, sans-serif;
  font-size: 29px;
  margin: 8px 0;
  letter-spacing: -1px;
}
.dev-head p {
  color: #8b7383;
  font-size: 12px;
  line-height: 1.5;
  max-width: 270px;
}
.dev-close {
  width: 36px;
  height: 36px;
  background: #fbe7f1;
  border: 0;
  border-radius: 10px;
  color: #704061;
}
.dev-panel form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.dev-panel form label {
  font-size: 12px;
  font-weight: 900;
  color: #5b3451;
}
.dev-panel form select {
  background: #fff;
  border: 1px solid #e9c9d9;
  border-radius: 12px;
  color: #4e2942;
  padding: 12px 15px;
  margin-bottom: 12px;
  min-height: 46px;
}
.dev-route {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #fff0f7;
  border: 1px solid #f5c8df;
  border-radius: 15px;
  padding: 16px;
  margin: 5px 0;
}
.dev-route span {
  color: #ac5c88;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
}
.dev-route strong {
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.dev-route a {
  font-size: 12px;
  color: var(--pink);
  font-weight: 800;
}
.dev-apply {
  margin-top: 6px;
  width: 100%;
}
.dev-note {
  font-size: 11px;
  color: #9b8190;
  line-height: 1.7;
  margin-top: 22px;
}
@media (max-width: 1200px) {
  .shell {
    width: calc(100% - 44px);
  }
  .experience {
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  }
  .content-inner {
    padding: 39px 33px 20px;
  }
  .content-footer {
    padding: 19px 33px;
  }
  .hero-title {
    font-size: clamp(43px, 4.6vw, 60px);
  }
  .factory-side {
    padding: 23px 18px 16px;
  }
  .factory-scene {
    min-height: 420px;
  }
  .choice {
    min-height: 125px;
    padding: 13px;
  }
  .brandline {
    font-size: 8px;
    letter-spacing: 1.1px;
  }
  .question-title {
    font-size: clamp(29px, 3.2vw, 40px);
  }
}
@media (max-width: 860px) {
  .shell {
    width: calc(100% - 34px);
  }
  .site-header {
    height: 84px;
  }
  .brand img {
    width: 150px;
  }
  .experience {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 23px;
  }
  .content-side {
    order: 1;
  }
  .factory-side {
    order: 2;
    min-height: 0;
    border-left: 0;
    border-top: 1px solid #f4dce5;
    padding: 22px 28px 21px;
  }
  .factory-scene {
    flex: none;
    min-height: 0;
  }
  .factory-svg-wrap {
    width: min(780px, 100% + 30px);
    margin: auto;
  }
  .content-inner {
    padding: 40px 38px 35px;
  }
  .content-footer {
    padding: 19px 38px;
  }
  .intro-view {
    padding-top: 38px;
  }
  .hero-title {
    font-size: clamp(44px, 7.3vw, 66px);
    max-width: 630px;
  }
  .hero-copy {
    max-width: 620px;
  }
  .quiz-view,
  .result-view {
    padding-top: 32px;
  }
  .question-title {
    max-width: 650px;
    font-size: 42px;
  }
  .options-grid {
    max-width: 720px;
  }
  .factory-scene {
    max-height: 580px;
  }
  .factory-caption {
    max-width: 750px;
    width: 100%;
    margin-inline: auto;
  }
  .status-card {
    width: min(720px, 100%);
    margin: 0 auto;
  }
  .site-footer {
    font-size: 10px;
  }
}
@media (max-width: 600px) {
  .logo-feliz-navidad {
    max-width: 100px;
    margin-bottom: 10px;
  }
  .shell {
    width: 100%;
    margin: 0;
  }
  .site-header {
    height: 67px;
    padding: 0 18px;
    background: #fffbf9;
  }
  .brand img {
    width: 136px;
  }
  .header-label {
    display: none;
  }
  .dev-trigger {
    font-size: 11px;
    padding: 9px 12px;
  }
  .dev-trigger-long {
    display: none;
  }
  .dev-trigger-short {
    display: inline;
  }
  .experience {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    display: flex;
    overflow: visible;
    box-shadow: none;
  }
  .content-side {
    order: 1;
  }
  .factory-side {
    order: 2;
    padding: 15px 12px 23px;
  }
  .content-inner {
    padding: 25px 22px 24px;
  }
  .brandline {
    font-size: 8px;
    letter-spacing: 1px;
    flex-wrap: wrap;
  }
  .brandline-symbol {
    font-size: 19px;
  }
  .intro-view {
    padding-top: 0px;
  }
  .intro-punch {
    font-size: 9px;
    letter-spacing: 1.75px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: clamp(42px, 11.2vw, 61px);
    letter-spacing: -2.4px;
    line-height: 1.04;
    margin-bottom: 17px;
  }
  .hero-copy {
    font-size: 13px;
    line-height: 1.62;
    margin-bottom: 18px;
  }
  .intro-highlights {
    font-size: 10px;
    gap: 8px;
    margin-bottom: 24px;
  }
  .button {
    font-size: 13px;
    min-height: 0px;
    padding: 10px 16px;
  }
  .content-footer {
    padding: 14px 22px;
    font-size: 7.5px;
  }
  .factory-topbar {
    margin: 0 8px;
  }
  .factory-scene {
    min-height: 0;
  }
  .factory-svg-wrap {
    width: calc(100% + 6px);
    margin: 0 -3px;
  }
  .float-badge {
    padding: 6px 7px;
    font-size: 6px;
  }
  .badge-one {
    left: 0;
    top: 18%;
  }
  .badge-two {
    right: 0;
    bottom: 16%;
  }
  .status-card {
    padding: 11px 13px;
    gap: 10px;
  }
  .status-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .status-copy span {
    font-size: 8px;
  }
  .status-copy strong {
    font-size: 12px;
  }
  .status-count strong {
    font-size: 24px;
  }
  .factory-caption {
    font-size: 7.5px;
    margin-top: 12px;
  }
  .site-footer {
    padding: 18px;
    font-size: 9px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .step-header {
    gap: 5px;
  }
  .step-action {
    font-size: 7px;
    letter-spacing: 0.65px;
  }
  .progress-line {
    margin-bottom: 23px;
  }
  .quiz-view {
    padding-top: 25px;
  }
  .quiz-kicker {
    font-size: 9px;
  }
  .question-title {
    font-size: clamp(30px, 8.7vw, 41px);
    margin-bottom: 11px;
    letter-spacing: -1.2px;
  }
  .question-sub {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .options-grid {
    gap: 9px;
  }
  .choice {
    min-height: 122px;
    padding: 12px 10px;
    border-radius: 13px;
  }
  .choice-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }
  .choice-title {
    font-size: 12px;
  }
  .choice-desc {
    font-size: 10px;
  }
  .choice-check {
    right: 9px;
    top: 10px;
    height: 17px;
    width: 17px;
  }
  .quiz-controls {
    padding-top: 20px;
  }
  .tap-hint {
    font-size: 8px;
    max-width: 160px;
    text-align: right;
  }
  .result-view {
    padding-top: 23px;
  }
  .result-overline {
    font-size: 10px;
    margin-top: 20px;
  }
  .result-headline {
    font-size: 43px;
  }
  .result-summary {
    padding: 14px;
    gap: 12px;
  }
  .result-summary h3 {
    font-size: 21px;
  }
  .result-icon {
    width: 40px;
    height: 40px;
  }
  .result-legal {
    font-size: 9px;
  }
  .factory-side {
    order: 0;
    padding-top: 13px;
    padding-bottom: 12px;
    position: relative;
  }
  .experience[data-view="quiz"] .factory-side {
    position: sticky;
    top: 0;
    z-index: 4;
    box-shadow: 0 8px 20px rgba(93, 23, 62, 0.12);
    border-bottom: 1px solid #f3c8db;
  }
  .experience[data-view="quiz"] .factory-svg-wrap {
    height: 170px;
    overflow: hidden;
  }
  .experience[data-view="quiz"] .factory-svg {
    position: relative;
    top: -27px;
  }
  .experience[data-view="quiz"] .factory-topbar {
    display: none;
  }
  .experience[data-view="quiz"] .factory-caption,
  .experience[data-view="quiz"] .float-badge,
  .experience[data-view="quiz"] .scene-stars {
    display: none;
  }
  .experience[data-view="quiz"] .status-card {
    margin-top: -4px;
    padding: 7px 12px;
    border-radius: 11px;
  }
  .experience[data-view="quiz"] .status-icon {
    height: 30px;
    width: 30px;
    border-radius: 9px;
    font-size: 16px;
  }
  .experience[data-view="quiz"] .status-copy span {
    font-size: 7px;
  }
  .experience[data-view="quiz"] .status-copy strong {
    font-size: 11px;
  }
  .experience[data-view="quiz"] .status-count strong {
    font-size: 21px;
  }
  .experience[data-view="quiz"] .status-count span {
    font-size: 10px;
  }
  .experience[data-view="result"] .factory-side {
    order: 0;
  }
  .experience[data-view="intro"] .factory-side {
    order: 2;
  }
  .experience[data-view="quiz"] .content-side {
    order: 1;
  }
  .experience[data-view="result"] .content-side {
    order: 1;
  }
  .dev-panel {
    padding: 20px;
  }
}
@media (max-width: 380px) {
  .hero-title {
    font-size: 28px;
  }
  .content-inner {
    padding: 20px 17px 25px;
  }
  .options-grid {
    gap: 7px;
  }
  .choice {
    padding: 10px 8px;
  }
  .choice-title {
    font-size: 11px;
  }
  .choice-desc {
    font-size: 9px;
  }
  .content-footer {
    padding: 14px 17px;
  }
  .factory-side {
    padding-left: 9px;
    padding-right: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* V6 · Envoltorio editable desde regalo-config.js (SVG conserva sus formas) */
.factory-scene {
  --gift-front: #ff0094;
  --gift-side: #ad0068;
  --gift-top: #ffc6e6;
  --gift-ribbon: #f3c47d;
  --gift-ribbon-shine: #fff0b9;
  --gift-bow: #f8d681;
  --gift-bow-center: #fff2c3;
  --gift-pattern-color: #fff;
}
.factory-scene .factory-svg #boxBody {
  fill: var(--gift-front);
}
.factory-svg #boxSide {
  fill: var(--gift-side);
}
.factory-svg #boxTop {
  fill: var(--gift-top);
}
.factory-svg .gift-ribbon rect {
  fill: var(--gift-ribbon);
}
.factory-svg .gift-ribbon path:first-of-type {
  fill: var(--gift-ribbon-shine);
}
.factory-svg .gift-bow path {
  fill: var(--gift-bow);
}
.factory-svg .gift-bow circle {
  fill: var(--gift-bow-center);
}
.dev-route .route-code {
  display: block;
  border-radius: 8px;
  background: white;
  padding: 11px 12px;
  color: #7b2164;
  font-size: 11px;
  overflow-wrap: anywhere;
  line-height: 1.6;
}
