/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Mate
Author URI: https://trufanatural.es
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.5.1765201939
Updated: 2025-12-08 13:52:19

*/
/* ==========================
   ACCESIBILIDAD Y FOCOS
   ========================== */

/* Enlaces: foco visible sólido + fondo leve */
a:focus,
a:focus-visible {
  outline: 2px solid #104bac;
  outline-offset: 3px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 2px;
}

/* Ajuste especial para enlaces en footer */
footer a:focus,
footer a:focus-visible {
  outline: 2px solid #104bac;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

/* Botones universales: foco visible sólido + fondo leve */
button:focus,
button:focus-visible,
input[type="button"]:focus,
input[type="button"]:focus-visible,
input[type="submit"]:focus,
input[type="submit"]:focus-visible,
.et_pb_button:focus,
.et_pb_button:focus-visible,
.et_pb_promo_button:focus,
.et_pb_promo_button:focus-visible,
a.et_pb_button:focus,
a.et_pb_button:focus-visible,
a.et_pb_promo_button:focus,
a.et_pb_promo_button:focus-visible {
  outline: 2px dotted #104bac;
  outline-offset: 3px;
  background: rgba(242, 241, 238, 0.3);
  border-radius: 2px;
}

/* ==========================
   OTROS ESTILOS GENERALES
   ========================== */

/* Reseteo mínimo para enlaces */
a {
  text-decoration: none;
  color: inherit;
}

/* Texto solo visible para lectores de pantalla (accesibilidad) */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* Si el texto llega a enfocarse con el teclado, que sea visible */
.screen-reader-text:focus,
.screen-reader-text:focus-visible {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  clip: auto !important;
  clip-path: none !important;
  white-space: normal !important;
  background: #104bac !important;
  color: #fff !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  box-shadow: 0 0 2px rgba(0,0,0,0.6) !important;
  z-index: 1000 !important;
}
/* Foco para las imagenes */
a:focus img {
    outline: 2px solid #104bac; 
    outline-offset: 4px;
}

/* ======================================= */
/* ESTILOS GENERALES DEL FORMULARIO CONTACT FORM 7 */
/* ======================================= */

/* Contenedor y ancho máximo */
div.wpcf7 .wpcf7-form-control {
  max-width: 100%;
}

.wpcf7 form {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 3px;
  font-family: Lato, Arial, sans-serif;
  font-weight: 500;
}

/* Responsive para móviles */
@media screen and (max-width: 768px) {
  .wpcf7 form {
    max-width: 100% !important;
    padding: 30px 10px !important;
  }
}

/* ======================================= */
/* PÁRRAFOS Y LABELS */
/* ======================================= */
.wpcf7 form p {
  margin-bottom: 5px;
  font-size: 17px;
  color: #000;
}

.wpcf7-form label {
  display: inline-block;  /* Mantiene el label cerca del input */
  margin-bottom: 4px;     /* Pequeño espacio entre label y campo */
  font-weight: 500;
}

/* Texto obligatorio */
small {
  font-size: 14px;
  color: #222222;
  font-style: italic;
}

/* Texto informativo */
.wpcf7 .info-datos {
  font-size: 12px;
  color: #222222;
  line-height: 1.5;
  margin-top: -20px;
}

/* ======================================= */
/* CAMPOS DE TEXTO, EMAIL, TEL, TEXTAREA */
/* ======================================= */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  background-color: #f1f1f1;
  font-size: 16px;
  color: #383838;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Focus de inputs y selects */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  border-color: #877f78;
  background-color: #ffffff;
  outline: none;
}

/* Ajuste textarea */
.wpcf7 textarea {
  height: 150px;
  resize: vertical;
}

/* Placeholder */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder,
.wpcf7 select::placeholder {
  color: #999999;
  font-style: italic;
}

/* ======================================= */
/* BOTÓN DE ENVIAR */
/* ======================================= */
.wpcf7 input[type="submit"] {
  background-color: #232323;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-family: Lato, Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* ======================================= */
/* MENSAJE DE ERROR */
/* ======================================= */
.wpcf7 form.invalid .wpcf7-response-output {
    color: #fff; 
    background-color: #104bac; 
    padding: 15px; 
    border-radius: 6px; 
	border: none; 
	margin-top: 20px; 
}

/* ======================================= */
/* CHECKBOX DE POLÍTICA DE PRIVACIDAD */
/* ======================================= */
.wpcf7-acceptance {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  font-size: 14px;
}

.wpcf7-acceptance label {
  font-size: 14px;
  color: #222;
  line-height: 1.3;
}

.wpcf7-acceptance a {
  text-decoration: underline;
}

/* Casillas grandes para accesibilidad */
.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
  width: 22px;
  height: 22px;
  margin-right: 8px;
  cursor: pointer;
}

/* ======================================= */
/* ESTILOS PARA LA CARTAS DE LA PAGINA TIENDA */
/* ======================================= */
.dfw-shop-31 .woocommerce ul.products li.product .onsale {
  right: 20px;
  left: auto;
  top: 30px;
  border-radius: 0;
  height: 30px;
  display: flex;
  align-items: center;
  overflow: visible;
  background-color: #000;
}

/* Eliminar Select ordenar */
.dfw-shop-31 select.orderby {
	display: none;
}

/* Quitar mostrando resultados */
.dfw-shop-31 .woocommerce-result-count {
	display: none !important;
}

/* Contenedor del producto */
.dfw-shop-31 .woocommerce ul.products li.product .woocommerce-loop-product__link {
  display: flex;
  flex-direction: column;
}

/* Imagen */
.dfw-shop-31 .woocommerce ul.products li.product .et_shop_image {
  margin: 20px 20px 10px 20px;
  order: 1;
}

/* Reseñas */
.dfw-shop-31 .woocommerce ul.products li.product .star-rating {
  order: 2;
}

/* Título */
.dfw-shop-31 .woocommerce ul.products li.product .woocommerce-loop-product__title {
  order: 3;
}

/* Precio */
.dfw-shop-31 span.price {
  padding: 5px 10px;
  order: 4;
}

/* Responsive */
@media screen and (max-width: 767px) {
  .dfw-shop-31.et_pb_shop ul.products li.product {
    margin-bottom: 30px;
    width: 100%;
  }

  .woocommerce .woocommerce-ordering,
  .woocommerce-page .woocommerce-ordering {
    float: left;
  }
}

/* Botón de ver producto */
.btn-tarjetas .woocommerce ul.products li.product .button {
  display: inline-block;
  background-color: #000;
  border: none;
  font-size: 15px;
  color: #fff;
  padding: 5px 30px 7px 30px;
}

/* Quitar flecha de WooCommerce */
.btn-tarjetas .woocommerce ul.products li.product .button::after {
  display: none;
}

/* Hover accesible */
.btn-tarjetas .woocommerce ul.products li.product .button:hover,
.btn-tarjetas .woocommerce ul.products li.product .button:focus {
  transition: all 0.7s ease;
  background: #104bac; 
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Para mostrar una carta de productos en la tienda de WooCommerce en MOVILES */
@media (max-width: 479px) {
	.et-db #et-boc .et-l .et_pb_shop ul.products.columns-2 li.product,
    .et-db #et-boc .et-l .et_pb_shop ul.products.columns-4 li.product,
    .et-db #et-boc .et-l .et_pb_shop ul.products.columns-3 li.product {
		width: 100% !important;
        margin-right: 4% !important;
        box-sizing: border-box;
        clear: both !important;
  }
}

/* ============================================
   Estilos específicos para la ficha de producto
   ============================================  */
/* Reset secciones Divi dentro del producto */
.woocommerce .et_pb_post_content .et_pb_section {
  padding: 0;
  background: transparent;
}

.woocommerce .et_pb_post_content .et_pb_section .et_pb_row {
  width: 100%;
}

/* Badge oferta */
.woocommerce span.onsale {
  border-radius: 6px;
}

/* Imágenes producto */
.dfw-9-woo-image .flex-viewport,
.dfw-9-woo-image .flex-control-thumbs img,
.woocommerce .dfw-9-related-products .et_shop_image .et_overlay {
  border-radius: 6px;
}

.woocommerce div.product .dfw-9-woo-image .flex-active {
  box-shadow: 0 0 0 2px #104bac !important;
}

/* Tamaño del cuadradito de la cantidad */
.dfw-9-add-to-cart .quantity input.qty {
  padding: 13px;
}

.dfw-9-reviews .comment-form-cookies-consent label,
.dfw-38-reviews .comment-notes {
  font-size: 15px;
}
  
.woocommerce .dfw-9-reviews #reviews #comments ol.commentlist li {
  box-shadow: 0 2px 18px 0 rgb(0 0 0 / 10%);
  padding-bottom: 10px;
}
  
.woocommerce .dfw-9-reviews #reviews #comments ol.commentlist li img.avatar {
  margin: 20px 0 0 20px;
  position: relative;
  float: none;
}

.woocommerce .dfw-9-reviews #reviews #comments ol.commentlist li .comment-text {
  margin: 0 0 0 70px !important;
  display: flex;
  flex-wrap: wrap;
}

.woocommerce .dfw-9-reviews #reviews .commentlist .star-rating {
  order: 2;
  margin: -55px 0 36px 50px!important;
}

.woocommerce .dfw-9-reviews #reviews .commentlist .description {
  width: calc(100% + 30px) !important;
  order: 3;
  margin-left: -50px !important;
  margin-top: 10px;
}

.woocommerce .dfw-9-reviews #reviews #comments ol.commentlist li .comment-text p.meta {
  width: 100%;
  margin: -85px 50px 0!important;
  line-height: 1.3em;
}

.dfw-9-reviews .comment-form {
  display: flex;
  flex-wrap: wrap;
}

.dfw-9-reviews .comment-form .comment-notes {
  order: 1;
  width: 100%;
}

.dfw-39-reviews .comment-form .comment-form-author {
  order: 2;
  width: 48.5%;
  margin-right: 3% !important;
}

.dfw-9-reviews .comment-form .comment-form-author input[type=text],
.dfw-38-reviews .comment-form .comment-form-email input[type=email] {
  width: 100% !important;
}

.dfw-9-reviews .comment-form .comment-form-email {
  order: 3;
  width: 48.5%;
}

.dfw-9-reviews .comment-form .comment-form-rating {
  order: 4;
  width: 100%;
}

.dfw-9-reviews .comment-form .comment-form-comment {
  order: 5;
  width: 100%;
}
  
.dfw-9-reviews .comment-form .comment-form-cookies-consent {
  order: 6;
}

.dfw-9-reviews .comment-form .form-submit {
  order: 7;
  width: 100%;
}


/* Insertar la palabra PRECIO antes del precio en variaciones */
.woocommerce-variation-price .woocommerce-Price-amount::before {
    content: "PRECIO: ";
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #333; /* Puedes cambiar el color aquí */
    margin-right: 5px;
    display: inline-block;
}

/* Opcional: Darle más fuerza al número del precio */
.woocommerce-variation-price .woocommerce-Price-amount bdi {
    font-weight: bold;
    font-size: 18px;
    color: #000;
}

/* Asegurar que el contenedor tenga espacio */
.woocommerce-variation-price {
    margin: 15px 0 !important;
    display: block !important;
}

/* ====== CSS TARJETAS DEL BLOG ====== */
.blogy-blog-layout-35 .et_pb_post img {
    border: 2px solid #877f78;
    box-shadow: 0px 0px 8px 0px rgb(0 0 0 / 6%);
    float: left;
    margin-right: 50px;
    width: 44%;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.blogy-blog-layout-35 .et_pb_post {
    background-image: linear-gradient(90deg, #f8f4ed 40%, #ffffff 40%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); 
    padding: 40px;
    border-radius: 6px; 
}

.blogy-blog-layout-35 .et_pb_no_thumb .post-content,
.blogy-blog-layout-35 .et_pb_no_thumb h2.entry-title,
.blogy-blog-layout-35 .et_pb_no_thumb p.post-meta {
    width: 100%;
}

.blogy-blog-layout-35 .pagination.clearfix {
    padding: 30px;
}

.blogy-blog-layout-35 .et_pb_post .entry-featured-image-url {
    margin-bottom: 0;
}

/* ====== RESPONSIVE ====== */
@media screen and (max-width: 980px) {
    .blogy-blog-layout-35 .et_pb_post img {
        margin-bottom: 20px;
        width: 100%;
        float: none;
    }

    .blogy-blog-layout-35 .et_pb_post {
        background-image: linear-gradient(180deg, #f8f4ed 25%, #ffffff 25%);
    }
}

@media screen and (max-width: 767px) {
    .blogy-blog-layout-35 .et_pb_post {
        padding: 20px;
    }
}

@media screen and (min-width: 981px) {
    .blogy-blog-layout-35 .post-content,
    .blogy-blog-layout-35 .post-meta,
    .blogy-blog-layout-35 .entry-title {
        width: 50%;
        float: right;
    }
}

/* ======================================= */
/* WooCommerce */
/* ======================================= */
/* Mostrar miniaturas de productos en carrito y checkout versión móvil */
@media (max-width: 768px) {
  .woocommerce-page table.cart .product-thumbnail {
    display: block !important;
    text-align: center; /* Opcional: centra la imagen */
    margin-bottom: 10px; /* Espaciado con el texto del producto */
  }

  .woocommerce-page table.cart .product-thumbnail:before {
    content: none; /* Mejor que '' para eliminar pseudo-elementos */
  }

  .woocommerce-page table.cart .product-thumbnail img {
    width: 120px;
    height: auto;
  }

  .woocommerce-page table.cart .product-remove {
    float: left;
    border-bottom: 0;
  }
}

/* ====== BOTÓN LEER MÁS DEL BLOG ====== */
.blogy-blog-layout-35 .more-link {
    display: inline-block;
    width: auto !important;
    margin-top: 15px;
    padding: 10px 18px;
    background-color: #000;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
}

/* Evitar estilos antiguos de enlaces que ya no existen */
.blogy-blog-layout-35 .entry-title a {
    pointer-events: none;
    text-decoration: none !important;
}

/* PERSONALIZACIÓN DEL BOTÓN DE VOLVER ARRIBA - OPTIMIZADO */

.et_pb_scroll_top.et-pb-icon {
    background-color: #d9c9a3;
    border-bottom-left-radius: 6px; 
	border-top-left-radius: 6px;
    border-right: 4px solid #000; 
    transition: all 0.3s ease-in-out; 
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); 
}

.et_pb_scroll_top.et-pb-icon:before {
    font-family: 'ETMODULES';
    content: '\46'; 
    font-size: 28px;
    color: #000;
    display: inline-block;
    line-height: 1;
    transition: color 0.3s ease-in-out;
}

/* Efecto hover para mayor interactividad */
.et_pb_scroll_top.et-pb-icon:hover {
    background-color: #f1f1f1; 
    border-right-color: #000; 
}

/* ACESIBILIDAD ENFOQUE TECLADO */
/* Skip link invisible hasta que se enfoca */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100000;
}

/* Skip link visible al enfocar */
.skip-link:focus {
  left: 10px;
  top: 10px;
  background: #ffc107;
  color: #000;
  padding: 8px 12px;
  font-weight: bold;
  text-decoration: none;
  z-index: 100000;
}

/* Carrito accesible - mostrar foco con teclado */
.xoo-wsc-cart-trigger .xoo-wsc-sc-bki.xoo-wsc-icon-bag2:focus {
    outline: 3px solid #104bac; 
    outline-offset: 2px;         
    border-radius: 4px;          
}

/* Foco visible en el módulo Mi Cuenta */
.et_pb_blurb_content[role="link"]:focus {
    outline: 3px solid #104bac; /* color del borde de enfoque */
    outline-offset: 2px;         /* separación del borde del módulo */
    border-radius: 4px;          /* opcional: bordes redondeados */
}

/* Accesibilidad carrito */
.xoo-wsc-cart-trigger .xoo-wsc-sc-bki.xoo-wsc-icon-bag2,
.et_pb_blurb_content {
    cursor: pointer;
}

/* Foco visible REAL para el menú hamburguesa */
.mobile_menu_bar:focus,
.mobile_menu_bar:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px #104bac !important;
  border-radius: 4px;
}


/* Permitir que el foco del logo se vea completo */
.et_pb_menu__logo-wrap {
  overflow: visible !important;
}
.et_pb_menu__logo-wrap a {
  display: inline-block;
}

/* Foco visible para el enlace del logo */
.et_pb_menu__logo-wrap a:focus,
.et_pb_menu__logo-wrap a:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 9px #104bac !important;
  border-radius: 4px;
}