/*======================================
=      PRODUCT CARD - ELECTRONICA FC
======================================*/

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

.woocommerce ul.products{

    display:grid !important;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:30px;
    margin-top:35px;

}

/*======================================
=      TARJETA
======================================*/

.woocommerce ul.products li.product{

    background:#132035;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    transition:.35s;
    display:flex;
    flex-direction:column;
    padding:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.18);

}

.woocommerce ul.products li.product:hover{

    transform:translateY(-8px);
    border-color:#008cff;
    box-shadow:0 25px 45px rgba(0,0,0,.28);

}


/*======================================
=      CONTENIDO
======================================*/

.product-card-inner{

    display:flex;
    flex-direction:column;
    height:100%;

}


/*======================================
=      IMAGEN
======================================*/

.product-image{

    display:block;
    background:#fff;
    border-radius:15px;
    padding:18px;
    margin-bottom:20px;

}

.product-image img{

    width:100%;
    height:220px;
    object-fit:contain;
    transition:.35s;

}

.product-card:hover .product-image img{

    transform:scale(1.05);

}


/*======================================
=      OFERTA
======================================*/

.product-sale{

    position:absolute;
    top:15px;
    left:15px;

    background:#ff3b30;

    color:#fff;

    padding:7px 14px;

    border-radius:30px;

    font-size:12px;

    font-weight:700;

}


/*======================================
=      INFORMACIÓN
======================================*/

.product-info{

    display:flex;
    flex-direction:column;
    flex:1;

}


/*======================================
=      TÍTULO
======================================*/

.product-title{

    min-height:60px;
    margin-bottom:15px;

}

.product-title a{

    color:#fff;
    text-decoration:none;
    font-size:19px;
    font-weight:700;
    line-height:1.4;

}

.product-title a:hover{

    color:#4fb3ff;

}


/*======================================
=      RATING
======================================*/

.product-rating{

    min-height:22px;
    margin-bottom:12px;

}


/*======================================
=      PRECIO
======================================*/

.product-price{

    color:#18c964;
    font-size:28px;
    font-weight:800;
    margin-bottom:15px;

}

.product-price del{

    color:#93a4b6;
    font-size:16px;

}

.product-price ins{

    text-decoration:none;

}


/*======================================
=      STOCK
======================================*/

.product-stock{

    margin-bottom:20px;
    font-size:14px;

}

.stock-ok{

    color:#18c964;
    font-weight:600;

}

.stock-no{

    color:#ff4d4d;
    font-weight:600;

}


/*======================================
=      BOTONES
======================================*/

.product-buttons{

    margin-top:auto;

    display:flex;

    flex-direction:column;

    gap:12px;

}

.product-view{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    padding:14px;

    border:2px solid #008cff;

    border-radius:12px;

    color:#008cff;

    font-weight:700;

    transition:.3s;

}

.product-view:hover{

    background:#008cff;

    color:#fff;

}

.product-buttons .button{

    display:flex !important;

    justify-content:center;

    align-items:center;

    width:100%;

    margin:0 !important;

    padding:14px !important;

    border-radius:12px;

    background:#008cff !important;

    color:#fff !important;

    font-weight:700;

    transition:.3s;

}

.product-buttons .button:hover{

    background:#006fdc !important;

}


/*======================================
=      TABLET
======================================*/

@media(max-width:992px){

    .woocommerce ul.products{

        grid-template-columns:repeat(2,1fr);

        gap:20px;

    }

}


/*======================================
=      CELULAR
======================================*/

@media(max-width:768px){

    .woocommerce ul.products{

        grid-template-columns:repeat(2,1fr) !important;

        gap:15px;

    }

    .woocommerce ul.products li.product{

        padding:12px;

        border-radius:16px;

    }

    .product-image{

        padding:10px;

        margin-bottom:12px;

    }

    .product-image img{

        height:140px;

    }

    .product-title{

        min-height:45px;

        margin-bottom:10px;

    }

    .product-title a{

        font-size:15px;

    }

    .product-price{

        font-size:20px;

        margin-bottom:10px;

    }

    .product-stock{

        font-size:12px;

        margin-bottom:12px;

    }

    .product-buttons{

        gap:8px;

    }

    .product-view,

    .product-buttons .button{

        padding:10px !important;

        font-size:13px;

    }

}


/*======================================
=      CELULARES PEQUEÑOS
======================================*/

@media(max-width:480px){

    .product-image img{

        height:120px;

    }

    .product-title a{

        font-size:14px;

    }

    .product-price{

        font-size:18px;

    }

}