/*
Theme Name: Elessi Theme Child
Theme URI: https://elessi.nasatheme.com/demo/
Description: This is a child theme for Elessi Theme
Author: NasaTheme team
Author URI: https://nasatheme.com
Template: elessi-theme
Version: 1.0
*/


/*************** ADD YOUR CUSTOM CSS IN THIS AREA ***************/
h2.yikes-custom-woo-tab-title {
  font-size: 16px;
  font-weight: 500;
}
td.value a.reset_variations,
.variations_form a.reset_variations {
  display: block !important;

  opacity: 1 !important;
  background-color: rgba(51, 51, 51, 0.5) !important;
  padding: 10px 3px !important;
  margin-top: 10px;
  color: #fff !important;
  font-weight: 600 !important;
  text-align: center;
  text-decoration: none !important;
  border-radius: 2px;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

td.value a.reset_variations:hover,
.variations_form a.reset_variations:hover {
  background-color: #333 !important;
}

a.reset_variations::before,
a.reset_variations::after {
  background: none !important;
}


.breadcrumb, .woocommerce-breadcrumb {
  text-transform: uppercase;
}


/* === Formulario boletín CF7 en Elementor (DESKTOP) === */
.elementor .wpcf7 form .boletin-row,
.elementor .elementor-widget-shortcode .boletin-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background-color: #005e97;
  padding: 20px;
  font-family: 'Nunito Sans', sans-serif;
}

/* Evitar márgenes o saltos inesperados */
.elementor .boletin-row span.wpcf7-form-control-wrap,
.elementor .boletin-row p {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Campo email */
.elementor .boletin-row input[type="email"] {
  width: 320px !important;
  padding: 12px 18px !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
  background-color: #005e97 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-style: italic !important;
}

/* Placeholder */
.elementor .boletin-row input::placeholder {
  color: #ffffff !important;
  opacity: 0.9 !important;
  font-style: italic !important;
}

/* Botón */
.elementor .boletin-row input[type="submit"] {
  background-color: #00a3ca !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  border-radius: 0 !important;
  padding: 12px 26px !important;
  font-size: 16px !important;
  font-family: 'Nunito Sans', sans-serif !important;
  font-weight: 600 !important;
  text-transform: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.elementor .boletin-row input[type="submit"]:hover {
  background-color: #0090b5 !important;
}

/* === RESPONSIVE REAL: móvil + tablet (forzado) === */
@media (max-width: 1024px) {

  .elementor .wpcf7 form .boletin-row,
  .elementor .elementor-widget-shortcode .boletin-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .elementor .boletin-row span.wpcf7-form-control-wrap,
  .elementor .boletin-row input[type="email"],
  .elementor .boletin-row input[type="submit"],
  .elementor .boletin-row p {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .elementor .boletin-row input[type="email"] {
    width: 100% !important;
  }

  .elementor .boletin-row input[type="submit"] {
    width: 100% !important;
    text-align: center !important;
  }
}

.boletin-mobile p {
  width: 100% !important;
  margin: 0 !important;
}

.boletin-mobile input[type="email"],
.boletin-mobile input[type="submit"] {
  width: 100% !important;
}


/* Mensaje éxito CF7 */
.wpcf7 form.sent .wpcf7-response-output {
  background-color: #005e97 !important;
  color: #ffffff !important;
  border: 1px solid #ffffff !important;
  text-align: center;
  padding: 12px;
}


/* === Estilo para aceptación dentro del formulario de boletín === */

.boletin-row .wpcf7-form-control-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.boletin-row .wpcf7-form-control.wpcf7-acceptance {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 14px !important;
}

/* Estilo para el checkbox */
.boletin-row input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
}

/* Estilo del enlace dentro del texto */
.boletin-row .wpcf7-form-control.wpcf7-acceptance a {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* FORMULARIO MOBILE */
.boletin-mobile .wpcf7-acceptance {
  width: 100% !important;
  font-size: 14px !important;
}

/* Forzar texto del check en blanco */
.boletin-row .wpcf7-list-item-label,
.boletin-row .wpcf7-list-item-label a {
  color: #ffffff !important;
}

/* Mensaje de error del checkbox */
.boletin-aceptacion .wpcf7-not-valid-tip {
  color: #ffffff !important;
  font-size: 13px !important;
  margin-top: 4px !important;
  display: block !important;
}


/* --- Cerrar primer bloque del acordeón de pestañas de producto --- */
.nasa-single-product-accordion .nasa-accordion-item:first-child .nasa-accordion-content {
  display: none !important;
}


/* Enlaces de contenido subrayados */
.entry-content a,
.page-content a,
.post-content a {
    text-decoration: underline !important;
    color: #005e97 !important;
}

/* Excluir botones */
a.button,
button,
.nasa-button,
.elementor-button-link {
    text-decoration: none !important;
}

