.rgSimpleNewsletter {
  position: relative;
  overflow: hidden;
  color: #3b1830;
  background: #f4d3e8;
  padding: 28px 24px 0;
  text-align: center;
  font-family: inherit;
  border-radius: 0;
  min-height: 490px;
  box-sizing: border-box;
}

/* Contenedor interior */
.rgSimpleNewsletter .container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 330px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

@media (min-width: 576px) {
  .rgSimpleNewsletter .container {
    padding: 0;
  }
}

/* Logo circular superior */
.rgSimpleNewsletter .container::before {
  content: "ALI\A bebé";
  white-space: pre;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 90px;
  height: 90px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 34px;
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: 1px;
  text-align: center;
  box-sizing: border-box;
}

.rgSimpleNewsletter .container::before {
  font-family: Arial, Helvetica, sans-serif;
}

/* Texto pequeño del logo */
.rgSimpleNewsletter .container::before {
  text-transform: none;
}

/* Alineación general */
.rgSimpleNewsletter .form,
.rgSimpleNewsletter .text-center {
  text-align: center;
}

/* Título principal */
.rgSimpleNewsletter h2 {
  max-width: 270px;
  margin: 0 auto 10px;
  padding: 0;
  color: #3b1830;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.4px;
  text-align: center;
}

/* Texto introductorio */
.rgSimpleNewsletter .intro {
  max-width: 260px;
  margin: 0 auto 22px;
  font-size: 16px;
  line-height: 1.35;
  color: #3b1830;
}

.rgSimpleNewsletter p,
.rgSimpleNewsletter .intro p {
  margin: 0;
  color: #3b1830;
  line-height: 1.35;
}

/* Formulario */
.rgSimpleNewsletter .form {
  max-width: 100%;
  margin: 0 auto;
}

.rgSimpleNewsletter .form .form-group {
  width: 100%;
  margin-bottom: 10px;
}

/* Campo email, si se muestra */
.rgSimpleNewsletter .form .form-control {
  width: 100%;
  height: 46px;
  padding: 0 16px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(59, 24, 48, 0.12);
  border-radius: 8px;
  box-shadow: none;
  outline: 0;
  color: #3b1830;
  font-size: 14px;
  text-indent: 0;
}

.rgSimpleNewsletter .form .form-control::placeholder {
  color: rgba(59, 24, 48, 0.55);
}

/* Separación del email */
.rgSimpleNewsletter .form .rgsp_email {
  margin-bottom: 10px;
}

@media (min-width: 576px) {
  .rgSimpleNewsletter .form .rgsp_email {
    margin-bottom: 10px;
    padding-right: 0;
  }

  .rgSimpleNewsletter .form .rgsp_subscribe {
    padding-left: 0;
  }
}

/* Botón principal */
.rgSimpleNewsletter .form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 15px 24px;
  border: none;
  border-radius: 8px;
  box-shadow: none;
  text-shadow: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

/* Botón naranja de la captura */
.rgSimpleNewsletter .form .btn-primary {
  background-color: #ff4328 !important;
  color: #ffffff !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.rgSimpleNewsletter .form .btn-primary:hover:enabled,
.rgSimpleNewsletter .form .btn-primary:active:enabled {
  background-color: #f33920 !important;
  color: #ffffff !important;
}

.rgSimpleNewsletter .form .btn-primary:hover:enabled {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.rgSimpleNewsletter .form .btn-primary:active:enabled {
  transform: translateY(0);
}

/* Alertas */
.rgSimpleNewsletter .form .rgsp_alert {
  margin-bottom: 10px;
  clear: both;
  color: #3b1830;
  font-size: 13px;
}

/* Checkbox / GDPR */
.rgSimpleNewsletter .form .checkbox,
.rgSimpleNewsletter .form .custom-checkbox {
  margin-top: 10px;
  color: #3b1830;
  font-size: 12px;
  line-height: 1.35;
  text-align: left;
}

.rgSimpleNewsletter .form .rgsp_terms,
.rgSimpleNewsletter .form #gdpr_consent {
  margin-top: 10px;
}

/* Enlaces tipo "No, gracias" */
.rgSimpleNewsletter a,
.rgSimpleNewsletter .rgsp_close,
.rgSimpleNewsletter .rgsp_no_thanks,
.rgSimpleNewsletter .no-thanks {
  color: #d87c73;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rgSimpleNewsletter a:hover,
.rgSimpleNewsletter .rgsp_close:hover,
.rgSimpleNewsletter .rgsp_no_thanks:hover,
.rgSimpleNewsletter .no-thanks:hover {
  color: #b95f58;
}

/* Cierre superior tipo cuadrado rojo con X blanca */
.rgSimpleNewsletter .close,
.rgSimpleNewsletter .mfp-close,
.rgSimpleNewsletter .fancybox-close-small,
.rgSimpleNewsletter button.close {
  position: absolute !important;
  top: 0;
  left: 0;
  right: auto;
  width: 26px;
  height: 26px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #f14424 !important;
  color: #ffffff !important;
  font-size: 0 !important;
  line-height: 1;
  opacity: 1 !important;
  z-index: 5;
  cursor: pointer;
}

.rgSimpleNewsletter .close::before,
.rgSimpleNewsletter .mfp-close::before,
.rgSimpleNewsletter .fancybox-close-small::before,
.rgSimpleNewsletter button.close::before {
  content: "×";
  display: block;
  color: #ffffff;
  font-size: 34px;
  font-weight: 300;
  line-height: 24px;
  text-align: center;
}

/* Imagen inferior, si tu módulo ya trae una imagen dentro del bloque */
.rgSimpleNewsletter img {
  display: block;
  max-width: 210px;
  height: auto;
  margin: 24px auto 0;
}

/* Variante para imagen decorativa inferior */
.rgSimpleNewsletter .newsletter-image,
.rgSimpleNewsletter .rgsp_image,
.rgSimpleNewsletter .image {
  display: block;
  max-width: 220px;
  margin: 24px auto 0;
}

/* Ajustes móviles */
@media (max-width: 390px) {
  .rgSimpleNewsletter {
    padding: 28px 24px 0;
    min-height: 496px;
  }

  .rgSimpleNewsletter .container {
    max-width: 280px;
  }

  .rgSimpleNewsletter .container::before {
    width: 86px;
    height: 86px;
    margin-bottom: 22px;
    font-size: 33px;
  }

  .rgSimpleNewsletter h2 {
    max-width: 250px;
    font-size: 27px;
    line-height: 1.14;
  }

  .rgSimpleNewsletter .intro {
    max-width: 245px;
    font-size: 15px;
  }

  .rgSimpleNewsletter .form .btn {
    min-height: 48px;
    font-size: 13px;
    border-radius: 8px;
  }

  .rgSimpleNewsletter img,
  .rgSimpleNewsletter .newsletter-image,
  .rgSimpleNewsletter .rgsp_image,
  .rgSimpleNewsletter .image {
    max-width: 205px;
    margin-top: 24px;
  }
/* LOGO: círculo con ALI grande y bebé más pequeño */
.rgSimpleNewsletter .container {
  position: relative;
  padding-top: 0;
}

/* Círculo + ALI */
.rgSimpleNewsletter .container::before {
  content: "ALI";
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  padding-top: 15px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

/* Texto bebé más pequeño dentro del círculo */
.rgSimpleNewsletter .container::after {
  content: "bebé";
  position: absolute;
  top: 49px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  z-index: 3;
  pointer-events: none;
}

/* FORMULARIO: evitar que el botón corte el texto */
.rgSimpleNewsletter .form.form-inline {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  max-width: 390px;
  margin: 0 auto;
}

/* Alertas y GDPR ocupan línea completa */
.rgSimpleNewsletter .form.form-inline .col-xs-12:first-child,
.rgSimpleNewsletter .form.form-inline .col-xs-12:last-child {
  flex: 0 0 100%;
  max-width: 100%;
}

/* Campo email */
.rgSimpleNewsletter .form .rgsp_email,
.rgSimpleNewsletter .form.form-inline .col-sm-7 {
  flex: 0 0 190px;
  max-width: 190px;
  width: 190px;
  padding: 0 !important;
}

/* Botón */
.rgSimpleNewsletter .form .rgsp_subscribe,
.rgSimpleNewsletter .form.form-inline .col-sm-5 {
  flex: 0 0 190px;
  max-width: 190px;
  width: 190px;
  padding: 0 !important;
}

/* Input */
.rgSimpleNewsletter .form .form-control {
  height: 48px;
  border-radius: 7px;
  font-size: 14px;
}

/* Botón con texto completo */
.rgSimpleNewsletter .form .btn,
.rgSimpleNewsletter .form .btn-primary {
  width: 100%;
  min-width: 190px;
  height: 48px;
  min-height: 48px;
  padding: 0 14px !important;
  box-sizing: border-box;
  border-radius: 7px;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.1 !important;
  white-space: normal !important;
  text-align: center;
  overflow: visible !important;
}

/* Por si el texto va dentro de span */
.rgSimpleNewsletter .form .btn span,
.rgSimpleNewsletter .form .btn-primary span {
  display: block;
  width: 100%;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  line-height: 1.1 !important;
}

/* Ajuste en pantallas estrechas */
@media (max-width: 480px) {
  .rgSimpleNewsletter .form.form-inline {
    max-width: 330px;
    gap: 4px;
  }

  .rgSimpleNewsletter .form .rgsp_email,
  .rgSimpleNewsletter .form.form-inline .col-sm-7 {
    flex: 1 1 48%;
    max-width: none;
    width: auto;
  }

  .rgSimpleNewsletter .form .rgsp_subscribe,
  .rgSimpleNewsletter .form.form-inline .col-sm-5 {
    flex: 1 1 52%;
    max-width: none;
    width: auto;
  }

  .rgSimpleNewsletter .form .btn,
  .rgSimpleNewsletter .form .btn-primary {
    min-width: 0;
    font-size: 11px !important;
    padding: 0 8px !important;
  }
}