#cw-wizard {
  max-width: 480px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}
.cw-header {
  margin-bottom: 20px;
}

.cw-price {
  font-size: 18px;
  margin-bottom: 10px;
}

.cw-progress {
  height: 6px;
  background: #eee;
}

#cw-progress-bar {
  height: 6px;
  width: 0;
  background: #3bb54a;
}

.cw-step {
  display: none;
}

.cw-step h3 {
  margin-bottom: 15px;
}

.cw-step button {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  background: #3bb54a;
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
}

.cw-step input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}
#cw-back-btn {
  background: none;
  border: none;
  color: #555;
  cursor: pointer;
  margin-bottom: 15px;
  font-size: 14px;
}

/* ==============================
   MOBILE FIX – CLEANING WIZARD
   ============================== */
@media (max-width: 768px) {

  /* Reducir bloque del título de la página */
  .page-title,
  .page-header,
  .page-header-wrap {
    padding: 10px 15px !important;
    margin-bottom: 10px !important;
  }

  .page-title h1,
  .page-header h1 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    text-align: center;
  }

  /* Subir el wizard */
  #cw-wizard {
    margin-top: -20px !important;
    padding: 0 20px;
  }

  /* Precio estimado */
  #cw-price {
    font-size: 16px !important;
    margin-bottom: 10px !important;
    text-align: center;
  }

  /* Barra de progreso */
  #cw-progress {
    margin: 10px 0 20px !important;
  }

  /* Botones */
  .cw-step button {
    font-size: 16px !important;
    padding: 14px !important;
    margin-bottom: 10px !important;
  }

  /* Evitar que WhatsApp tape botones */
  .cw-step:last-child {
    padding-bottom: 90px !important;
  }

  /* Breadcrumb más pequeño */
  .breadcrumbs,
  .breadcrumb {
    font-size: 12px !important;
    margin-top: 5px !important;
  }
}
/* --- Elegant checkbox list --- */
.cw-step[data-step="extras"] label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 3px;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  background: #fff;
  transition: all 0.2s ease;
}

/* Hide default checkbox */
.cw-step[data-step="extras"] input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #bbb;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
}

/* Checked state */
.cw-step[data-step="extras"] input[type="checkbox"]:checked {
  border-color: #3db54a;
  background: #3db54a;
}

/* Checkmark */
.cw-step[data-step="extras"] input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: #fff;
  font-size: 16px;
  left: 4px;
  top: -1px;
}

/* Highlight whole row when checked */
.cw-step[data-step="extras"] label:has(input:checked) {
  border-color: #3db54a;
  background: #f3fbf5;
}


/* Reduce spacing above wizard */
.page-header,
.entry-header {
  margin-bottom: 20px !important;
}

/* Reduce title size on mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 22px !important;
    margin-bottom: 1px !important;
  }

  .breadcrumbs,
  .woocommerce-breadcrumb {
    font-size: 13px;
    margin-bottom: 2px;
  }
}
/* Hide WhatsApp while wizard is active */
#cw-wizard ~ .whatsapp-float,
#cw-wizard ~ #whatsapp,
#cw-wizard ~ .whatsapp-button {
  display: none !important;
}
body.wizard-active .whatsapp-float {
  display: none !important;
}

