@media (max-width: 900px) {
  .registro-contenedor {
    flex-direction: column;
    gap: 12px;
    max-width: 100vw;
    padding: 0 4px;
  }
  .registro-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .form-group, .btn-registrar, .checkbox {
    width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 8px !important;
    display: block !important;
  }
}

/* Estilos modernos para la sección de registro tipo Electrolux */
.registro {
  background-color: #f3f4f6;
  padding: 60px 20px;
  color: #333;
  box-sizing: border-box;
  width: 100%;
  max-width: 100vw;
}
.registro-contenedor {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
}
.registro-texto h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.registro-texto p {
  color: #555;
  font-size: 1rem;
}
.registro-form {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr auto;
  grid-template-areas:
    'texto nombre numero correo boton'
    'checkbox checkbox checkbox checkbox checkbox';
  gap: 24px 20px;
  align-items: end;
}
.registro-texto {
  grid-area: texto;
  min-width: 220px;
}
.form-group:nth-of-type(1) {
  grid-area: nombre;
}
.form-group:nth-of-type(2) {
  grid-area: correo;
}
.btn-registrar {
  grid-area: boton;
  align-self: end;
  margin-bottom: 0;
}
.checkbox {
  grid-area: checkbox;
  width: 100%;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}


.form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #444;
}
.form-group input {
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 0;
  width: 100%;
  font-size: 0.95rem;
  box-sizing: border-box;
}
.btn-registrar {
  background-color: #032b54;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.3s ease;
  align-self: flex-end;
  margin-bottom: 0;
}
.btn-registrar:hover {
  background-color: #004080;
}
.checkbox {
  width: 100%;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}
.checkbox input {
  width: 18px;
  height: 18px;
}
.newsletter-msg {
  margin-top: 18px;
  font-weight: 600;
  color: #0057b8;
  text-align: center;
  font-size: 1.08rem;
  min-height: 24px;
  transition: color 0.2s;
}
@media (max-width: 900px) {
    .registro-form {
        display: flex;
         }
  .registro-texto {
    grid-area: texto;
    width: 100% !important;
    min-width: 0 !important;
    justify-self: stretch !important;
    display: block !important;
  }
  .form-group {
    width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 12px !important;
    display: block !important;
  }
  .btn-registrar {
    width: 100% !important;
    text-align: center !important;
    align-self: stretch !important;
    display: block !important;
  }
  .checkbox {
    width: 100% !important;
    justify-content: flex-start !important;
    display: block !important;
  }
  .form-group input {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 700px) {
  .registro-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px;
    width: 100%;
    align-items: stretch;
  }
  .registro-texto,
  .form-group,
  .btn-registrar,
  .checkbox {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}
