/* CARD */
.products li.product{
    background:#fff;
    border:1px solid #cedce7;
    border-radius:10px;
    padding:18px 18px 22px;
    box-shadow:0 4px 14px rgba(0,0,0,.04);
    transition:.25s ease;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    position:relative;
    padding:10px !important;
}

/* HOVER */
.products li.product:hover{
    transform:translateY(-4px);
    box-shadow:0 10px 28px rgba(0,0,0,.08);
}

/* LINK PRINCIPAL */
.woocommerce-loop-product__link{
    display:block;
    text-decoration:none;
}

/* IMAGEN */
.products .product img{
    width:100%;
    padding:12px;
    margin-bottom:12px;
    background:#fff;
    border-radius:10px;
    object-fit:contain;
    max-height:210px;
    transition:transform .25s ease;
}

/* ZOOM */
.products .product:hover img{
    transform:scale(1.04);
}

/* MARCA */
.product-meta{
    font-size:13px;
    font-weight:500;
    color:#3875A2;
    letter-spacing:.3px;
    text-transform:uppercase;
    margin:8px 0 6px;
    text-align:center;
    text-decoration:none !important;
}

/* TITULO */
.woocommerce-loop-product__title{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
    font-size:16px;
    font-weight:600;
    color:#1f2937;
    line-height:1.35;
    margin-bottom:14px;
    text-align:center;
}

/* BADGE */
.zt-card-badge{
    position:absolute;
    top:10px;
    left:10px;
    background:#3875A2;
    color:#fff;
    font-size:12px;
    font-weight:600;
    padding:6px 10px;
    border-radius:4px;
    text-transform:uppercase;
    z-index:10;
}

/* BOTON WHATSAPP */

.zt-btn-whatsapp{
    display:block;
    text-align:center;
    background:#25D366;
    color:#fff;
    padding:11px 14px;
    border-radius:6px;
    font-size:14px !important;
    font-weight:600;
    text-decoration:none !important;
    transition:.25s ease;
}

/* HOVER BOTON */
.zt-btn-whatsapp:hover{
    background:#20bd5a;
    box-shadow:0 6px 14px rgba(0,0,0,.12);
    transform:translateY(-1px);
    color:#fff;
}

/* Quitar subrayado cards */
.products li.product a,
.products li.product a:hover,
.products li.product a:focus{
    text-decoration:none !important;
    border:none !important;
}

/* Oculta el titulo de grid de Card en Categorias, Marcas, los titulo solo deben mostrase en la pagina Home */
.zt-section.zt-section-brand header.zt-section-header , .zt-section.zt-section-category header.zt-section-header{
    display:none;
}

/* Titulos de las Secciones de Inicio */
/* Seccion */
.entry-content > :is(section, #smart-brand-main-area-2803){
    margin-block:0px;
}
/* Header */
.entry-content > :is(section) > header, .entry-content > :is(#smart-brand-main-area-2803) > .sp-smart-brand-section > .sp-smart-brand-section-title {
    padding-bottom:25px;
    text-align:center;
    font-size:30px;
    text-transform:uppercase;
}
/* h2 y h3 */
.entry-content > :is(section) > header h2, .entry-content > :is(#smart-brand-main-area-2803) > .sp-smart-brand-section > .sp-smart-brand-section-title span  {
    color:#4E6B92;
}

/* ************************************************************************* */

/* =================================================================== 
SIDEBAR LAYOUT
================================================================== */

/* Base (Mobile first) */
.ast-left-sidebar #secondary,
.ast-left-sidebar #primary{
    width:100%;
    padding:0;
    margin-left:0;
}

/* Tablet */
@media(min-width:545px){
    .ast-left-sidebar #secondary,
    .ast-left-sidebar #primary{
        width:100%;
    }
}

/* Desktop */
@media(min-width:922px){
    .ast-left-sidebar #secondary{
        width:18%;
    }

    .ast-left-sidebar #primary{
        width:82%;
        padding-left:15px;
    }
}


/* =================================================================== 
GRID DE CARDS
================================================================== */

/* Base (Mobile) */
ul.products{
    margin:0;
    padding:0;
    list-style:none;
    display:grid;
    gap:28px;
    grid-template-columns:1fr;
}

/* ======================
TABLET
====================== */
@media(min-width:545px){

    .zt-section-product ul.products,
    .zt-section-category ul.products,
    .zt-section-brand ul.products{
        grid-template-columns:repeat(3,1fr);
    }

    .ast-left-sidebar ul.products{
        grid-template-columns:repeat(3,1fr);
    }
}

/* ======================
DESKTOP
====================== */
@media(min-width:922px){

    /* Productos destacados */
    .zt-section-product ul.products{
        grid-template-columns:repeat(4,1fr);
    }

    /* Shop con sidebar */
    .ast-left-sidebar ul.products{
        grid-template-columns:repeat(3,1fr);
    }

    /* Categorías */
    .zt-section-category ul.products{
        grid-template-columns:repeat(4,1fr);
    }

    /* Marcas */
    .zt-section-brand ul.products{
        grid-template-columns:repeat(4,1fr);
    }
}

/* =================================================================== 
FIN GRID
================================================================== */
