/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/

/*div {
    font-family: 'raleway' !important;
}*/
.inline-edit-categories ul.cat-checklist {
    height: 400px !important;
}
div {
    font-family: 'lato' !important;
}
.elementor *, .elementor :after, .elementor :before {
    box-sizing: border-box;
}
.was-price {
    color: red;
}

.was-price del {
    color: red;
}
.sale-price {
    color: #3268cb;
}
.custom-icon-box img {
    max-width: 100px;
}
/*h1{
    font-size:40px !important;
}
h2{
    font-size: 36px !important;
}
body p {
    font-size: 18px !important;
}*/



/* Default hide to prevent flicker */
.porto-woo-category-sidebar {
    display: none;
}



/* WRAPPER */
/*.recent-wrapper {*/
/*    margin-top: 50px;*/
/*}*/
 
/* TITLE */
.recent-title {
    /*text-align: center;*/
    margin-bottom: 30px;
    font-size: 22px;
}
 
/* GRID */
.recent-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
 
.recent-grid span.onsale.CSTM00 {
    padding: 5px 11px;
    background: #da5555;
    line-height: 1;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    position: absolute;
    z-index: 2;
    font-size: 0.625rem;
    text-align: center;
    border-radius: 12px;
    top: 15px;
    left: 50%;
    transform: translate(-50%, -50%);
}
.recent-grid ins.blue-price.single-blue-price {
    color: #3268cb !important;
}
.recent-grid .blue-price span.woocommerce-Price-amount.amount {
    color: #3268cb!important;
}
.recent-img {
    position: relative;
    display: inline-block;
}
.recent-img img {
    position: relative;
}
/* CARD */
.recent-card {
    border: 1px solid #ddd;
    background: #3268cb0f;
    text-align: center;
    /*padding: 15px;*/
    transition: 0.3s;
}
 
.recent-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.recent-inner-content{
    padding: 15px;
}
/* IMAGE */
.recent-img img {
   max-width: 100%;
   min-height: 250px;
   max-height: 251px;
   height: 100%;
   object-fit: contain;
}
 
/* NAME */
.recent-name {
    margin: 20px 0;
    color: #222529;
    font-size: 15px ;
    font-family: 'Lato';
    line-height: 17px;
    font-weight: 500;
    min-height: 90px;
}
.recent-name a {
    color: #222529;
}
 
/* PRICE */
.recent-price {
    color: #1e73be;
    font-weight: bold;
    padding-bottom: 10px;
}

/* BUTTON */
.recent-btn {
    display: inline-block;
    background: #2f5fb3;
    color: #fff;
    padding: 10px;
    width: 100%;
    text-decoration: none;
    font-size: 13px;
}
 
.recent-btn:hover {
    background: #1d4aa5;
    color: #fff;
}
 
/* MOBILE */
@media(max-width: 1024px){
    .recent-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
 
@media(max-width: 600px){
    .recent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}