/* ==========================
   ОБЩИ НАСТРОЙКИ
========================== */

body {
    background: #f6f7f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    overflow-x: hidden;
}

/* Лого */

.custom-logo,
.custom-logo-link img,
.site-logo img{
    max-width:160px;
    max-height:60px;
    width:auto;
    height:auto;
    display:block;
}

/* ==========================
   ELEMENTOR IMAGE BOX
========================== */

.elementor-widget-image-box{
    background:#fff;
    border-radius:14px;
    padding:15px;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
    transition:.25s;
}

.elementor-widget-image-box:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,.12);
}

.elementor-widget-image-box img{
    border-radius:10px;
}

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

.woocommerce ul.products{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:18px;
}

@media(max-width:1024px){
    .woocommerce ul.products{
        grid-template-columns:repeat(3,1fr);
    }
}

@media(max-width:768px){
    .woocommerce ul.products{
        grid-template-columns:repeat(2,1fr);
    }
}

/* ==========================
   PRODUCT CARD
========================== */

.woocommerce ul.products li.product,
.woocommerce ul.products li.product-category{

    width:100%!important;

    min-height:285px;

    background:#fff;

    border-radius:16px;

    padding:14px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.25s;

    text-align:center;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    position:relative;

    overflow:hidden;

}

.woocommerce ul.products li.product:hover,
.woocommerce ul.products li.product-category:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

/* ==========================
   PRODUCT IMAGE
========================== */

.woocommerce ul.products li.product img,
.woocommerce ul.products li.product-category img{

    border-radius:10px;

    max-height:110px;

    width:auto;

    object-fit:contain;

    margin:10px auto;

}

/* ==========================
   PRODUCT TITLE
========================== */

.woocommerce-loop-product__title{

    font-size:17px;

    line-height:1.3;

    min-height:46px;

    margin-bottom:14px;

}

/* ==========================
   BUTTONS
========================== */

.button,
a.button{

    background:#111!important;

    color:#fff!important;

    border-radius:30px!important;

    padding:10px 18px!important;

    font-size:15px;

    transition:.2s;

}

.button:hover,
a.button:hover{

    background:#333!important;

}

/* ==========================
   QUICK VIEW
========================== */

.woocommerce ul.products li.product .woosq-btn{

    display:flex!important;

    position:absolute;

    top:65px;

    left:50%;

    transform:translate(-50%,-20px);

    width:48px;

    height:48px;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    opacity:0;

    transition:.25s;

    font-size:0;

    z-index:10;

}

.woocommerce ul.products li.product .woosq-btn:before{

    content:"👁";

    font-size:22px;

}

.woocommerce ul.products li.product:hover .woosq-btn{

    opacity:1;

    transform:translate(-50%,0);

}/* Поправка за WooCommerce Grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after{
    content: none !important;
    display: none !important;
}