/**
 * Wizard embed — layout, micro-animations and configurator gallery (Elementor landings).
 */

:root {
  --hmw-embed-pink: #f49898;
  --hmw-embed-pink-dark: #e07f7f;
  --hmw-embed-dot-idle: #f8d0d0;
  --hmw-embed-dot-visible: #f5b0b0;
  --hmw-embed-dot-active: #f49898;
  --hmw-embed-header: #f5d6cf;
  --hmw-embed-header-text: #773232;
  --hmw-embed-header-muted: #5a4540;
  --hmw-embed-cream: #fbf6f1;
  --hmw-embed-brown: #773232;
}

/* Hero above wizard */
.happymami-wizard-embed {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  font-size: 0.9rem;
}

.happymami-wizard-embed.hmw-embed--height-lock,
.happymami-wizard-embed #happymami-product-customization.hmw-inline--height-lock {
  transition: min-height 0.35s ease;
}

/* Boot / loading state */
.happymami-wizard-embed #happymami-product-customization.hmw-inline--booting {
  position: relative;
  min-height: clamp(320px, 52vh, 540px);
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--booting .hmw-inline-wizard-wrap,
.happymami-wizard-embed #happymami-product-customization.hmw-inline--booting .hmw-inline-configurator-wrap,
.happymami-wizard-embed #happymami-product-customization.hmw-inline--booting .hmw-inline-celebration-wrap {
  visibility: hidden !important;
  pointer-events: none !important;
}

.hmw-inline-boot {
  display: none;
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--booting .hmw-inline-boot {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2rem 1.25rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(119, 50, 50, 0.08);
  text-align: center;
}

.hmw-inline-boot__spinner {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 3px solid rgba(244, 152, 152, 0.25);
  border-top-color: var(--hmw-embed-pink);
  animation: hmw-embed-boot-spin 0.75s linear infinite;
}

.hmw-inline-boot__text {
  margin: 0;
  color: var(--hmw-embed-brown);
  font-size: 0.95rem;
  font-weight: 600;
}

@keyframes hmw-embed-boot-spin {
  to { transform: rotate(360deg); }
}

/* Wizard oculto en modo configurador (SSR, sin esperar JS) */
.happymami-wizard-embed #happymami-product-customization.hmw-inline--configurator .hmw-inline-wizard-wrap {
  display: none !important;
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--celebration .hmw-inline-wizard-wrap {
  display: none !important;
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--celebration .hmw-inline-celebration-wrap.is-visible {
  display: block !important;
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--wizard .hmw-inline-configurator-wrap {
  display: none !important;
}

.happymami-wizard-embed__hero {
  text-align: center;
  padding: 0 1rem 1.25rem;
  max-width: 720px;
  margin: 0 auto 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Ocultar hero cuando ya hay diseño / configurador */
.happymami-wizard-embed:has(#happymami-product-customization.hmw-inline--booting) .happymami-wizard-embed__hero,
.happymami-wizard-embed:has(#happymami-product-customization.hmw-inline--configurator) .happymami-wizard-embed__hero,
.happymami-wizard-embed:has(#happymami-product-customization.hmw-inline--celebration) .happymami-wizard-embed__hero {
  display: none;
}

.happymami-wizard-embed__badge {
  display: inline-block;
  padding: 0.28rem 0.8rem;
  border-radius: 999px;
  background: var(--hmw-embed-pink);
  color: #fff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
}

.happymami-wizard-embed__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  line-height: 1.2;
  color: var(--hmw-embed-brown);
  font-weight: 700;
}

.happymami-wizard-embed__lead {
  margin: 0;
  color: #6c6c6c;
  font-size: 0.84rem;
  line-height: 1.45;
}

/* Wizard shell card — padre estable; no se desmonta entre pasos */
.happymami-wizard-embed .hmw-inline-wizard-wrap {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(119, 50, 50, 0.08);
  transition: min-height 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--configurator .hmw-inline-wizard-wrap[hidden] {
  display: none !important;
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--wizard .hmw-inline-wizard-wrap {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.happymami-wizard-embed .hmw-inline-wizard-wrap.hmw-embed-wizard-enter {
  animation: hmw-embed-wizard-enter 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.happymami-wizard-embed .hmw-inline-wizard-wrap.hmw-embed-wizard-leave {
  animation: hmw-embed-mount-out 0.32s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--leaving-configurator .hmw-inline-configurator-wrap.is-visible {
  animation: hmw-embed-configurator-leave 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hmw-embed-wizard-enter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes hmw-embed-configurator-leave {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] {
  margin: 0;
  background: #fff;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-bar {
  background: var(--hmw-embed-header);
  padding-block: 0.4rem;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-bar .stage h2 {
  color: var(--hmw-embed-header-text);
  font-size: 0.78rem;
  font-weight: 600;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-dot {
  border-color: rgba(119, 50, 50, 0.22);
  background: #fff;
  color: var(--hmw-embed-header-muted);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-line {
  background: rgba(119, 50, 50, 0.14);
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-line::after {
  background: var(--hmw-embed-pink);
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-step.active .progress-dot,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-step.completed .progress-dot {
  border-color: var(--hmw-embed-pink);
  background: #fff;
  color: var(--hmw-embed-header-text);
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-step.final-green .progress-dot,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-steps.final-complete .progress-dot {
  background: var(--hmw-embed-pink);
  border-color: var(--hmw-embed-pink);
  color: #fff;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-line.final-green::after,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-steps.final-complete .progress-line::after {
  background: var(--hmw-embed-pink);
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-dot.milestone-pop {
  animation: hmw-embed-milestone-pop 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hmw-embed-milestone-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.14); box-shadow: 0 0 0 6px rgba(244, 152, 152, 0.28); }
  100% { transform: scale(1); box-shadow: none; }
}

/* Wizard shell — altura estable entre pasos sin forzar viewport enorme */
.happymami-wizard-embed {
  --hmw-embed-wizard-stage-h: clamp(13.5rem, 32vh, 16rem);
}

@media (max-width: 1024px) {
  .happymami-wizard-embed {
    --hmw-embed-wizard-stage-h: clamp(14.5rem, 42vh, 18rem);
  }
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--configurator .happymami-wizard-embed__main {
  min-height: var(--hmw-embed-configurator-min-h, 0);
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--wizard .hmw-inline-wizard-wrap,
.happymami-wizard-embed #happymami-product-customization.hmw-inline--wizard .happymami-wizard-embed__main {
  min-height: 0;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container {
  max-width: 100%;
  width: 100%;
  margin: 0.35rem 0 0;
  min-height: var(--hmw-embed-wizard-stage-h);
  padding: 0.25rem 0.55rem 0.2rem;
  container-type: inline-size;
  box-sizing: border-box;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .btn-container {
  margin-bottom: 0.1rem;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step-title,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step-info,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step-description,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step-call-to-action {
  width: 100%;
}

@media (min-width: 1025px) {
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.vertical {
    display: none !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.vertical .img-placeholder,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.vertical .options {
    display: none !important;
    min-height: 0 !important;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M2 .step.vertical,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M3 .step.vertical,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M4 .step.vertical {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0.35rem 0 0.45rem;
    gap: 0.85rem;
    padding: 0;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M2 .step.vertical .img-placeholder,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M3 .step.vertical .img-placeholder,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M4 .step.vertical .img-placeholder {
    flex: 1 1 42%;
    width: 42%;
    max-width: none;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0;
    padding-right: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M2 .step.vertical .img-placeholder img,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M3 .step.vertical .img-placeholder img,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M4 .step.vertical .img-placeholder img {
    display: block;
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: clamp(8.5rem, 24vh, 12.5rem);
    object-fit: contain;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M2 .step.vertical .options,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M3 .step.vertical .options,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M4 .step.vertical .options {
    flex: 1 1 52%;
    width: 52%;
    max-width: none;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    padding: 0;
  }
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container {
  min-height: 2.5rem;
}

/* Paso 1: siempre 3 opciones en una fila */
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.4rem;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option.box {
  max-width: none !important;
  justify-self: stretch !important;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option.box:nth-child(3):last-child {
  grid-column: auto !important;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option.box .holder {
  aspect-ratio: auto !important;
  width: 92%;
  max-width: 92%;
  min-width: 0;
  min-height: 0;
  margin-inline: auto;
  padding: 0.22rem;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 11.5rem;
  object-fit: contain;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option.box:hover .holder,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option.box.selected .holder,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option.box.is-current .holder {
  width: 92%;
  transform: scale(1.02);
}

@media (max-width: 1024px) {
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal {
    gap: 0.28rem;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option img {
    max-height: 6.25rem;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option.box .option-label,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.horizontal .option.box h4 {
    font-size: 0.62rem;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M1 .step.vertical {
    display: none !important;
    margin: 0 !important;
    min-height: 0 !important;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M2 .step.vertical,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M3 .step.vertical,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M4 .step.vertical {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    text-align: center;
    gap: 0.35rem;
    margin: 0.25rem 0 0.35rem;
    padding: 0;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M2 .step.vertical .img-placeholder,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M3 .step.vertical .img-placeholder,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M4 .step.vertical .img-placeholder {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    justify-content: center;
    padding: 0;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M2 .step.vertical .img-placeholder img,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M3 .step.vertical .img-placeholder img,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M4 .step.vertical .img-placeholder img {
    width: auto;
    max-width: 90%;
    height: auto;
    max-height: clamp(6.5rem, 30vw, 9.5rem);
    object-fit: contain;
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M2 .step.vertical .options,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M3 .step.vertical .options,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.step-M4 .step.vertical .options {
    width: 100%;
    max-width: 100%;
    gap: 0.3rem;
  }
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-title {
  color: var(--hmw-embed-brown);
  font-size: clamp(0.92rem, 2.2vw, 1.12rem);
  text-align: center;
  margin: 0 0 0.2rem;
  padding: 0;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-info {
  text-align: center;
  color: #6c6c6c;
  font-size: 0.72rem;
  line-height: 1.35;
}

/* Opciones horizontales — grid 3 en línea o 2+1 centrada */
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  margin: 0.3rem 0 0.4rem;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box {
  flex: none !important;
  width: 100%;
  max-width: 9.5rem;
  justify-self: center;
  margin: 0;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box .option-label,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box h4 {
  font-size: 0.72rem;
  line-height: 1.2;
  padding: 0 0.25rem;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box .holder {
  margin-bottom: 0.35rem;
  min-width: 0;
  border-radius: 16px;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option img {
  max-height: 6.25rem;
}

@container (max-width: 29.99rem) {
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box:nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 10.5rem;
  }
}

@container (min-width: 30rem) {
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box:nth-child(3):last-child {
    grid-column: auto;
    max-width: 11rem;
  }
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box:not(.selected):not(.is-current) .holder {
  border-color: #ececec !important;
  box-shadow: none !important;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box .holder {
  border-radius: 16px;
  border: 1px solid #ececec;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box:hover .holder,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box.selected .holder,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box.is-current .holder {
  border-color: var(--hmw-embed-pink);
  width: 70%;
  box-shadow: 0 8px 24px rgba(244, 152, 152, 0.22);
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.vertical .option.btn.selected,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.vertical .option.btn.is-current {
  border-color: var(--hmw-embed-pink) !important;
  box-shadow: 0 0 0 2px rgba(244, 152, 152, 0.35) !important;
  background: rgba(244, 152, 152, 0.08);
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.vertical .option.btn {
  font-size: 0.78rem;
  padding: 0.55rem 0.75rem;
  line-height: 1.25;
  min-height: 0;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .btn-back,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .btn-container button {
  font-size: 0.78rem;
  padding: 0.4rem 0.75rem;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container .step.horizontal .option.box.hmw-embed-option-pulse .holder {
  animation: hmw-embed-option-pulse 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes hmw-embed-option-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(0.97); border-color: var(--hmw-embed-pink); }
  100% { transform: scale(1); }
}

/* Step transitions — solo el contenido; el card blanco permanece opaco */
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container {
  background: transparent;
  transition: none;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container > *,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container > * {
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.hmw-embed-step-exit-forward > *,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container.hmw-embed-step-exit-forward > * {
  opacity: 0;
  transform: translateX(-10px);
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.hmw-embed-step-exit-back > *,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container.hmw-embed-step-exit-back > * {
  opacity: 0;
  transform: translateX(10px);
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.hmw-embed-step-enter-forward > *,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container.hmw-embed-step-enter-forward > * {
  animation: hmw-embed-step-enter-forward 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container.hmw-embed-step-enter-back > *,
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container.hmw-embed-step-enter-back > * {
  animation: hmw-embed-step-enter-back 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hmw-embed-step-enter-forward {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes hmw-embed-step-enter-back {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}

/* FAQ bar */
.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container {
  margin: 0.45rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container details {
  width: 30%;
  min-width: 8.5rem;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--hmw-embed-pink);
  border: 0;
  overflow: visible;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container details summary {
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
  text-align: center;
}

.happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container summary::after {
  display: none;
}

@media (max-width: 640px) {
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container details {
    width: min(100%, 18rem);
  }
}

/* FAQ image modal — appended to body to escape embed stacking context */
.hmw-embed-faq-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  pointer-events: none;
}

.hmw-embed-faq-modal.is-open,
.hmw-embed-faq-modal.is-closing {
  pointer-events: auto;
}

.hmw-embed-faq-modal[hidden] {
  display: none !important;
}

.hmw-embed-faq-modal__backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(20, 12, 12, 0);
  cursor: pointer;
  transition: background 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.hmw-embed-faq-modal.is-open .hmw-embed-faq-modal__backdrop {
  background: rgba(20, 12, 12, 0.72);
}

.hmw-embed-faq-modal.is-closing .hmw-embed-faq-modal__backdrop {
  background: rgba(20, 12, 12, 0);
  transition-duration: 0.28s;
}

.hmw-embed-faq-modal__panel {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 720px);
  max-height: 90vh;
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition:
    transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.hmw-embed-faq-modal.is-open .hmw-embed-faq-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hmw-embed-faq-modal.is-closing .hmw-embed-faq-modal__panel {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition-duration: 0.26s;
}

.hmw-embed-faq-modal__frame {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  vertical-align: top;
}

.hmw-embed-faq-modal__image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  cursor: zoom-out;
  background: #fff;
}

.hmw-embed-faq-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--hmw-embed-brown);
  font: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  z-index: 2;
  line-height: 1;
}

.hmw-embed-faq-modal__close span {
  display: block;
  font-size: 1.35rem;
  line-height: 1;
  transform: translateY(-0.05em);
}

.hmw-embed-faq-modal__close:hover {
  transform: scale(1.06);
  background: var(--hmw-embed-header);
}

body.hmw-embed-faq-modal-open {
  overflow: hidden;
}

/* Celebration tick — corporate pink */
.happymami-wizard-embed .hmw-inline-celebration__tick-circle,
.happymami-wizard-embed .hmw-inline-celebration__tick-check {
  stroke: var(--hmw-embed-pink) !important;
}

.happymami-wizard-embed .hmw-inline-celebration__message {
  color: var(--hmw-embed-brown) !important;
}

/* Configurator split layout — selectors left, summary+gallery right */
.happymami-wizard-embed .happymami-wizard-embed__layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.happymami-wizard-embed .happymami-wizard-embed__main {
  min-width: 0;
  order: 2;
}

.happymami-wizard-embed .happymami-wizard-embed__sidebar {
  order: 1;
  min-width: 0;
}

.hmw-summary-sidebar-grid {
  width: 100%;
}

/* Summary — grid 2x2, campo/valor centrados */
.hmw-summary-body__text {
  min-width: 0;
}

.happymami-wizard-embed .hmw-summary-body__text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem 0.55rem;
  text-align: center;
  justify-items: center;
}

.happymami-wizard-embed .hmw-summary-label {
  min-width: 0;
}

.happymami-wizard-embed .hmw-summary-body__text .hmw-summary-row:nth-child(even) {
  text-align: center;
  align-items: center;
}

.happymami-wizard-embed .hmw-summary-body__text .hmw-summary-row:nth-child(even) .hmw-summary-label,
.happymami-wizard-embed .hmw-summary-body__text .hmw-summary-row:nth-child(even) .hmw-summary-value {
  text-align: center;
  width: 100%;
}

/* Mini galería — hermana del summary, siempre visible */
.happymami-wizard-embed__sidebar .hmw-embed-gallery-wrap {
  margin-top: 0.55rem;
  width: 100%;
  --hmw-embed-gallery-slide-w: clamp(7.25rem, 47%, 9.5rem);
  --hmw-embed-gallery-img-h: 6.75rem;
}

.hmw-embed-gallery-wrap {
  margin-top: 0.55rem;
  width: 100%;
  --hmw-embed-gallery-slide-w: clamp(7.25rem, 47%, 9.5rem);
  --hmw-embed-gallery-img-h: 6.75rem;
}

.hmw-embed-mini-gallery {
  width: 100%;
  min-height: calc(var(--hmw-embed-gallery-img-h, 6.75rem) + 1.1rem);
}

.hmw-embed-mini-gallery__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(119, 50, 50, 0.08);
  box-shadow: 0 2px 10px rgba(119, 50, 50, 0.06);
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  scrollbar-width: none;
}

.hmw-embed-mini-gallery__viewport::-webkit-scrollbar {
  display: none;
}

.hmw-embed-mini-gallery__track {
  display: flex;
  gap: 0.45rem;
  padding: 0.45rem;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

.hmw-embed-mini-gallery__slide {
  flex: 0 0 var(--hmw-embed-gallery-slide-w);
  width: var(--hmw-embed-gallery-slide-w);
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #faf7f4;
  cursor: pointer;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  opacity: 0.88;
  transform: scale(0.98);
  transition: opacity 0.24s ease, transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease;
  box-shadow: 0 1px 4px rgba(119, 50, 50, 0.06);
}

.hmw-embed-mini-gallery__slide.is-active {
  opacity: 1;
  transform: scale(1);
  background: transparent;
  box-shadow: 0 4px 14px rgba(244, 152, 152, 0.18);
}

.hmw-embed-mini-gallery__slide.hmw-embed-variation-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hmw-embed-mini-gallery__slide.hmw-embed-variation-slide img {
  object-fit: contain;
}

.hmw-embed-mini-gallery__slide.is-updating img,
.hmw-embed-mini-gallery__slide img.is-fading-out {
  opacity: 0;
}

.hmw-embed-mini-gallery__slide img.is-fading-in {
  opacity: 1;
}

.hmw-embed-mini-gallery__slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: var(--hmw-embed-gallery-img-h);
  min-height: 0;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transition: opacity 0.28s ease;
}

.hmw-embed-mini-gallery__slide:hover,
.hmw-embed-mini-gallery__slide:active {
  opacity: 1;
  background: transparent;
}

.hmw-embed-mini-gallery__slide:focus-visible {
  outline: 2px solid rgba(244, 152, 152, 0.65);
  outline-offset: 2px;
}

.hmw-embed-mini-gallery__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
  padding: 0 0.15rem;
}

.hmw-embed-mini-gallery__dot {
  width: 0.42rem;
  height: 0.42rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--hmw-embed-dot-idle);
  box-shadow: 0 0 0 1px rgba(244, 152, 152, 0.18);
  cursor: pointer;
  transform: scale(var(--dot-scale, 1));
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
  opacity: 1;
  will-change: transform, background-color, box-shadow;
}

.hmw-embed-mini-gallery__dot:not(.is-visible):not(.is-active) {
  background-color: var(--hmw-embed-dot-idle);
}

.hmw-embed-mini-gallery__dot.is-visible:not(.is-center):not(.is-active) {
  background-color: var(--hmw-embed-dot-visible);
  box-shadow: 0 0 0 1px rgba(244, 152, 152, 0.22);
  opacity: 1;
}

.hmw-embed-mini-gallery__dot.is-visible.is-center,
.hmw-embed-mini-gallery__dot.is-active {
  background-color: var(--hmw-embed-dot-active);
  box-shadow: 0 0 0 3px rgba(244, 152, 152, 0.28);
}

.hmw-embed-mini-gallery__dot:hover {
  background-color: #f2a8a8;
}

.hmw-embed-mini-gallery__dot.is-visible:not(.is-center):not(.is-active):hover {
  background-color: #f0a0a0;
}

.hmw-embed-mini-gallery__dot.is-visible.is-center:hover,
.hmw-embed-mini-gallery__dot.is-active:hover {
  background-color: var(--hmw-embed-pink-dark);
}

@media (max-width: 1024px) {
  .hmw-embed-gallery-wrap {
    --hmw-embed-gallery-slide-w: clamp(6.75rem, 49%, 8.75rem);
    --hmw-embed-gallery-img-h: 6.25rem;
  }
}

@media (min-width: 1025px) {
  .hmw-embed-gallery-wrap {
    --hmw-embed-gallery-slide-w: clamp(7.5rem, 44%, 10.25rem);
    --hmw-embed-gallery-img-h: 7.25rem;
  }
}

@media (max-width: 1024px) {
  .happymami-wizard-embed__hero {
    padding: 0 5px;
    margin-bottom: 0;
  }

  .happymami-wizard-embed__title {
    font-size: clamp(1.15rem, 5.5vw, 1.45rem);
    line-height: 1.22;
  }

  .happymami-wizard-embed__lead {
    font-size: 0.8rem;
    line-height: 1.4;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
    margin-block-end: 0 !important;
  }

  .happymami-wizard-embed .happymami-wizard-embed__layout {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 1rem;
  }

  .happymami-wizard-embed .happymami-wizard-embed__main,
  .happymami-wizard-embed .happymami-wizard-embed__sidebar {
    width: 100% !important;
    max-width: 100% !important;
    order: unset;
    position: static !important;
  }

  .happymami-wizard-embed .happymami-wizard-embed__sidebar {
    order: 1;
  }

  .happymami-wizard-embed .happymami-wizard-embed__main {
    order: 2;
  }
}

@media (min-width: 1025px) {
  .happymami-wizard-embed #happymami-product-customization.hmw-inline--configurator .hmw-inline-configurator-wrap.is-visible .happymami-wizard-embed__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 42%);
    gap: 2rem;
    align-items: start;
  }

  .happymami-wizard-embed .happymami-wizard-embed__main {
    order: 0;
  }

  .happymami-wizard-embed .happymami-wizard-embed__sidebar {
    order: 0;
    position: sticky;
    top: 1.5rem;
  }
}

/* Summary in embed */
.happymami-wizard-embed .hmw-inline-summary-wrap,
.happymami-wizard-embed .hmw-inline-summary-wrap.is-visible {
  position: relative;
  z-index: 2;
  pointer-events: auto !important;
}

.happymami-wizard-embed .hmw-summary-card {
  margin: 0;
  max-width: 100%;
  width: 100%;
  background: var(--hmw-embed-cream);
  border-radius: 14px;
  padding: 0.65rem;
  box-shadow: none;
  position: relative;
  z-index: 3;
  pointer-events: auto !important;
}

.happymami-wizard-embed .hmw-summary-body {
  display: grid;
  grid-template-rows: 1fr;
  background: #fff;
  border-radius: 12px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  opacity: 1;
  transition:
    grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

.happymami-wizard-embed .hmw-summary-body-clip {
  min-height: 0;
  overflow: hidden;
  padding: 0.5rem 0.55rem;
}

.happymami-wizard-embed .hmw-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 4;
  pointer-events: auto !important;
}

.happymami-wizard-embed .hmw-summary-head__title {
  font-weight: 700;
  color: var(--hmw-embed-brown);
}

.happymami-wizard-embed .hmw-summary-collapse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 152, 152, 0.18);
  color: var(--hmw-embed-brown);
  cursor: pointer;
  pointer-events: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.happymami-wizard-embed .hmw-summary-collapse:hover {
  background: rgba(244, 152, 152, 0.32);
}

.happymami-wizard-embed .hmw-summary-collapse__icon {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.happymami-wizard-embed .hmw-summary-card.is-panel-collapsed .hmw-summary-collapse__icon {
  transform: rotate(-135deg) translateY(1px);
}

.happymami-wizard-embed .hmw-summary-card.is-panel-collapsed .hmw-summary-body {
  display: none !important;
  grid-template-rows: 0fr;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0;
  pointer-events: none;
}

.happymami-wizard-embed .hmw-summary-card.is-panel-collapsed .hmw-summary-body-clip {
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.happymami-wizard-embed .hmw-summary-card.is-panel-collapsed .hmw-summary-head {
  margin-bottom: 0;
}

.happymami-wizard-embed .hmw-summary-card.is-expanded:not(.is-panel-collapsed) .hmw-summary-body {
  display: grid !important;
  grid-template-rows: 1fr;
  height: auto !important;
  max-height: none !important;
  opacity: 1;
  overflow: hidden;
  pointer-events: auto;
}

.happymami-wizard-embed .hmw-summary-card.is-expanded:not(.is-panel-collapsed) .hmw-summary-body__text,
.happymami-wizard-embed .hmw-summary-card.is-expanded:not(.is-panel-collapsed) .hmw-summary-row,
.happymami-wizard-embed .hmw-summary-card.is-expanded:not(.is-panel-collapsed) .hmw-summary-actions,
.happymami-wizard-embed .hmw-summary-card.is-expanded:not(.is-panel-collapsed) .hmw-summary-btn {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.happymami-wizard-embed .hmw-summary-toggle {
  display: none !important;
}

.happymami-wizard-embed .hmw-summary-row {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.05rem;
  margin-bottom: 0;
  width: 100%;
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (min-width: 1025px) {
  .happymami-wizard-embed .hmw-summary-row {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    gap: 0.05rem;
    margin-bottom: 0;
  }

  .happymami-wizard-embed .hmw-summary-body__text .hmw-summary-row:nth-child(even) {
    align-items: center;
    text-align: center;
  }
}

.happymami-wizard-embed .hmw-summary-label {
  color: var(--hmw-embed-pink);
  min-width: 0;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.happymami-wizard-embed .hmw-summary-value {
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
}

.happymami-wizard-embed .hmw-summary-row[data-step-id] {
  cursor: pointer;
  border-radius: 8px;
  margin-left: -0.2rem;
  margin-right: -0.2rem;
  padding: 0.15rem 0.2rem;
  transition: background 0.15s ease;
}

.happymami-wizard-embed .hmw-summary-row[data-step-id]:hover,
.happymami-wizard-embed .hmw-summary-row[data-step-id]:focus-visible {
  background: rgba(244, 152, 152, 0.12);
  outline: none;
}

.happymami-wizard-embed .hmw-summary-row[data-step-id]:focus-visible {
  box-shadow: 0 0 0 2px rgba(244, 152, 152, 0.45);
}

.happymami-wizard-embed .hmw-summary-btn,
.happymami-wizard-embed .hmw-summary-btn--redesign {
  background: var(--hmw-embed-pink) !important;
  color: #fff !important;
  border: 0;
  font-size: 0.78rem;
  padding: 0.45rem 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.happymami-wizard-embed .hmw-summary-btn:hover,
.happymami-wizard-embed .hmw-summary-btn--redesign:hover {
  background: var(--hmw-embed-pink-dark) !important;
  filter: none;
  transform: translateY(-1px);
}

.happymami-wizard-embed .hmw-summary-actions {
  display: flex !important;
  justify-content: center;
  text-align: center;
  margin-top: 0.35rem;
}

.happymami-wizard-embed .hmw-summary-btn--redesign {
  margin-left: auto;
  margin-right: auto;
}

/* Selectores / sets más compactos */
.happymami-wizard-embed #happymami-product-selector {
  width: 100%;
}

.happymami-wizard-embed .hmw-inline-configurator-wrap.is-visible {
  width: 100%;
}

.happymami-wizard-embed #happymami-product-selector,
.happymami-wizard-embed #happymami-product-selector .variant-list,
.happymami-wizard-embed #happymami-product-selector .hm-selector-panel {
  font-size: 0.82rem;
}

.happymami-wizard-embed #happymami-product-selector .variant-list {
  gap: 0.7rem;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li {
  padding: 0.55rem 0.8rem;
  margin: 0.2rem 0;
  border-radius: 12px;
  font-size: 0.82rem;
  border-width: 1.5px;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li .title,
.happymami-wizard-embed #happymami-product-selector .variant-list li .happymami-selector-title-text {
  font-size: 0.88rem;
  line-height: 1.25;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li .description,
.happymami-wizard-embed #happymami-product-selector .variant-list li .happymami-selector-subtitle,
.happymami-wizard-embed #happymami-product-selector .variant-list li small {
  font-size: 0.72rem;
  line-height: 1.3;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li .price,
.happymami-wizard-embed #happymami-product-selector .variant-list li .price .sale-price,
.happymami-wizard-embed #happymami-product-selector .variant-list li .price .base-price,
.happymami-wizard-embed #happymami-product-selector .variant-list li .price .regular-price {
  font-size: 0.82rem !important;
  line-height: 1.2;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li .price {
  margin-top: 0.45rem;
  padding-top: 0.1rem;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li.hm-has-top-badge {
  padding-top: 0.75rem;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li .happymami-selector-top-badge {
  font-size: 0.58rem;
  padding: 0.18rem 0.45rem;
  right: 0.65rem;
  top: -0.7rem;
  line-height: 1.15;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li.hm-has-lower-badge {
  padding-bottom: 1.85rem;
  row-gap: 0.25rem;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li .happymami-selector-lower-badge {
  padding: 0.28rem 0.5rem;
  font-size: 0.58rem;
  line-height: 1.15;
}

.happymami-wizard-embed #happymami-product-selector .variant-list li > svg {
  width: 16px !important;
  height: 16px !important;
}

.happymami-wizard-embed #happymami-product-selector .hm-selector-panel,
.happymami-wizard-embed #happymami-product-selector .hm-selector-panel-body,
.happymami-wizard-embed #happymami-product-selector .happymami-sidebar-ui {
  padding: 0 !important;
  margin: 0 !important;
}

.happymami-wizard-embed #happymami-product-selector .happymami-sidebar-ui .title,
.happymami-wizard-embed #happymami-product-selector .happymami-sidebar-ui h3,
.happymami-wizard-embed #happymami-product-selector .happymami-sidebar-ui h4,
.happymami-wizard-embed #happymami-product-selector .attribute-label,
.happymami-wizard-embed #happymami-product-selector .hm-attr-label,
.happymami-wizard-embed #happymami-product-selector .sidebar-row .title,
.happymami-wizard-embed #happymami-product-selector div.title {
  font-size: 0.8rem !important;
  margin: 0.2rem 0 0.15rem !important;
  line-height: 1.25;
}

.happymami-wizard-embed #happymami-product-selector .product-image {
  max-height: 5.5rem;
  width: auto;
  margin: 0.15rem auto !important;
}

/* Color / tamaño / flujo */
.happymami-wizard-embed #happymami-product-selector .happymami-product-color-container .color-container .color-selector,
.happymami-wizard-embed #happymami-product-selector .color-selector {
  width: 38px !important;
  height: 38px !important;
  margin: 0 0.35rem !important;
}

.happymami-wizard-embed #happymami-product-selector .happymami-product-color-container .color-container .color-selector .color-bkg,
.happymami-wizard-embed #happymami-product-selector .color-selector .color-bkg {
  width: 34px !important;
  height: 34px !important;
}

.happymami-wizard-embed #happymami-product-selector .flow-option,
.happymami-wizard-embed #happymami-product-selector .size-option,
.happymami-wizard-embed #happymami-product-selector .attr-option,
.happymami-wizard-embed #happymami-product-selector .flow-selector .flow-option,
.happymami-wizard-embed #happymami-product-selector .attr-selector .attr-option,
.happymami-wizard-embed #happymami-product-selector .teat-flows .flow-option,
.happymami-wizard-embed #happymami-product-selector .bottle-sizes .size-option {
  font-size: 0.8rem !important;
  padding: 0.28rem 0.7rem !important;
  margin: 3px !important;
  border-radius: 999px !important;
  border-width: 1.5px !important;
  line-height: 1.25 !important;
}

.happymami-wizard-embed #happymami-product-selector .bottle-sizes,
.happymami-wizard-embed #happymami-product-selector .teat-flows,
.happymami-wizard-embed #happymami-product-selector .flow-selector,
.happymami-wizard-embed #happymami-product-selector .color-container {
  gap: 0.2rem !important;
  margin: 0 !important;
}

.happymami-wizard-embed #happymami-product-selector .sidebar-row {
  margin: 0.25rem 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  align-items: center;
}

.happymami-wizard-embed #happymami-product-selector .sidebar-row + .sidebar-row {
  margin-top: 0.3rem !important;
}

.happymami-wizard-embed #happymami-product-selector .happymami-sidebar-ui .image-preview {
  margin: 0.15rem 0 !important;
}

.happymami-wizard-embed #happymami-product-selector .set2-second-toggle {
  margin: 0.25rem 0 0.3rem !important;
  padding: 0.2rem 0 !important;
  font-size: 0.8rem !important;
}

.happymami-wizard-embed #happymami-product-selector .set2-second-options {
  margin: 0 !important;
  padding: 0 !important;
}

.happymami-wizard-embed .sidebar-footer {
  padding: 0.45rem 0 0 !important;
}

.happymami-wizard-embed .sidebar-footer button,
.happymami-wizard-embed #happymami-add-to-cart {
  font-size: 0.78rem;
  padding: 0.55rem 0.85rem;
}

@media (max-width: 1024px) {
  .happymami-wizard-embed #happymami-product-selector .variant-list li {
    padding: 0.5rem 0.7rem;
  }

  .happymami-wizard-embed #happymami-product-selector .variant-list li .title,
  .happymami-wizard-embed #happymami-product-selector .variant-list li .happymami-selector-title-text {
    font-size: 0.84rem;
  }

  .happymami-wizard-embed #happymami-product-selector .variant-list li .price,
  .happymami-wizard-embed #happymami-product-selector .variant-list li .price .sale-price,
  .happymami-wizard-embed #happymami-product-selector .variant-list li .price .base-price,
  .happymami-wizard-embed #happymami-product-selector .variant-list li .price .regular-price {
    font-size: 0.8rem !important;
  }

  .happymami-wizard-embed #happymami-product-selector .variant-list li .happymami-selector-top-badge,
  .happymami-wizard-embed #happymami-product-selector .variant-list li .happymami-selector-lower-badge {
    font-size: 0.58rem;
  }

  .happymami-wizard-embed #happymami-product-selector .product-image {
    max-height: 5.5rem;
  }

  .happymami-wizard-embed #happymami-product-selector .happymami-product-color-container .color-container .color-selector,
  .happymami-wizard-embed #happymami-product-selector .color-selector {
    width: 34px !important;
    height: 34px !important;
    margin: 0 0.3rem !important;
  }

  .happymami-wizard-embed #happymami-product-selector .happymami-product-color-container .color-container .color-selector .color-bkg,
  .happymami-wizard-embed #happymami-product-selector .color-selector .color-bkg {
    width: 30px !important;
    height: 30px !important;
  }

  .happymami-wizard-embed #happymami-product-selector .flow-option,
  .happymami-wizard-embed #happymami-product-selector .size-option,
  .happymami-wizard-embed #happymami-product-selector .attr-option,
  .happymami-wizard-embed #happymami-product-selector .flow-selector .flow-option,
  .happymami-wizard-embed #happymami-product-selector .attr-selector .attr-option,
  .happymami-wizard-embed #happymami-product-selector .teat-flows .flow-option,
  .happymami-wizard-embed #happymami-product-selector .bottle-sizes .size-option {
    font-size: 0.76rem !important;
    padding: 0.24rem 0.6rem !important;
    margin: 2px !important;
  }

  .happymami-wizard-embed #happymami-product-selector .happymami-sidebar-ui .title,
  .happymami-wizard-embed #happymami-product-selector .sidebar-row .title,
  .happymami-wizard-embed #happymami-product-selector div.title {
    font-size: 0.76rem !important;
  }
}

@keyframes hmw-embed-mount-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hmw-embed-mount-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(8px);
  }
}

.hmw-embed-mount-in {
  animation: hmw-embed-mount-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.happymami-wizard-embed #happymami-product-selector .variant-list > li.hmw-embed-mount-in:nth-child(1) {
  animation-delay: 0.04s;
}

.happymami-wizard-embed #happymami-product-selector .variant-list > li.hmw-embed-mount-in:nth-child(2) {
  animation-delay: 0.1s;
}

.happymami-wizard-embed #happymami-product-selector .variant-list > li.hmw-embed-mount-in:nth-child(3) {
  animation-delay: 0.16s;
}

.happymami-wizard-embed #happymami-product-selector .variant-list > li.hmw-embed-mount-in:nth-child(4) {
  animation-delay: 0.22s;
}

.happymami-wizard-embed #happymami-product-selector .variant-list > li.hmw-embed-mount-in:nth-child(n + 5) {
  animation-delay: 0.28s;
}

.hmw-embed-mount-out {
  animation: hmw-embed-mount-out 0.28s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.happymami-wizard-embed .hm-selector-panel:not([style*="display: none"]) {
  animation: hmw-embed-mount-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.happymami-wizard-embed .hmw-inline-summary-wrap.is-visible {
  animation: hmw-embed-mount-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.happymami-wizard-embed .hmw-embed-atc-mounted,
.happymami-wizard-embed .hmw-embed-atc-wrap.is-visible .single_add_to_cart_button {
  animation: hmw-embed-mount-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.happymami-wizard-embed .hmw-embed-atc-wrap {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0.75rem;
}

.hmw-inline-boot__text {
  font-size: 0.86rem;
}

@media (prefers-reduced-motion: reduce) {
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .step-container > *,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .faq-container > *,
  .happymami-wizard-embed #happymami-wizard[data-embed-wizard="1"] .progress-dot,
  .happymami-wizard-embed .hmw-inline-wizard-wrap.hmw-embed-wizard-enter,
  .happymami-wizard-embed .hmw-inline-wizard-wrap.hmw-embed-wizard-leave,
  .happymami-wizard-embed #happymami-product-customization.hmw-inline--leaving-configurator .hmw-inline-configurator-wrap.is-visible,
  .hmw-embed-faq-modal__panel,
  .hmw-embed-faq-modal__backdrop,
  .hmw-embed-mount-in,
  .hmw-embed-mount-out,
  .happymami-wizard-embed .hm-selector-panel,
  .happymami-wizard-embed .hmw-inline-summary-wrap.is-visible,
  .happymami-wizard-embed .hmw-embed-atc-mounted,
  .happymami-wizard-embed .hmw-summary-body {
    animation: none !important;
    transition: none !important;
  }
}
