/*
Theme Name: OceanWP child
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme example child theme.
Author: Nick
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

.ultimas-entradas-con-imagen {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr; /* Por defecto: 1 columna (móvil) */
    gap: 20px;
}

@media (min-width: 768px) {
    .ultimas-entradas-con-imagen {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas desde tablet en adelante */
    }
}

.entrada-item {
    transition: transform 0.2s ease;
}

.entrada-item:hover {
    transform: scale(1.02);
}

.entrada-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}

.entrada-thumbnail {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.entrada-titulo {
    display: block;
    margin-top: 5px;
}



.newsletter .wpcf7 input[type="text"],
.newsletter .wpcf7 input[type="email"] {
    background: #fff;
}
.newsletter .wpcf7-list-item {
    margin-left: 0;
    color: #fff;
}

.wpcf7 input[type="submit"] {
    border-radius: 50px;
}
.newsletter .wpcf7-response-output {
    color: #fff;
}


body .wpced .wpced-inner{
    display: block;
    text-align: center;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
}



.plazo-entrega-producto {
    display: block;
    text-align: center;
    font-weight: bold;
    padding: 5px 10px;
    margin: 5px 0;
    font-size: 14px;
    border-radius: 4px;
    color: #222222;
    background-color: #f6f6f6;
}





.filtros,
.cerrar-filtro {
    float: left;
    border: 1px solid #ccc;
    padding: 5px 20px;
    margin: 0 10px;
    cursor: pointer;
    display: none;
}
.filtros {
    float: none;
}
.single-post.content-max-width .site-breadcrumbs,
.single-post.content-max-width .heateor_sss_horizontal_sharing{
    margin: 1.5em auto 0;
    max-width: 700px;
    text-align: center;
}
.single-post.content-max-width .heateor_sss_horizontal_sharing{
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
}
.related.products img{
    width: 100%;
}
.boton-envio{
    width: 100%!important;
    border:none!important;
    font-size: 18px!important;
    letter-spacing: 0!important;
}
.woobt-form .single_add_to_cart_button {
    margin-bottom: 20px;
}
.woobt-before-text {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px!important;
    color: #000;
}
.woobt-total span{
    font-size: 30px;
}
.product-meta-marca,
.product-meta-referencia{
    display: block;
}
.single-product .elementor-icon-list-items{
    padding: 0!important;
    margin: 0!important;
}
.fondo-degradado.destacados {
    background: linear-gradient(135deg, #011731, #3d5a7b);
    padding: 40px 40px 0;
    border-radius: 30px;
    margin-bottom: 70px;
    margin-top: 50px;
}
.fondo-degradado.destacados img {
    width: 100%;
}
.fondo-degradado.destacados .title a,
.fondo-degradado.destacados .amount{
    color: #fff!important;
}


.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 50px;
    margin-top: 40px;
    background: #f5f5f5;
    width: 100%;
    border-radius: 30px;
}

.carousel-list {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem;
  margin: 0;
  list-style: none;
    direction: ltr;
    scrollbar-color: #2b4664 #e4e4e4;
    scrollbar-width: thin;   

}

.product-category-item {
  flex: 0 0 auto;
  width: 160px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
}

.arrow {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
    margin-top: -50px;
  z-index: 1;
}

.arrow.left {
  margin-left: 0.5rem;
}

.arrow.right {
  margin-right: 0.5rem;
}


.widget-before-product-list .product-title {
    line-height: 1.4;
    display: block;
    min-height: 40px;
}
.widget-before-product-list h2,
.por-marca h2,
.relacionadas {
    text-align: center;
    border-top: 1px solid #ddd;
    padding-top: 50px;
    margin-top: 50px;
    font-size: 24px;
}
.descripcion_adicional{
    border-top: 1px solid #ddd;
    padding-top: 50px;
    margin-top: 50px;    
}
.woocommerce .widget-before-product-list ul.product_list_widget li{
    width: 25%;
    float: left;
    clear: none!important;
    padding: 0 0.625rem;
    margin-bottom: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
}
.woocommerce .widget-before-product-list ul.product_list_widget li img{
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    margin-bottom: 20px;
    padding: 0;
    border:1px solid #d7d7d7;
    border-radius: 3px;    
}
.woocommerce .widget-before-product-list ul.product_list_widget li a{
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}
.woocommerce .widget-before-product-list ul.product_list_widget  .woocommerce-Price-amount{
    font-size: 18px;
    font-weight: normal;
}


.woof_container_product_cat{
    margin-top: 30px;
}
.wp-block-heading{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4em;
}
ul.product-cats li,
ul.product-cats-2 li {
    list-style: none;
    margin-left: 0;
    margin-bottom: 0;
    text-align: center;
    position: relative;
}
ul.product-cats li:hover,
ul.product-cats-2 li:hover {
    opacity: 0.8;
}
ul.product-cats li img,
ul.product-cats-2 li img {
    margin: 0 auto 10px auto; 
    border: 1px solid #e5e5e5;
    border-radius: 5px;
}
ul.product-cats h2,
ul.product-cats .product-title{
	font-size: 14px;
    font-weight: normal;
	text-transform: uppercase;
    height: 45px;
    margin-bottom: 0;
    line-height: 1.3 !important;
    display: block;
}

.products .image-wrap img{
	border:1px solid #d7d7d7;
	border-radius: 3px;
}

.woocommerce .related.products h2 {
    text-align: center;
}
.title-before-category{
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}
.destacados .title-before-category{
    font-size: 18px;
    color: #fff;
}

.single .title-before-category{
    border-top: 1px solid #ddd;
    padding-top: 50px;
}

#colophon ul{
	list-style: none;
	margin: 0;
}
.copyright a{
    color:#fff;
}
@media (min-width: 769px){
    .woocommerce ul.product-cats {
        margin-left: 0;
        clear: both;
        padding: 30px 0 20px 20px;
        border-radius: 3px;
        overflow-y: hidden;        

    }
    ul.product-cats li {
        width: 12%;
        float: left;
        margin-right: 1%;
    }

    ul.product-cats-2 li {
        width: 12%;
        float: left;
        margin-right: 1%;
        font-weight: bold;
        line-height: 1.5;
        font-size: 18px;        
    }
    /*
    ul.product-cats li:nth-of-type(6n),
    ul.product-cats-2 li:nth-of-type(6n) {
        margin-right: 0;
    } */   
}

@media (max-width: 768px) { 

    .woocommerce #right-sidebar {
        position: relative;
        padding: 35px !important;
        background: #f4f4f4;
        display: none;
        margin-bottom: 30px;
        border-radius: 6px;
        border: 1px solid #ccc;
    }

    #content-wrap{
      display: flex;
      flex-direction: column-reverse;
    }

   .filtros {
        display: block;
        margin:0 0 30px 0;
        border: 2px solid #115b88;
        width: 100%;
        text-align: center;
    }
    .cerrar-filtro {
        position: absolute;
        top: 0;
        right: 0;
        background: red;
        font-size: 20px;
        padding: 0 10px;
        margin: 0;
        font-weight: bold;
        color: #fff;
        display: block;
    }

    .woocommerce ul.product-cats {
        background: #f5f5f5;
        overflow-y: hidden;
    }
    ul.product-cats li {
        width: 20%;
        float: left;
        margin-right: 2%;
        line-height: 1.5;
    }
    /*
    ul.product-cats li:nth-of-type(3n),
    ul.product-cats-2 li:nth-of-type(3n) {
        margin-right: 0;
    } 
    */

    ul.product-cats li,
    ul.product-cats-2 li {
        margin-bottom: 20px;
    }    
    .woocommerce .widget-before-product-list ul.product_list_widget li{
        width: 50%;
    }
    .por-marca li.cat-item {
        width: 25%;
        margin: 3.6%;
    }    
    .por-marca span {
        font-size: 14px;
    }


}
@media (max-width: 650px) { 
    .woocommerce ul.product-cats {
        padding: 10px 10px 0;
    }  
    ul.product-cats li {
        width: 40%;
    }
    /*
    ul.product-cats li:nth-of-type(2n),
    ul.product-cats-2 li:nth-of-type(2n) {
        margin-right: 0;
    }*/  
        

}
