/*!/wp-content/plugins/happymami-core/assets/style/base_v3.css*/@font-face{font-family:"Euclid Circular";src:url("https://happymami.com/wp-content/uploads/2024/04/Euclid-Circular-B-Regular-2.woff2")
format("woff2");font-weight:normal;font-style:normal;font-display:swap;}

@font-face{font-family:"Euclid Circular SemiBold";src:url("https://happymami.com/wp-content/uploads/2024/04/Euclid-Circular-B-SemiBold.woff2")
format("woff2");font-weight:normal;font-style:normal;font-display:swap;}

@font-face{font-family:"ITC Souvenir Demi Regular";src:url("https://happymami.com/wp-content/uploads/2024/04/itc-souvenir-demi-regular.woff2")
format("woff2");font-weight:normal;font-style:normal;font-display:swap;}

#happymami-wizard {
  margin-bottom: 2rem;
  font-family: "Euclid Circular", Sans-serif;
}

#happymami-wizard .progress-bar .stage {
  margin-left: 0;
  color: #3a4249;
  text-align: center;
}

#happymami-wizard .progress-bar .stage h2 {
  display: block;
  font-size: 1.8rem;
  font-weight: normal;
  margin: 0;
}

#happymami-wizard .progress-bar,
#happymami-wizard .btn-container,
#happymami-wizard .step .option {
  user-select: none;
}

#happymami-wizard .step-description,
#happymami-wizard .step-info,
#happymami-wizard .faq-container,
#happymami-wizard .modal-body {
  user-select: text;
}

#happymami-wizard .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Loading / error */
#happymami-wizard.is-loading .progress-bar,
#happymami-wizard.is-loading .step-container,
#happymami-wizard.is-loading .faq-container,
#happymami-wizard.is-error .progress-bar,
#happymami-wizard.is-error .step-container,
#happymami-wizard.is-error .faq-container {
  display: none !important;
}

#happymami-wizard .hmw-status {
  text-align: center;
  padding: 0;
}

#happymami-wizard:not(.is-loading):not(.is-error) .hmw-status {
  display: none;
}

#happymami-wizard .hmw-skeleton {
  width: 100%;
}

#happymami-wizard .hmw-skeleton-line,
#happymami-wizard .hmw-skeleton-card,
#happymami-wizard .hmw-skeleton-dot,
#happymami-wizard .hmw-skeleton-line-seg,
#happymami-wizard .hmw-skeleton-faq {
  background: linear-gradient(90deg, #f0f0f0 25%, #f7f7f7 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: hmw-shimmer 1.4s ease-in-out infinite;
}

#happymami-wizard .hmw-skeleton-progress {
  background: #fafafa;
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#happymami-wizard .hmw-skeleton-stage {
  height: 1.35rem;
  width: min(280px, 55%);
  border-radius: 999px;
}

#happymami-wizard .hmw-skeleton-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(520px, 90%);
  gap: 0;
}

#happymami-wizard .hmw-skeleton-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: 0 0 auto;
}

#happymami-wizard .hmw-skeleton-line-seg {
  flex: 1 1 auto;
  height: 4px;
  min-width: 28px;
  border-radius: 4px;
  margin: 0 -4px;
}

#happymami-wizard .hmw-skeleton-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
}

#happymami-wizard .hmw-skeleton-question {
  height: 1.5rem;
  width: min(420px, 85%);
  margin: 0.5rem auto 1rem;
  border-radius: 999px;
}

#happymami-wizard .hmw-skeleton-info {
  height: 0.85rem;
  width: min(520px, 92%);
  margin: 0.45rem auto;
  border-radius: 999px;
}

#happymami-wizard .hmw-skeleton-info-short {
  width: min(360px, 70%);
  margin-bottom: 1.75rem;
}

#happymami-wizard .hmw-skeleton-cards {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

#happymami-wizard .hmw-skeleton-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 0 1 180px;
  max-width: 220px;
}

#happymami-wizard .hmw-skeleton-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
}

#happymami-wizard .hmw-skeleton-label {
  height: 0.85rem;
  width: 55%;
  border-radius: 999px;
}

#happymami-wizard .hmw-skeleton-faq {
  height: 3.25rem;
  width: min(640px, 100%);
  margin: 0 auto;
  border-radius: 30px;
}

#happymami-wizard .hmw-error-msg {
  color: #87a1b2;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  #happymami-wizard .hmw-skeleton-option {
    flex: 1 1 28%;
    max-width: 120px;
    gap: 0.5rem;
  }

  #happymami-wizard .hmw-skeleton-card {
    border-radius: 20px;
  }

  #happymami-wizard .hmw-skeleton-question {
    height: 1.2rem;
  }

  #happymami-wizard .hmw-skeleton-body {
    padding: 1rem 0.75rem 1.5rem;
  }
}

#happymami-wizard .hmw-retry {
  margin-top: 0.75rem;
  background: #f49898;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  font-family: "Euclid Circular", Sans-serif;
}

@keyframes hmw-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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

#happymami-wizard .btn:focus-visible,
#happymami-wizard .option:focus-visible,
#happymami-wizard .btn-close:focus-visible,
#happymami-wizard .help-button:focus-visible,
#happymami-wizard .faq-container summary:focus-visible,
#happymami-wizard .hmw-retry:focus-visible {
  outline: 2px solid #f49898;
  outline-offset: 3px;
}

/* Paso horizontal: el anillo sigue la tarjeta (.holder), no todo el botón+etiqueta */
#happymami-wizard .step-container .step.horizontal .option.box:focus {
  outline: none;
}

#happymami-wizard .step-container .step.horizontal .option.box:focus-visible {
  outline: none;
}

#happymami-wizard .step-container .step.horizontal .option.box:focus-visible .holder {
  outline: 2px solid #f49898;
  outline-offset: 3px;
  border-color: #f49898;
}

/***********************************************************************************************************************/
/* Progress Bar */
/***********************************************************************************************************************/

/* Propiedad CSS animable para el porcentaje del círculo */
@property --progress-value {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

#happymami-wizard .progress-bar {
  background: #f5d6cf;
  font-size: 15px;
  align-items: center;
  padding-block: .2rem;
}

#happymami-wizard .progress-bar .progress-container {
  margin: 0 auto 0 auto;
  padding: 0 1rem;
  width: 100%;
  max-width: 1140px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

#happymami-wizard .progress-steps {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  gap: 0;
}

#happymami-wizard .progress-step {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}

#happymami-wizard .progress-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #e6e6e6;
  background: #fff;
  color: #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  transition: all 0.3s ease;
}

#happymami-wizard .progress-line {
  flex: 1 1 auto;
  min-width: 28px;
  height: 4px;
  background: #e6e6e6;
  border-radius: 4px;
  transition: background 0.3s ease;
  position: relative;
  z-index: 1;
  margin: 0 -8px;
}

#happymami-wizard .progress-line::after {
  content: '';
  display: block;
  height: 100%;
  width: 0%;
  background: #2f393f;
  border-radius: 4px;
  transition: width 0.3s ease;
}

#happymami-wizard .progress-line.half::after {
  width: 50%;
}

#happymami-wizard .progress-step.active .progress-dot {
  border-color: #2f393f;
  color: #2f393f;
}

#happymami-wizard .progress-step.completed .progress-dot {
  border-color: #2f393f;
  color: #2f393f;
}

#happymami-wizard .progress-line.completed {
  background: #e6e6e6;
}

#happymami-wizard .progress-line.completed::after {
  width: 100%;
}

#happymami-wizard .progress-steps.final-complete .progress-dot {
  background: #2bb673;
  border-color: #2bb673;
  color: #fff;
  transition-duration: 0.8s;
}

#happymami-wizard .progress-steps.final-complete .progress-line {
  background: #e6e6e6;
}

#happymami-wizard .progress-steps.final-complete .progress-line::after {
  width: 100%;
  background: #2bb673;
  transition-duration: 0.8s;
}

#happymami-wizard .progress-step.final-green .progress-dot {
  background: #2bb673;
  border-color: #2bb673;
  color: #fff;
}

#happymami-wizard .progress-line.final-green::after {
  width: 100%;
  background: #2bb673;
}

#happymami-wizard .progress-dot.milestone-pop {
  animation: milestonePop 0.25s ease-out;
}

@keyframes milestonePop {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

#happymami-wizard .progress-bar .progress-circle {
  position: relative;
  width: 4.2rem;
  min-width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  --progress-value: 0%;
  --progress-color: rgb(241, 151, 151);
  background: radial-gradient(closest-side, white 85%, transparent 86%),
    conic-gradient(var(--progress-color) var(--progress-value), #F4D4CE 0);
  transition: --progress-value 0.4s ease-out;
}

#happymami-wizard .progress-bar .progress-circle::after {
  content: attr(data-progress);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  color: #87a1b2;
  font-weight: bold;
}

#happymami-wizard .progress-bar .stage {
  margin-left: 1.5rem;
  color: #3a4249;
}

#happymami-wizard .progress-bar h2 {
  display: block;
  font-size: 1.8rem;
  font-weight: normal;
  margin: 0;
}

#happymami-wizard .progress-bar span {
  display: block;
  font-size: 1rem;
}

#happymami-wizard .progress {
  width: 50%;
  height: 0.5rem;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin: -0.25rem auto 3rem auto;
}

#happymami-wizard .progress .bar {
  height: 100%;
  background-color: transparent;
  width: 0%;
  border-radius: 10px;
  transition: width 0.5s ease;
}

/* Estilos popup */

#happymami-wizard .popup,
#happymami-wizard .popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
}

#happymami-wizard .popup-overlay {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

#happymami-wizard .popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  width: 70vw;
  max-width: 800px;
  max-height: 80vh;
  overflow: auto;
  padding: 2em;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10000;
}

#happymami-wizard .popup .btn-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

#happymami-wizard .help-button {
  margin-top: 1em;
  margin-bottom: 2em;
}

#happymami-wizard .help-button {
  display: block;
  margin: 1.5em auto 2em;
  padding: 0.75em 1.5em;
  font-size: 1rem;
  text-align: center;
}

/***********************************************************************************************************************/
/* ANIMACIONES DE TRANSICIÓN */
/***********************************************************************************************************************/

#happymami-wizard .step-container,
#happymami-wizard .faq-container {
  transition: opacity 0.2s ease-out;
}

#happymami-wizard .step-container.fade-out,
#happymami-wizard .faq-container.fade-out {
  opacity: 0 !important;
}

/***********************************************************************************************************************/
/* CUERPO */
/***********************************************************************************************************************/

#happymami-wizard .step-container {
  max-width: 1200px;
  margin: 3rem auto 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 0;
}

#happymami-wizard .step-container .step {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

#happymami-wizard .step-container .step.vertical {
  flex-wrap: nowrap;
  margin-bottom: 2rem;
}

#happymami-wizard .step-container .step-description {
  text-align: center;
  font-size: 1.1rem;
  color: #87a1b2;
  margin-bottom: 1rem;
}

#happymami-wizard .step-container .step-call-to-action {
  text-align: center;
  font-size: 1.2rem;
  color: #87a1b2;
}

#happymami-wizard .step-title {
  font-family: "ITC Souvenir Demi Regular", "Euclid Circular",
    Sans-serif;
  font-weight: normal;
  color: #2f393f;
  text-align: center;
  font-size: 1.6rem;
  padding: 2rem 2rem 0 2rem;
  /* background-color: #FFFAF8; */
  margin: 0;
  margin-top: 0;
  /* box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* desplazamiento solo hacia abajo */
}

#happymami-wizard .step-container .step-info {
  text-align: center;
}

#happymami-wizard .step-info:not(:empty) {
  font-size: 1.1rem;
  font-weight: 700;
  color: #485056;
  text-align: center;
}


#happymami-wizard .step-container .step .option,
#happymami-wizard .step-container .step .option * {
  font-size: 1.1rem;
  font-weight: 450;
  color: #87a1b2;
}

#happymami-wizard .step-container .step .option .holder h4 {
  font-size: 1.1rem;
  font-family: "Euclid Circular", Sans-serif !important;
  color: #2f393f;
}

#happymami-wizard .step-container .step.vertical .option {
  border-radius: 35px;
  background-color: #fff;
  color: #87a1b2;
  border: 2px solid #d0d5dd;
}

#happymami-wizard .step-container .step .img-placeholder {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

#happymami-wizard .step-container .step.vertical .img-placeholder {
  width: auto;
}

#happymami-wizard:not([data-embed-wizard="1"]) .step-container .step.vertical .img-placeholder {
  padding-right: 2rem;
  height: 250px !important;
}

#happymami-wizard:not([data-embed-wizard="1"]) .step-container .step.vertical .img-placeholder img {
  display: block;
  height: 270px !important;
  width: auto;
}

#happymami-wizard .step-container .step .img-placeholder:empty {
  min-height: 0;
}

#happymami-wizard .step-container .step.vertical .options {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: calc(45% - 30px);
}

#happymami-wizard .step-container .step.vertical .options h2 {
  text-align: center;
  margin-bottom: 10px;
  font-weight: normal;
}

#happymami-wizard .step-container .step.vertical .option.btn {
  padding: 15px;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0;
  min-height: inherit;
  display: flex !important;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  flex: none;
  font-family: "Euclid Circular", Sans-serif;
  color: #2f393f;
  font-weight: 450;
  text-align: center;
}

#happymami-wizard .step-container .step.vertical .option.btn:hover,
#happymami-wizard .step-container .step.vertical .option.btn.selected,
#happymami-wizard .step-container .step.horizontal .option.box .holder,
#happymami-wizard
  .step-container
  .step.horizontal
  .option.box.selected
  .holder {
  border-color: #f49898;
}

#happymami-wizard .step-container .step.vertical .option.btn.selected {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 0 0 2px #f49898;
}

/* Estado deshabilitado para evitar múltiples clics */
#happymami-wizard .step-container .step .option.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

#happymami-wizard .step-container .step .option.disabled:not(.selected) {
  filter: grayscale(30%);
}

#happymami-wizard .step-container .step .option.selected.disabled {
  opacity: 1;
}

#happymami-wizard .step-container .step.horizontal .option.box:hover .holder {
  border-color: #f49898 !important;
}

#happymami-wizard
  .step-container
  .step.horizontal
  .option.box.selected
  .holder {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 0 0 2px #f49898;
}

#happymami-wizard .step-container .step.horizontal .option.box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  cursor: pointer;
  min-height: inherit;
  border: none;
  background: transparent;
  padding: 0;
  font: inherit;
  flex: 0 1 300px;
  max-width: 100%;
  box-sizing: border-box;
  color: #2f393f;
  transition: all 0.3s ease;
}

#happymami-wizard .step-container .step.horizontal .option.box .option-label {
  display: block;
  font-family: "Euclid Circular", Sans-serif;
  font-weight: 600;
  font-size: calc(1.1rem - 2px);
  color: #2f393f;
}

#happymami-wizard .step-container .step.horizontal .option.box h4 {
  margin: 0;
  padding: 0 2rem;
}

#happymami-wizard .step-container .step.horizontal .option.box .holder {
  background-color: #fff;
  border-radius: 30px;
  border: 2px solid #d0d5dd;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  aspect-ratio: 1/1;
  transition: all 0.3s ease;
}

#happymami-wizard .step-container .step.horizontal .option.box .holder.no-img {
  border-radius: 50px;
  padding: 12px;
  width: 100%;
}

#happymami-wizard .step-container .step.horizontal .option img {
  margin: 0 !important;
  max-height: 275px;
}

#happymami-wizard
  .step-container
  .step.horizontal
  .option.box:not(.form)
  .holder {
  height: 100%;
}

#happymami-wizard .step-container .step.horizontal .option.box:hover .holder {
  border-color: #f49898;
}

#happymami-wizard .step-container .step.horizontal .option.box .holder * {
  font-family: "ITC Souvenir Demi Regular", "Euclid Circular",
    Sans-serif;
  font-weight: normal;
}

/*Formulario embebido*/

/* Contenedor del formulario que aparece dentro de la card */

#happymami-wizard .embedded-form-container {
  margin-top: 1em;
  padding-top: 1em;
  border-top: 1px solid #eee;
  background-color: transparent;
  animation: fadeIn 0.3s ease-in-out;
}

/* Estilo para la etiqueta */

#happymami-wizard .embedded-form-container label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 500;
  font-size: 1rem;
  color: #87a1b2;
}

/* Estilo para el input tipo date */

#happymami-wizard .embedded-form-container input[type="date"] {
  padding: 0.5em;
  width: 100%;
  max-width: 300px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

#happymami-wizard .embedded-form-container input[type="date"]:focus {
  border-color: #f49898;
  outline: 2px solid #f49898;
  outline-offset: 2px;
}

/* Pequeña animación de entrada */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/***********************************************************************************************************************/
/* Botonera */
/***********************************************************************************************************************/

#happymami-wizard .btn-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: -0.25rem auto 3rem auto;
  max-width: 800px;
  margin-bottom: 0;
  position: relative;
  padding-inline: 1rem;
}

#happymami-wizard .btn-container.responsive {
  display: none;
}

#happymami-wizard .btn-container {
  display: flex;
}

#happymami-wizard .btn {
  cursor: pointer;
  padding: 0;
  border-radius: 0;
  font-weight: bold;
  font-size: 1rem;
  border: 2px solid transparent;
  text-decoration: none;
  color: #fff;
  min-width: 150px;
  text-align: center;
}

#happymami-wizard .btn {
  background-color: transparent;
}

#happymami-wizard .btn:hover {
  background-color: transparent !important;
}

#happymami-wizard .btn.btn-disabled {
  background-color: transparent !important;
  color: #b7b7b7;
  text-decoration: none;
}

#happymami-wizard .btn-back {
  transition: all 0.2s ease-out, transform 0.2s ease-out;
  color: #773232;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  font-family: "Euclid Circular", Sans-serif;
  background: transparent;
}

#happymami-wizard .btn-back:hover {
  color: #f49898;
}

#happymami-wizard .btn-back.btn-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-20px);
}

/* Mensaje de preparación en último paso */
#happymami-wizard .preparing-message {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  color: #87a1b2;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
  will-change: opacity, transform;
}

#happymami-wizard .preparing-message.visible {
  opacity: 1;
  visibility: visible;
  animation: fadeInPreparing 0.3s ease-out both;
}

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

#happymami-wizard .btn.btn-hidden {
  display: none;
}

#happymami-wizard .btn.help-button {
  background-color: #f5d6cf;
}

#happymami-wizard .btn.help-button:hover {
  background-color: #f49898;
}

/***********************************************************************************************************************/
/* FAQs */
/***********************************************************************************************************************/

#happymami-wizard .faq-container {
  margin: 40px 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  min-height: 54px;
}

#happymami-wizard .faq-container h3 {
  margin-bottom: 20px;
  color: #87a1b2;
  font-size: 1.7rem;
  text-align: center;
  font-family: "ITC Souvenir Demi Regular", "Euclid Circular",
    Sans-serif;
  font-weight: normal;
}

#happymami-wizard .faq-container details {
  margin-bottom: 10px;
  border-radius: 30px;
  overflow: hidden;
  background: #f4e8df;
}

#happymami-wizard .faq-container summary {
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  list-style: none;
  position: relative;
  text-align: center;
  color: #253038;
  font-size: 1.2rem;
}

#happymami-wizard .faq-container summary::-webkit-details-marker {
  display: none;
}

#happymami-wizard .faq-container summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #253038;
  border-bottom: 2px solid #253038;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s ease;
}

#happymami-wizard .faq-container details.hmw-faq-open summary::after,
#happymami-wizard .faq-container details[open].hmw-faq-open summary::after {
  transform: translateY(-20%) rotate(-135deg);
}

#happymami-wizard .faq-container details .content {
  padding: 0 2rem;
  margin: 0 50px;
  font-size: 1rem;
  color: #3b424a;
  background-color: #fff;
  border-radius: 30px;
  overflow: hidden;
  height: 0;
  opacity: 1;
  transition: height 0.4s ease, margin 0.35s ease, padding 0.35s ease;
}

#happymami-wizard .faq-container details.hmw-faq-open .content,
#happymami-wizard .faq-container details.hmw-faq-animating-open .content {
  margin: 15px 50px;
  padding: 1rem 2rem;
}

#happymami-wizard .faq-container details .content img {
  max-width: 85%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#happymami-wizard .faq-container details.hmw-faq-open .content img {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #happymami-wizard .faq-container details .content,
  #happymami-wizard .faq-container details .content img,
  #happymami-wizard .faq-container summary::after {
    transition: none !important;
  }
}

/***********************************************************************************************************************/
/* AJUSTES RESPONSIVE */
/***********************************************************************************************************************/

@media (max-width: 1800px) {
  #happymami-wizard {
    width: 100%;
    overflow-y: visible;
  }

  #happymami-wizard .progress-bar .progress-container {
    height: 65px;
  }

  #happymami-wizard .progress-bar .progress-circle {
    width: 3rem;
    min-width: 3rem;
    height: 3rem;
  }

  #happymami-wizard .progress-bar .progress-circle::after {
    font-size: 18px;
  }

  #happymami-wizard .progress-bar h2 {
    font-size: 1.4rem;
    color: #3a4249;
  }

  #happymami-wizard .step-title {
    font-size: 1.2rem;
    padding: 0.4rem;
  }

  #happymami-wizard .step-container {
    max-width: 900px;
    margin: .3rem auto 0 auto;
  }

  #happymami-wizard .step-container .step {
    margin-top: 0;
  }

  #happymami-wizard .step-container .step .option .holder h4 {
    font-size: 0.9rem;
  }

  #happymami-wizard .step-container .step.horizontal .option.box {
    flex: 0 1 220px;
    font-size: 0.9rem;
  }

  #happymami-wizard .step-container .step.horizontal .option.box .option-label {
    font-size: calc(0.9rem - 2px);
  }

  #happymami-wizard .step-container .step.horizontal .option img {
    max-height: 195px;
  }

  #happymami-wizard .step-container .step.horizontal .option.box h4 {
    padding: 0;
  }

  #happymami-wizard
    .step-container
    .step.horizontal
    .option.box
    .holder.no-img {
    padding: 8px;
  }

  #happymami-wizard .step-container .step.vertical {
    gap: 0;
  }

  #happymami-wizard .step-container .step.vertical .img-placeholder {
    justify-content: end;
  }

  #happymami-wizard:not([data-embed-wizard="1"]) .step-container .step.vertical .img-placeholder img {
    height: 250px !important;
  }

  #happymami-wizard .step-container .step.vertical .option.btn {
    font-size: 0.9rem;
    padding: 10px;
    transition: all 0.3s ease;
  }

  #happymami-wizard .faq-container summary {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  #happymami-wizard {
    overflow: visible;
  }

  #happymami-wizard .progress-bar .progress-container {
    padding: 2rem;
    width: 100%;
  }

  #happymami-wizard .progress {
    margin-bottom: 1.3rem;
  }

  #happymami-wizard .progress-bar .stage {
    margin-left: 0;
  }

  #happymami-wizard .progress-bar .stage h2 {
    font-size: 1.2rem;
  }


  #happymami-wizard .step-M1 > h3.step-info {
    margin-block: 1.2rem;
  }

  #happymami-wizard .step-info:not(:empty) {
    padding: 0 0.8rem;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
  }

  #happymami-wizard .progress-bar h2 {
    font-size: 1.2rem;
  }

  #happymami-wizard .step-title {
    font-size: 22px;
    padding-block: 0;
  }

  #happymami-wizard .step-container {
    padding: 0 10px;
  }

  #happymami-wizard .step-container .step.horizontal .option.box {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    margin: 0;
    aspect-ratio: 1/1;
  }

  #happymami-wizard .step-container .step.horizontal .option.box .holder {
    width: 300px;

    margin-bottom: 0.5rem;
  }

  #happymami-wizard .step-container .step.horizontal .option.box .holder * {
    font-size: 0.9rem;
  }

  #happymami-wizard .step-container .step.horizontal:not(.no-img) .option.box {
    width: 0%;
    max-width: 40%;
    height: 100%;
    margin-top: 15px;
  }

  #happymami-wizard
    .step-container
    .step.horizontal:not(.no-img)
    .option.box
    .holder {
    width: 100%;
    min-width: auto;
  }

  #happymami-wizard
    .step-container
    .step.horizontal:not(.no-img)
    .option.box
    img {
    width: auto;
  }
  #happymami-wizard .step-container .step.no-img {
    flex-direction: column;
    gap: 5px;
  }

  #happymami-wizard .step-container .step.vertical {
    flex-wrap: wrap;
    text-align: center;
  }

  #happymami-wizard .step-container .step.vertical .img-placeholder {
    width: 100%;
    justify-content: center;
  }

  #happymami-wizard:not([data-embed-wizard="1"]) .step-container .step.vertical .img-placeholder img {
    max-height: 240px;
  }

  #happymami-wizard .step-container:not(.no-img) .step.vertical .options {
    width: 100%;
    gap: 10px;
  }

  #happymami-wizard
    .step-container:not(.no-img)
    .step.vertical
    .options
    .option.btn {
    font-size: 0.9rem;
    padding: 5px;
    text-align: center;
  }

  #happymami-wizard .btn-container {
    display: flex;
  }

  #happymami-wizard .btn-container.responsive {
    display: none;
  }

  #happymami-wizard .faq-container {
    max-width: 100%;
    padding: 0 1rem;
    margin: 1rem 0;
  }

  #happymami-wizard .popup {
    width: 95vw;
    max-width: 95vw;
    max-height: 80vh;
    padding: 1.5rem;
    overflow: auto;
  }

  #happymami-wizard .embedded-form-container input[type="date"] {
    max-width: 100%;
  }

  .elementor-location-footer {
    z-index: 999999 !important;
    position: relative;
  }

  .wpml-ls-statics-footer {
    margin-bottom: 0 !important;
  }

  #happymami-wizard .faq-container details .content {
    margin: 0 10px;
    padding: 0 0.5rem;
  }

  #happymami-wizard .faq-container details.hmw-faq-open .content,
  #happymami-wizard .faq-container details.hmw-faq-animating-open .content {
    margin: 10px;
    padding: 1rem 0.5rem;
  }

  #happymami-wizard .faq-container details .content img {
    max-width: 100%;
  }

  #happymami-wizard .btn {
    min-width: auto;
    padding: 0;
    font-size: 0.9rem;
  }

  #happymami-wizard .btn.btn-back:not(.btn-disabled) {
    background-color: transparent;
    color: #773232;
    border: none;
    text-decoration: underline;
  }
}

@media (max-width: 768px) {
  #happymami-wizard:not([data-embed-wizard="1"])
    .step-container.step-M4
    .step.vertical
    .img-placeholder
    img {
    height: 150px !important;
    max-height: 150px !important;
  }
}

@media (max-width: 480px) {
  #happymami-wizard:not([data-embed-wizard="1"])
    .step-container.step-M4
    .step.vertical
    .img-placeholder
    img {
    height: 160px !important;
    max-height: 160px !important;
  }
}

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

  #happymami-wizard .hmw-skeleton-line,
  #happymami-wizard .hmw-skeleton-card,
  #happymami-wizard .hmw-skeleton-dot,
  #happymami-wizard .hmw-skeleton-line-seg,
  #happymami-wizard .hmw-skeleton-faq {
    animation: none;
  }
}

/* Inline wizard on product page */
#happymami-product-customization.hmw-inline {
  position: relative;
  margin-bottom: 1.25rem;
}

body.hmw-inline-editing-wizard .hmw-summary-card[data-redesign-mode="new"] {
  display: none !important;
}

#happymami-product-customization .hmw-inline-summary-wrap,
#happymami-product-customization .hmw-inline-redesign-wrap {
  display: none !important;
}

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

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

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

#happymami-product-customization.hmw-inline--celebration .hmw-inline-celebration-wrap.is-visible {
  animation: hmw-inline-rise-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

#happymami-product-customization #happymami-wizard.hmw-inline-wizard {
  margin: 0;
}

#happymami-product-customization .hmw-inline-celebration {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem;
  text-align: center;
}

#happymami-product-customization .hmw-inline-celebration__tick {
  width: 72px;
  height: 72px;
}

#happymami-product-customization .hmw-inline-celebration__tick-svg {
  width: 72px;
  height: 72px;
  display: block;
}

#happymami-product-customization .hmw-inline-celebration__tick-circle {
  stroke: #3cb371;
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  transform-origin: center;
}

#happymami-product-customization .hmw-inline-celebration-wrap.is-animating .hmw-inline-celebration__tick-circle {
  animation: hmw-inline-tick-circle 0.28s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

#happymami-product-customization .hmw-inline-celebration__tick-check {
  stroke: #3cb371;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

#happymami-product-customization .hmw-inline-celebration-wrap.is-animating .hmw-inline-celebration__tick-check {
  animation: hmw-inline-tick-check 0.18s 0.22s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

#happymami-product-customization .hmw-inline-celebration__message {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 600;
  color: #1f4d3a;
  opacity: 0;
  transform: translateY(8px);
}

#happymami-product-customization .hmw-inline-celebration-wrap.is-animating .hmw-inline-celebration__message {
  animation: hmw-inline-rise-in 0.22s 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#happymami-product-customization .hmw-summary-card {
  animation: hmw-inline-summary-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#happymami-product-customization .hmw-summary-btn--redesign {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
}

@keyframes hmw-inline-rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hmw-inline-summary-pop {
  0% { opacity: 0; transform: translateY(10px) scale(0.98); }
  70% { transform: translateY(-2px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hmw-inline-tick-circle {
  to { stroke-dashoffset: 0; }
}

@keyframes hmw-inline-tick-check {
  to { stroke-dashoffset: 0; }
}

/* Wizard embed inside Elementor / landing containers */
.elementor-widget-shortcode .happymami-wizard-embed,
.elementor-element .happymami-wizard-embed,
.happymami-wizard-embed {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  margin: 0 auto;
  box-sizing: border-box;
  isolation: isolate;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.elementor-widget-shortcode .elementor-shortcode:has(.happymami-wizard-embed),
.elementor-element .elementor-shortcode:has(.happymami-wizard-embed) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.happymami-wizard-embed #happymami-product-customization.hmw-inline--configurator .hmw-inline-summary-wrap.is-visible,
.happymami-wizard-embed #happymami-product-customization.hmw-inline--configurator .hmw-inline-summary-wrap.happymami-wizard-embed__summary {
  display: block !important;
  margin-bottom: 0;
}

.happymami-wizard-embed .hmw-summary-card {
  margin: 0;
  max-width: 100%;
}

.happymami-wizard-embed .hmw-summary-card.is-expanded:not(.is-panel-collapsed) .hmw-summary-body {
  grid-template-rows: 1fr;
  opacity: 1;
  pointer-events: auto;
}

.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;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0;
  pointer-events: none;
}

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

.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,
.happymami-wizard-embed #happymami-product-selector .happymami-sidebar-ui * {
  pointer-events: auto;
}

.happymami-wizard-embed #happymami-product-selector .hm-selector-panel {
  display: block !important;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
}

.happymami-wizard-embed:not(.happymami-wizard-embed--product) .quantity,
.happymami-wizard-embed:not(.happymami-wizard-embed--product) .e-atc-qty-button-holder,
.happymami-wizard-embed .happymami-subscription-visual-block,
form.cart .quantity,
form.variations_form .quantity,
.e-atc-qty-button-holder .quantity {
  display: none !important;
}

.happymami-wizard-embed .sidebar-footer {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  box-shadow: none !important;
  border-top: 0 !important;
  padding: 16px 0 0 !important;
  background: transparent !important;
}

.happymami-wizard-embed__inner,
.happymami-wizard-embed form.cart,
.happymami-wizard-embed .variations_form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.happymami-wizard-embed #happymami-product-customization,
.happymami-wizard-embed #happymami-wizard,
.happymami-wizard-embed #happymami-product-selector,
.happymami-wizard-embed .selector-container,
.happymami-wizard-embed .happymami-bottle-attributes {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.happymami-wizard-embed #happymami-wizard .step-container,
.happymami-wizard-embed #happymami-wizard .faq-container {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* Step grid layout lives in wizard-embed.css */

.happymami-wizard-embed #happymami-wizard .popup,
.happymami-wizard-embed #happymami-wizard .popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.happymami-wizard-embed #happymami-wizard .popup {
  top: 50%;
  left: 50%;
  width: min(92%, 800px);
  max-width: 100%;
  max-height: 85%;
  transform: translate(-50%, -50%);
}

.happymami-wizard-embed #happymami-sidebar,
.happymami-wizard-embed #happymami-sidebar-overlay,
.happymami-wizard-embed .sidebar-overlay {
  position: absolute !important;
}

.happymami-wizard-embed #happymami-sidebar {
  top: 0;
  right: -100%;
  width: 100%;
  max-width: min(400px, 100%);
  height: 100% !important;
  max-height: 100%;
}

.happymami-wizard-embed #happymami-sidebar.visible {
  right: 0;
}

.happymami-wizard-embed #happymami-sidebar-overlay,
.happymami-wizard-embed .sidebar-overlay {
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.happymami-wizard-embed #happymami-sidebar-overlay:not(.visible),
.happymami-wizard-embed .sidebar-overlay:not(.visible) {
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}