.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;
}
/* 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;
    top: 0;
    left: 0 !important;
}
.nom-img{
    text-align:center !important;
}
.term-espumas .term-description p{
    margin: 0!important;
}
}
/* ESTILOS PAGE CONTACTANOS  */
.contenedor-select-asesores{
    display: flex
;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}
.contenedor-select-asesores .column{
    width: 50%;
    padding: 20px;
}
.contenedor-select-asesores .column h2{
    margin: 30px 0;
}
.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: 350px;
    height: auto;
    max-width: 90%;
}
.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: #e51d2b91;
    stroke: white;
}
#mapa [data-name]:hover {
  fill: #e51d2b;
  cursor: pointer;
}
.tooltip {
  position: fixed !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{
    border-radius: 10px;
}
.contenedor-texto p {
    margin: 0 0 5px 0;
    color: #777777;
    display: flex;
    justify-content: end;
    align-items: center;
}

.nom-img h3{
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}
.contenedor-texto{
    text-align: end !important;
}
/*ESTILOS CATEGORIA ESPUMAS*/
body.term-espumas h1{
    color: white;
    background-color: black;
    padding: 10px 50px;
    font-weight: 400;
    position: relative;
    left: 50%;
    z-index: 10;
    bottom: 85px !important;
}
.term-espumas .product a{
    pointer-events: all;
    cursor: pointer;
}
.term-espumas .woocommerce-products-header{
    position: relative;
}
.term-espumas .orderby{
    display: none !important;
}
.term-espumas .term-description p{
    text-align: center;
   margin: -50px 20px 50px;
}
/*ESTILOS CATEGORIA ESPUMAS*/

    #btn-volver{
    padding: 10px 20px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    }
@media screen and (max-width: 768px){
    .contenedor-select-asesores{
        display: block;
    }
    .contenedor-select-asesores .column{
        width: 100%;
        padding: 0;
    }
    .contenedor-select-asesores .column select{
            transform: translate(-50%, 0);
    }
    #btn-volver{
    padding: 10px 20px;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%);
    }
}

/* ============================
   BANNER TIENDA
============================ */
.tienda-banner {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    margin-bottom: 30px;
}

.tienda-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tienda-banner-texto {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    color: white;
}

.tienda-banner-texto h1 {
    font-size: 42px;
    margin: 0;
    font-weight: bold;
}

.tienda-banner-texto p {
    font-size: 18px;
    margin-top: 8px;
}

/* ============================
   LAYOUT GENERAL
============================ */
.tienda-layout {
    display: flex;
    gap: 30px;
}
.content-area{
    max-width:1170px;
    margin: auto;
}

/* ============================
   SIDEBAR
============================ */
.tienda-sidebar {
    width: 30%;
    background: #f8f8f8;
    padding: 20px;
    height: fit-content;
}

.tienda-sidebar h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: bold;
}

.tienda-categorias {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tienda-categorias li {
    margin-bottom: 10px;
}

.tienda-categorias a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
}

.tienda-categorias a:hover {
    color: #e30613; /* Color destacado */
}

/* ============================
   PRODUCTOS
============================ */
.tienda-productos {
    width: 100%;
}
.tienda-productos h1{
    position: absolute;
    bottom: 50px;
    color: white;
    background-color: black;
    padding: 20px 30px;
    right: 0;
    width: 50%;
}
.tienda-productos ul.products{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tienda-productos ul.products li{
    width: 100% !important;
}
.woocommerce .products ul::after, .woocommerce .products ul::before, .woocommerce ul.products::after, .woocommerce ul.products::before{
    content: '';
    display: none;
}
.tienda-productos .woocommerce-ordering .orderby{
    display: none;
}
/* Móviles */
@media(max-width: 900px) {
    .tienda-layout {
        flex-direction: column;
    }

    .tienda-sidebar {
        width: 100%;
    }
.tienda-productos ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}    
.content-area {
    max-width: 1170px;
    margin: auto 20px;
}
}

