.content-secciones{
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.25);
    position: relative;
}
.content-secciones a:first-child{
    text-decoration: none;
    font-weight: 600;
    color: black;
    font-size: 16px;
}
.content-secciones p{
    font-size: 16px;
}
.content-secciones figure{
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-55%, 0);
}
.content-secciones .leermasbuton{
    text-decoration: none;
    display: flex;
    justify-content: end;
    font-weight: 500 !important;
    position: absolute;
    bottom: 20px;
    right: -15px;
    transform: translateX(-50%);
    color: #D10024 !important;
    font-size:medium !important;
}

#referencias .elementor-shortcode ul{
    display: flex;
    justify-content: center;
}
.materiales-combinar{
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas */
  gap: 20px; /* espacio entre bloques */
}
.woocommerce ul.products li.product .price{
    display: none;
}
.woocommerce ul.products li.product .button{
    display: none;
}
.elementor-widget-container{
    width: 100%;
}
/* Contenedor del producto */
/* Overlay gris */
/*.woocommerce ul.products li.product::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  background: rgba(128, 128, 128, 0.7);*/
/*  opacity: 0;*/
/*  transition: opacity 0.3s ease;*/
/*  z-index: 1;*/
/*}*/

/* Botón "Ver más" */
/*.woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after {*/
/*  content: "Ver más";*/
/*  position: absolute;*/
/*  top: 50%;*/
/*  left: 50%;*/
/*  transform: translate(-50%, -50%);*/
/*  background: #fff;*/
/*  color: #000;*/
/*  padding: 10px 20px;*/
/*  border-radius: 5px;*/
/*  font-weight: bold;*/
/*  opacity: 0;*/
/*  transition: opacity 0.3s ease;*/
/*  z-index: 2;*/
/*}*/
.product a{
      pointer-events: none;  /* desactiva clics */
  cursor: default;       /* cambia el cursor */
}
/* Mostrar overlay y botón en hover */
.woocommerce ul.products li.product:hover::before,
.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link::after {
  opacity: 1;
  border-radius: 10px;
}
.summary .price, .cart, .product_meta{
    display: none;
}
.summary .product_title{
    font-size: xx-large;
}
.woocommerce-tabs{
    display: none;
}
.caracteristicas-products{
    clear: both;
}
.caracteristicas-products h2{
    text-align: center;
    color: #D10024;
    font-size: 40px;
}
.woocommerce div.product div.images{
    margin-bottom: 5em;
}
.caracteristicas-producto{
    background-color: #DEDEDE;
      width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #e0e0e0;        /* gris full width */
  padding: 40px 0;           /* espacio arriba/abajo */
  box-sizing: border-box;
  z-index: 1;
}
.caracteristicas-products .caracteristicas-producto .columns{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 !important;
    list-style: none;
    margin: auto;
}
.caracteristicas-products .caracteristicas-producto .columns .content-caracteristicas{
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: black;
}
.solicitar-info{
    background-color: black !important;
    color: white !important;
    width: 40%;
    text-align: center;
    border-radius: 2px;
    height: 50px;
    align-content: center;
    margin: 40px 0 !important;
}
section.related h2:first-child{
    color: #D10024 !important;
    text-align: center;
    font-size: 40px;
    margin-top: 20px;
}
ul li::marker{
    font-size: x-large;
}
.elementor-image-box-content{
    padding-left: 10px !important;
}
/*ESTILOS PRODUCTOS*/
.woocommerce div.product div.images .flex-control-thumbs li{
    padding: 20px;
}
.woocommerce-product-details__short-description ul{
    padding: 0 20px !important;
}
.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product{
    text-align: center;
}
.swiper-pagination-bullet-active{
    background: #D10024 !important;
}
.vqm .elementor-widget-container .elementor-image-box-wrapper .elementor-image-box-content h3{
    font-size: 20px !important;
}
.woocommerce ul.products li.product a img{
    padding: 20px;
        width: 80%;
    height: auto;
    display: inline-flex
;
    margin: 0 0 1em;
    box-shadow: none;
    justify-content: center;
    align-items: center;
}

/*ESTILOS PRODUCTOS*/

/*ESTILOS MATERIALES*/
.materiales {
  display: flex;
  gap: 20px; /* separación entre cuadros si tienes más de uno */
}

.material {
  position: relative;
  width: 300px;   /* ajusta el tamaño del cuadro */
  height: 200px;
  overflow: hidden;
  border-radius: 8px; /* opcional: esquinas redondeadas */
  cursor: pointer;
}

.material img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* para que la imagen no se deforme */
  transition: transform 0.4s ease;
}

/* Texto oculto al inicio */
.material p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 18px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

/* Capa oscura encima de la imagen */
.material::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Efecto hover */
.material{
    height: 110px !important;
}
}
.material:hover img {
  transform: scale(1.1); /* zoom leve */
}

.material:hover::after {
  opacity: 1; /* aparece la capa oscura */
}

.material:hover p {
  opacity: 1; /* aparece el texto */
}
.inserto .swiper-wrapper{
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    margin: 30px 0 0;
    text-align: center;
}
.swiper-button-next, .swiper-button-prev{
     color: #D10024 !important;
}
.material-capacidades .swiper-button-next{
    right: -40px !important;
    top: 50% !important;
    color: #D10024 !important;
} 
.material-capacidades .swiper-button-prev{
    left: -40px !important;
    top: 50% !important;
    color:#D10024 !important;
}
.material-capacidades .swiper-pagination{
    top: 100% !important;
}
/*ESTILOS MATERIALES*/
@media screen and (max-width: 768px){
    .bloque-capacidades h2,h3,p{
        padding-left: 0 !important;
    }
    .caracteristicas-products .caracteristicas-producto .columns{
        max-width: 90%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;        
    }
    .solicitar-info{
        width: 80%;
        left: 50% !important;
        top: 50%;
        transform: translate(-50%, 0);
    }
    .materiales-combinar{
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas pequeñas */
    }
    .content-secciones{
    width: 80%;
    display: flex;
    margin: auto;
    }
    .content-secciones .leermasbuton{
        margin: -10px 0;
    }
    .elementor-element-741c7f9b{
        padding: 0 30px;
    }
    .woocommerce div.product div.summary{
        padding: 0 20px;
    }
    .imagen-capacidades{
        width: 60%;
    }
    
.related ul.products{
    display: flex;
    justify-content: normal;
    padding: 0 !important;
}
.bloque-capacidades ul{
    padding: 0 10px !important;
}
    .swiper-button-next, .swiper-button-prev, .swiper-pagination{
    display: block;
    }
    .material .elementor-widget-container{
        padding: 10px;
    }
    .wp-block-button{
        padding-left: 0 !important;
    }
      .material p {
    opacity: 1; /* texto siempre visible */
  }
  .material::after {
    opacity: 1; /* capa oscura siempre visible */
  }
  .material:hover img {
    transform: none; /* quita el zoom en móvil */
  }
    .inserto .swiper-wrapper {
    display: flex;
    justify-content: normal;
    flex-wrap: nowrap;
    margin: 30px 0 0;
    text-align: center;
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link::after{
    padding: 10px;
}
.elementor-shortcode .woocommerce .products{
    flex-wrap: wrap;
}
.material-capacidades .swiper-button-next {
    right: -30px !important;
    top: 50% !important;
    color: #D10024 !important;
}
.material-capacidades .swiper-button-prev{
    left: -30px !important;
    top: 50% !important;
    color:#D10024 !important;
}
.marker{
    width: 50px;
    height: 50px;
}
.swal2-popup{
    width: 100% !important;
}
.contenedor-select-asesores .column select{
    width: auto !important;
}
body.term-espumas h1{
    position: relative !important;
}
.nom-img{
    text-align:center !important;
}

}
/* ESTILOS PAGE CONTACTANOS  */
.contenedor-select-asesores{
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
}
.contenedor-select-asesores .column{
    width: 50%;
    padding: 20px;
}
.contenedor-select-asesores .column select{
    background-color: black;
    border: none;
    padding: 10px;
    color: white;
    width: 50%;
    border-radius: 50px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.contenedor-select-asesores .column select option{
    color:white;
    text-align: center;
}
div:where(.swal2-container).swal2-center>.swal2-popup{
    background-color: #d7d9d9;
    border-top-left-radius: 10px;
    border-top-right-radius: 100px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 10px;
    width: 25%;
    height: auto;
}
.swal2-title{
    color: #D10024 !important;
}
.swal2-html-container .telefono::after{
    content: '';
    background-image: url('../images/icon-wpp.png');
    width: 20px;
    display: inline-flex;
    height: 20px;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}
.swal2-html-container .email::after{
    content: '';
    background-image: url('../images/icon-email.png');
    width: 20px;
    display: inline-flex;
    height: 20px;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}
.swal2-html-container .ubicacion::after{
    content: '';
    background-image: url('../images/icon-ubi.png');
    width: 20px;
    display: inline-flex;
    height: 20px;
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}
.swal2-html-container{
    padding: 30px !important;
}
/* ESTILOS PAGE CONTACTANOS */
.container{
    width: 100%;
}
.container #mapa{
    width: 100% !important;
    height: auto !important;
}
.container path{
    fill: #b9cccc;
    stroke: white;
}
#mapa [data-name]:hover {
  fill: #e51d2b;
  cursor: pointer;
}
.tooltip {
  position: absolute !important;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 15px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
  display: none;
}
.tooltip.show {
  display: block;
  opacity: 1;
}
.nom-img{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.nom-img img{
    object-fit: cover !important;
    border-radius: 10px !important;
}
.nom-img h3{
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}
.contenedor-texto p{
    margin: 0 0 5px 0;
    color: #777777;
    display: inline-flex;
    justify-content: center;
    align-items: center;    
}
/*ESTILOS CATEGORIA ESPUMAS*/
body.term-espumas h1{
    color: white;
    background-color: black;
    width: max-content;
    padding: 10px 50px;
    font-weight: 400;
    position: absolute;
    right: 20px;
    z-index: 10;
    bottom: 0;
}
.term-espumas .product a{
    pointer-events: all;
    cursor: pointer;
}
.term-espumas .woocommerce-products-header{
    position: relative;
}
/*ESTILOS CATEGORIA ESPUMAS*/