/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart-child
*/

.wd-nav-img, .mega-menu-list img  {
    max-height: 30px !important;
}

@media(min-width:1025px) {
    .margin-ajax {
        gap:0px!important;
    }
    .promo-invitation {
        margin-top:20px;
        display: flex;
        justify-content: center;
    }
    .procentage-only {
        color:#000000;
    }
    .discount-percentage {
        margin-right:10px;
    }
    .promo-line {
        display: inline;
    }
    .promo-badge-regular {
        position: absolute;
        top: 16px !important;
        left: 6px;
    }
    .product-img .promo-badge, #product-single-promocje .promo-badge, .margin-ajax .promo-badge {
        position: absolute;
        top: 16px !important;
        left: 6px;
    }
    .product-wrapper .product-element-top a .product-labels {
        position: absolute;
        top: 1px!important;
        inset-inline-start: unset;
        left:0px;
    }
    .wd-buttons {
        position: absolute;
        opacity: 0;
        visibility: hidden;
        transform: translateX(20px) translateZ(0);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        top: var(--wd-btn-inset);
        inset-inline-end: var(--wd-btn-inset);
    }
    .product-wrapper:focus .wd-buttons,
    .product-wrapper:hover .wd-buttons {
        opacity: 1;
        visibility: visible;
        transform: translateX(0) translateZ(0);
    }
}
@media(max-width:1024px) {
    .wd-buttons {
        position: absolute;
        opacity: 1;
        visibility: visible;;
        top: var(--wd-btn-inset);
        inset-inline-end: var(--wd-btn-inset);
    }
    .wd-add-btn.wd-action-btn.wd-style-icon.wd-add-cart-icon,
    .color-scheme-dark .wd-design-aside .wd-dropdown-menu .wd-dropdown .wd-style-with-bg 
    {
        display:none;
    }
    .menu-visible {
        display: block;
    }
    .product-wrapper .product-element-top a .product-labels {
        position: absolute;
        inset-inline-start: 14px;
    }
    h3.wd-entities-title {
        width: 80%;
        margin: 0 auto;
    }
}
@media(min-width:768px) {
    .header-loading {
        background-color: #FFFFFF;
        background-image: url(https://bakaliowelove.pl/wp-content/uploads/2024/05/AdobeStock_578503901-scaled.webp);
        background-position: center center;
        background-repeat: no-repeat;
    }
}
@media(max-width:767px) {
    .header-loading {
        background-color: #FFFFFF;
        background-image: url(https://bakaliowelove.pl/wp-content/uploads/2024/05/AdobeStock_578503901_Preview-768x512.webp);
        background-position: center center;
        background-repeat: no-repeat;
    }
}
.hide-until-loaded {
    display: none !important;
}
.prev-page, .current-page, .last-page, .next-page {
    margin-right:3px;
    font-weight: 500;
}
div.pagination-container {
    margin-top: 35px;
}
h3.wd-entities-title a{
    font-size:20px;
}
.margin__top {
    margin-top:20px;
}
#product-list-container {
    display: flex;
    min-width: 400px;
}
.product-list-column {
    flex: 1;
    list-style: none;
    padding: 0;
}
.product-list-column li {
    margin-bottom: 10px;
}
.current-page {
    font-weight: bold;
}
#product-list-container ul {
    margin-right:40px;
}
.search-found {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-weight: 800;
}
a.button.btn-cart.wc-forward, a.button.checkout.wc-forward, a.btn.wc-backward,
a.button.product-type-variable.add_to_cart_button.add-to-cart-loop,
a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.add-to-cart-loop,
a.button.product_type_variable.add_to_cart_button.add-to-cart-loop,
a.button.product_type_variable.add-to-cart-loop
{
    font-weight:600!important;
    text-transform: uppercase!important;
    font-size:13px!important;
}
@media (max-width: 576px) {
    .product-labels.labels-rounded .product-label {
        width:50px;
        font-size: 14px!important;
    }
}
@media(min-width:1024px) {
    .product-labels{top:7px;}
    .product-labels{position:absolute;inset-inline-start:7px;z-index:1;display:flex;align-items:flex-start;flex-direction:column;gap:10px;max-width:50%;transition:all .3s ease;transform:translateZ(0)}.product-labels .label-with-img{padding:0;max-width:50px}.product-label{padding:5px 10px;min-width:50px;color:#fff;text-align:center;text-transform:uppercase;word-break:break-all;font-weight:600;font-size:12px;line-height:1.2}.product-label.onsale{background-color:var(--wd-primary-color);direction:ltr}.product-label.featured{background-color:#E22D2D}.product-label.new{background-color:#438E44}.product-label.out-of-stock{background-color:var(--bgcolor-white);color:var(--color-gray-900)}.product-label.attribute-label:not(.label-with-img){background-color:var(--bgcolor-white);color:var(--color-gray-900)}.labels-rounded-sm .product-label{border-radius:12px}@media (max-width: 576px){.product-labels{gap:5px}.product-label{padding-inline:5px;min-width:40px;font-size:10px}.product-label .label-with-img{padding-inline:0}}
    .product-element-top.wd-quick-shop {
    min-height: 310px;
}
}
@media(max-width:1023px) {
    .product-labels{top:0px;}
    .product-labels{position:absolute;inset-inline-start:7px;z-index:1;display:flex;align-items:flex-start;flex-direction:column;gap:10px;max-width:50%;transition:all .3s ease;transform:translateZ(0)}.product-labels .label-with-img{padding:0;max-width:50px}.product-label{padding:5px 10px;min-width:50px;color:#fff;text-align:center;text-transform:uppercase;word-break:break-all;font-weight:600;font-size:12px;line-height:1.2}.product-label.onsale{background-color:var(--wd-primary-color);direction:ltr}.product-label.featured{background-color:#E22D2D}.product-label.new{background-color:#438E44}.product-label.out-of-stock{background-color:var(--bgcolor-white);color:var(--color-gray-900)}.product-label.attribute-label:not(.label-with-img){background-color:var(--bgcolor-white);color:var(--color-gray-900)}.labels-rounded-sm .product-label{border-radius:12px}@media (max-width: 576px){.product-labels{gap:5px}.product-label{padding-inline:5px;min-width:40px;font-size:10px}.product-label .label-with-img{padding-inline:0}}
    .product-element-top.wd-quick-shop {
    min-height: 210px;
}
}

.product-labels.labels-rounded .product-label{
    display:flex;align-items:center;
    justify-content:center;
    padding:5px 7px;min-height:25px;border-radius:35px;
    font-size:14px}
.product-labels.labels-rounded .label-with-img{
        padding:0;min-height:
        auto;max-width:55px}
.product-labels.labels-rounded .out-of-stock{
    position:relative;left:5px;
    width:100%;font-size:12px;
    border:1px solid #E0B252; 
    padding:5px 7px 5px; min-width:25px!important
}
@media (max-width: 576px){
    .product-labels.labels-rounded .product-label{
        position:relative;
        top:0px!important;
        left:-14px;font-size:10px}
    .product-labels.labels-rounded .label-with-img{
        min-height:auto}
}