@font-face {
  font-family: "Gotham-Bold";
  src: url("https://minisitios.ripley.cl/minisitios/estatico/fonts/font-gotham/Gotham-Bold.woff")
    format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Gotham-Light";
  src: url("https://minisitios.ripley.cl/minisitios/estatico/fonts/font-gotham/Gotham-Light.woff")
    format("woff");
  font-weight: 300;
  font-display: swap;
}
:root {
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f7f7f9;
  color: #2d2d2f;
  font-family: "Gotham-Light", Arial, sans-serif;
}
button,
a {
  font: inherit;
}
button {
  touch-action: manipulation;
}
[hidden] {
  display: none !important;
}
.ripley-beauty-logo {
  width: 100%;
  height: auto;
  max-width: 150px;
}
/* Títulos de las preguntas */
.rbq-question-title-image {
  display: block;
  width: 100%;
  max-width: 650px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  margin-bottom: 12px;
}

/* Espacio bajo el título */
.rbq-modal-title {
  margin-bottom: 30px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.rbq-page {
  width: min(1120px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(15px, 4vw, 48px) 16px;
}
.rbq-card {
  width: 100%;
  min-height: 585px;
  background: white;
  border-radius: 26px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}
.rbq-header {
  min-height: 70px;
  padding: 20px clamp(16px, 4vw, 38px);
  border-bottom: 1px solid #f0f0f1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.rbq-header-label {
  font-family: "Gotham-Bold", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
}
.rbq-header-label strong {
  color: #ff008b;
}
.rbq-header-section {
  color: #888;
  font-size: 13px;
}
.rbq-content {
  width: 100%;
  min-height: 515px;
  padding: 34px clamp(12px, 4vw, 34px) 42px;
  display: grid;
  place-items: center;
}
.rbq-question {
  width: min(900px, 100%);
  text-align: center;
}
.rbq-question-counter {
  color: #888;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.rbq-modal-title {
  margin: 0 0 30px;
  font-family: "Gotham-Bold", Arial, sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.22;
  text-transform: lowercase;
}
.rbq-modal-title:focus,
.rbq-result h1:focus {
  outline: none;
}
.rbq-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
}
.rbq-option {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.16s ease,
    filter 0.16s ease;
}
.rbq-option:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.12));
}
.rbq-option:focus-visible,
.rbq-back:focus-visible,
.rbq-restart:focus-visible,
.rbq-result-cta:focus-visible,
.rbq-intro-trigger:focus-visible {
  outline: 3px solid #ff008b;
  outline-offset: 4px;
}
.rbq-option:disabled {
  cursor: default;
}
.rbq-option--image {
  width: calc((100% - 32px) / 3);
  max-width: 250px;
  aspect-ratio: auto;
  overflow: visible;
}
.rbq-option--budget {
  width: calc((100% - 16px) / 2);
  max-width: 410px;
  aspect-ratio: 830 / 145;
}
.rbq-option img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.rbq-option--image img {
  height: 100%;
  object-fit: cover;
}
.rbq-option.is-selected::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid #ff008b;
  border-radius: 9px;
  pointer-events: none;
}
.rbq-step-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 8px;
}
.rbq-step-dots span {
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: #d9d9d9;
}
.rbq-step-dots span.is-active,
.rbq-step-dots span.is-done {
  background: #ff0093;
}
.rbq-back {
  border: 0;
  background: transparent;
  color: #888;
  cursor: pointer;
  margin-top: 14px;
  font-family: "Gotham-Bold", Arial, sans-serif;
  font-size: 15px;
}
.rbq-back:hover {
  color: #2d2d2f;
}
.rbq-result {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 0 36px;
  text-align: center;
}
.rbq-result-kicker {
  margin: 0 0 9px;
  color: #ff008b;
  font-family: "Gotham-Bold", Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}
.rbq-result h1 {
  margin: 0 0 15px;
  font-family: "Gotham-Bold", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 46px);
}
.rbq-result > p:not(.rbq-result-kicker) {
  max-width: 610px;
  margin: 0 auto 20px;
  color: #666;
  line-height: 1.55;
}
.rbq-result-summary {
  padding: 16px;
  margin: 20px 0;
  border-radius: 10px;
  background: #f5f5f5;
  line-height: 1.6;
}
.rbq-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}
.rbq-result-cta,
.rbq-restart {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 7px;
  font-family: "Gotham-Bold", Arial, sans-serif;
  text-decoration: none;
}
.rbq-result-cta {
  background: #2d2d2f;
  color: #fff;
}
.rbq-result-cta:hover {
  background: #111;
}
.rbq-restart {
  border: 1px solid #d0d0d0;
  background: #fff;
  cursor: pointer;
  color: #666;
}
.rbq-intro {
  width: min(100%, 920px);
  margin: 0 auto;
  text-align: center;
}
.rbq-intro-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.rbq-intro-image {
  display: block;
  width: 100%;
  max-width: 876px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.rbq-intro-hint {
  margin: 13px 0 0;
  color: #777;
  font-size: 14px;
}
.rbq-debug {
  padding: 15px;
  margin-top: 12px;
  border: 1px dashed #aaa;
  border-radius: 10px;
  font-size: 12px;
}
.rbq-result-key {
  margin: 16px 0;
  color: #555;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.rbq-result--visual {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(10px, 2vw, 26px) 0 8px;
  text-align: center;
}
.rbq-result-title-art {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 8px 14px;
  margin: 0 auto;
}
.rbq-result-title-copy {
  font-family: "Gotham-Light", Arial, sans-serif;
  font-size: clamp(26px, 5vw, 58px);
  line-height: 0.92;
  color: #222;
}
.rbq-result-title-accent {
  display: block;
  width: 100%;
  height: auto;
}
.rbq-result-actions--art {
  display: grid;
  grid-template-columns: auto;
  gap: 22px;
  justify-items: center;
  margin-top: 28px;
}
.rbq-result-image-btn {
  display: block;
  width: min(100%, 560px);
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 24px;
  line-height: 0;
  cursor: pointer;
}
.rbq-result-image-btn img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 400px;
}
.rbq-result-image-btn:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}
.rbq-result-image-btn:focus-visible {
  outline: 3px solid #ff008b;
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .rbq-question-title-image {
    max-width: 100%;
  }
  .rbq-page {
    padding: 10px;
  }
  .rbq-card {
    min-height: calc(100dvh - 20px);
    border-radius: 18px;
  }
  .rbq-header {
    min-height: 58px;
    padding: 15px 16px;
  }
  .rbq-header-label {
    font-size: 12px;
  }
  .rbq-header-section {
    font-size: 11px;
  }
  .rbq-content {
    display: block;
    min-height: calc(100dvh - 85px);
    padding: 44px 12px 30px;
  }
  .rbq-modal-title {
    margin-bottom: 22px;
  }
  .rbq-options {
    gap: 8px;
    max-width: 390px;
  }
  .rbq-option--image {
    flex: 0 0 calc((100% - 16px) / 3);
    width: calc((100% - 16px) / 3);
    max-width: 120px;
  }
  .rbq-option--budget {
    width: 100%;
    max-width: 390px;
  }
  .rbq-step-dots {
    margin-top: 20px;
  }
  .rbq-result {
    padding: 20px 5px 30px;
  }
  .rbq-result--visual {
    padding-top: 8px;
  }
  .rbq-result-title-copy {
    font-size: clamp(22px, 7vw, 42px);
    text-align: center;
  }
  .rbq-result-title-accent {
    width: min(100%, 175px);
  }
  .rbq-result-actions--art {
    gap: 14px;
    margin-top: 20px;
  }
  .rbq-result-image-btn {
    width: min(100%, 420px);
  }
}
@media (max-width: 380px) {
  .rbq-content {
    padding-inline: 8px;
  }
  .rbq-options {
    gap: 6px;
  }
  .rbq-option--image {
    flex-basis: calc((100% - 12px) / 3);
    width: calc((100% - 12px) / 3);
  }
  .rbq-header-section {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
