/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
html {
    scroll-behavior: smooth;
}

span.price small.wcsatt-sub-options,
.xts-template-library,
.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads,
body.single-product div.wd-product-brands,
div.product-image-summary-wrap span.tagged_as,
.inpost_pl-shipping-method-meta-wrap,
.xts-template-library .xts-prebuilt {
    display: none !important;
}

.boxx {
    /* height: fit-content !important; */
    /* height: 333px !important; */
    /* max-height: 333px; */
    
}
.wp-block-wd-column.bbbb {

}



body .is-layout-grid.siatka {
    display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
}

/* Opcjonalnie, dla większych ekranów może być jedna kolumna lub więcej */
@media (min-width: 768px) {
    body .is-layout-grid.siatka {
        grid-template-columns: 1fr;
        /* na większych ekranach jedna kolumna */
    }
}

ul.filtry_img li{
margin-bottom:0;

}



.ni_boksy1 .wp-block-wd-column{
    /* height: 333px; */
}
#wd-b1e85b6f  #wd-b1e85b6f svg {
     
 }

body>div.wd-page-wrapper.website-wrapper>header>div>div>div>div>div.whb-column.whb-col-left.whb-column8.whb-visible-lg>nav {
    z-index: 22;
}
body>div.wd-page-wrapper.website-wrapper>header>div>div>div>div>div.whb-column.whb-col-center.whb-column9.whb-visible-lg {
    z-index: 5;
}

body.single-product .whb-general-header {
/* padding-bottom: 13px; */
background-image: url(/wp-content/uploads/2025/11/hesubhead.jpg);


}
/* @media (min-width: 1025px) {
body.single-product  header.whb-sticked .whb-general-header {
    background-image:none;
background-color: #231f20;
    border-bottom-width: 0px;
    border-bottom-style: solid;
}
} */
.bezpieczne-zakupy {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 5px;
}

.bz-icon {
    width: 40px;
    height: 40px;
}

.bz-text {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}










.wd-prefooter {
    padding-bottom: 0px !important;
    
}

/* ten kod animuje ramkę PRZECIWNIE do ruchu zegara */

/* ten kod animuje ramkę PRZECIWNIE do ruchu zegara z odwróconymi kierunkami każdej krawędzi */

.ni_boks1 .wp-block-wd-button.btn {
    position: relative;
    display: inline-block;
    padding: 11px 22px;
    border: none;
    color: #fff;
    background: transparent;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
}

/* --- RAMKA --- */
.ni_boks1 .wp-block-wd-button.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;

    background: linear-gradient(#dbb255 0 0) 100% 0 / 0% 1px no-repeat,
        /* top (od prawej) */
        linear-gradient(#dbb255 0 0) 100% 100% / 1px 0% no-repeat,
        /* right (od dołu) */
        linear-gradient(#dbb255 0 0) 0 100% / 0% 1px no-repeat,
        /* bottom (od lewej) */
        linear-gradient(#dbb255 0 0) 0 0 / 1px 0% no-repeat;
    /* left (od góry) */
    transition: background-size 0s;
}

/* Animacja ramki po najechaniu na cały blok */
.ni_boks1:hover .wp-block-wd-button.btn::before {
    animation: draw-border-ccw 0.5s linear forwards;
}

/* --- POŚWIATA (shine) --- */
.ni_boks1 .wp-block-wd-button.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

/* Shine aktywuje się przy hoverze NA SAM GUZIKU */
.ni_boks1 .wp-block-wd-button.btn:hover::after {
    opacity: 1;
    animation: shine-slide 1.2s ease forwards;
}

/* --- ANIMACJE --- */

/* Ramka – PRZECIWNIE do ruchu zegara z odwróconymi kierunkami */
@keyframes draw-border-ccw {
    0% {
        background-size: 0% 1px, 1px 0%, 0% 1px, 1px 0%;
    }

    25% {
        background-size: 0% 1px, 1px 0%, 0% 1px, 1px 100%;
        /* lewa: od góry → dołu */
    }

    50% {
        background-size: 0% 1px, 1px 0%, 100% 1px, 1px 100%;
        /* dół: od lewej → prawej */
    }

    75% {
        background-size: 0% 1px, 1px 100%, 100% 1px, 1px 100%;
        /* prawa: od dołu → góry */
    }

    100% {
        background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
        /* góra: od prawej → lewej */
    }
}

/* Poświata prześlizgująca się w tle guzika */
@keyframes shine-slide {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}





.ni_boks2 .wp-block-wd-button.btn {
    position: relative;
    display: inline-block;
    padding: 11px 22px;
    border: none;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
background: #D4A764;
    /* background: linear-gradient(302deg, rgba(212, 167, 100, 1) 0%, rgba(153, 117, 69, 1) 28%, rgba(162, 129, 81, 1) 53%, rgba(251, 247, 200, 1) 99%); */
background: linear-gradient(135deg,
            rgba(248, 229, 163, 0.3) 0%,
            rgba(242, 201, 76, 0.3) 25%,
            rgba(212, 167, 67, 0.3) 50%,
            rgba(185, 138, 46, 0.3) 75%,
            rgba(246, 215, 107, 0.3) 100%);

    
}

/* --- RAMKA --- */
.ni_boks2 .wp-block-wd-button.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;

    background: linear-gradient(#dbb255 0 0) 100% 0 / 0% 1px no-repeat,
        /* top (od prawej) */
        linear-gradient(#dbb255 0 0) 100% 100% / 1px 0% no-repeat,
        /* right (od dołu) */
        linear-gradient(#dbb255 0 0) 0 100% / 0% 1px no-repeat,
        /* bottom (od lewej) */
        linear-gradient(#dbb255 0 0) 0 0 / 1px 0% no-repeat;
    /* left (od góry) */
    transition: background-size 0s;
}

/* Animacja ramki po najechaniu na cały blok */
.ni_boks2:hover .wp-block-wd-button.btn::before {
    animation: draw-border-ccw 0.5s linear forwards;
}

/* --- POŚWIATA (shine) --- */
.ni_boks2 .wp-block-wd-button.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

/* Shine aktywuje się przy hoverze NA SAM GUZIKU */
.ni_boks2 .wp-block-wd-button.btn:hover::after {
    opacity: 1;
    animation: shine-slide 1.2s ease forwards;
}

/* --- ANIMACJE --- */

/* Ramka – PRZECIWNIE do ruchu zegara z odwróconymi kierunkami */
@keyframes draw-border-ccw {
    0% {
        background-size: 0% 2px, 2px 0%, 0% 2px, 2px 0%;
    }

    25% {
        background-size: 0% 2px, 2px 0%, 0% 2px, 2px 100%;
        /* lewa: od góry → dołu */
    }

    50% {
        background-size: 0% 2px, 2px 0%, 100% 2px, 2px 100%;
        /* dół: od lewej → prawej */
    }

    75% {
        background-size: 0% 2px, 2px 100%, 100% 2px, 2px 100%;
        /* prawa: od dołu → góry */
    }

    100% {
        background-size: 100% 2px, 2px 100%, 100% 2px, 2px 100%;
        /* góra: od prawej → lewej */
    }
}

/* Poświata prześlizgująca się w tle guzika */
@keyframes shine-slide {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}


body.single-product div.wpo-color-checkboxes {
    font-size: 13px;
}
.wpo-color-checkboxes .wpo-color-checkbox span.wpo-swatch-inner {

    background-size: 11px;
    height: 17px;
    width: 17px;
}
.wpo-color-checkboxes .wpo-color-checkbox {
    width: 44% !important;
}

.wpo-color-checkboxes .wpo-color-checkbox div {
    color: inherit;
    font-family: inherit;
    font-weight: 500;
    line-height: 17px;
    padding-left: 0;
    vertical-align: middle;
}

/* PODSTAWOWY STYL PRZYCISKU */
#wd-523c70ad .wp-block-wd-button.btn {
    position: relative;
    display: inline-block;
    padding: 11px 22px;
    border: none;
    color: #fff;
    background: transparent;
    text-decoration: none;
    overflow: hidden;
    z-index: 1;
}

/* --- ZŁOTA RAMKA --- */
#wd-523c70ad .wp-block-wd-button.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;

    background: linear-gradient(#dbb255 0 0) 100% 0 / 0% 1px no-repeat,
        /* top (od prawej do lewej) */
        linear-gradient(#dbb255 0 0) 100% 100% / 1px 0% no-repeat,
        /* right (od dołu do góry) */
        linear-gradient(#dbb255 0 0) 0 100% / 0% 1px no-repeat,
        /* bottom (od lewej do prawej) */
        linear-gradient(#dbb255 0 0) 0 0 / 1px 0% no-repeat;
    /* left (od góry do dołu) */
    transition: background-size 0s;
}

/* Animacja ramki przy hoverze NA CAŁYM BLOKU */
#wd-523c70ad:hover .wp-block-wd-button.btn::before {
    animation: draw-border-ccw3 0.5s linear forwards;
}

/* --- LEKKI BŁYSK (shine) --- */
#wd-523c70ad .wp-block-wd-button.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1;
}

/* Shine aktywny przy hoverze NA SAMYM PRZYCISKU */
#wd-523c70ad .wp-block-wd-button.btn:hover::after {
    opacity: 1;
    animation: shine-slide3 1.2s ease forwards;
}

/* --- ANIMACJE --- */

/* Ramka – przeciwnie do ruchu zegara, kierunki: 
   lewa G→D, dół L→P, prawa D→G, góra P→L */
@keyframes draw-border-ccw3 {
    0% {
        background-size: 0% 1px, 1px 0%, 0% 1px, 1px 0%;
    }

    25% {
        background-size: 0% 1px, 1px 0%, 0% 1px, 1px 100%;
        /* lewa: od góry → dołu */
    }

    50% {
        background-size: 0% 1px, 1px 0%, 100% 1px, 1px 100%;
        /* dół: od lewej → prawej */
    }

    75% {
        background-size: 0% 1px, 1px 100%, 100% 1px, 1px 100%;
        /* prawa: od dołu → góry */
    }

    100% {
        background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
        /* góra: od prawej → lewej */
    }
}

/* Efekt shine – przebłysk poziomy po najechaniu na guzik */
@keyframes shine-slide3 {
    0% {
        left: -75%;
    }

    100% {
        left: 125%;
    }
}



.easypack-visible-point-header {
    color: #fff;
    background: #9D7235;
}
.free-shipping-notice {
    background: #e8f5e9;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #4CAF50;
}

.cart-widget-side .free-shipping-notice{
    background-color: #00000000 !important;
    border-left: none !important;
}


#wd-5946082a:hover>#wd-45f4427d:hover>.wd-bg-overlay {

    /* height: 94% !important; */
}


.iconbox1 {
    height: 342px;
}

.iconbox1 > .wp-block-wd-container {
    justify-content: flex-end;
}

.iconbox1 .wp-block-wd-button.btn {
    display: flex;
    max-width: 100%;
}


@media (max-width: 768px) {
/* Tło wideo na pełną wysokość sekcji */
#wd-76e44434 {
    position: relative;
    overflow: hidden;
    height: 100vh;
    /* cała wysokość ekranu */
}

/* Kontener z wideo */
#wd-76e44434 .wd-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Sam iframe z YouTube */
#wd-76e44434 .wd-bg-video-iframe,
#wd-76e44434 .wd-bg-video-iframe iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 177.78vh;
    /* proporcje 16:9 */
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    pointer-events: none;
    /* nie klikalne */
}

/* Warstwa przyciemnienia */
#wd-76e44434 .wd-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    /* przyciemnienie */
    z-index: 1;
}

/* Treść nad filmem */
#wd-76e44434 .wp-block-wd-container {
    position: relative;
    z-index: 2;
    text-align: center;
}



}

.whb-main-header,
.whb-general-header-inner,
.whb-row {
    overflow: visible !important;
}
.metody-parzenia-ikony {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.metoda-ikona {
    height: 35px;
    width: auto;
    object-fit: contain;
}


.parametry_kawy {
    max-width: 130px;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* whb-header whb-header_698558 whb-overcontent whb-full-width whb-sticky-shadow whb-scroll-stick whb-sticky-real whb-custom-header whb-sticky-prepared
whb-header whb-header_698558 whb-overcontent whb-full-width whb-sticky-shadow whb-scroll-stick whb-sticky-real whb-custom-header whb-sticky-prepared whb-sticked */
body.single-product>div.wd-page-wrapper.website-wrapper>header>div.whb-main-header {
    position: relative !important;
}
body.single-product>div.wd-page-wrapper.website-wrapper>header.whb-sticked>div.whb-main-header {
position: fixed !important;
}




/* MOBILE: wymuś ~300px wysokości logo i zignoruj inline style */
@media (max-width: 1024px) {



body.home header:not(.whb-sticked) .whb-general-header-inner {
        height: 110px;
        max-height: 270px;
            /* margin-top: 80px !important; */
    }
body.home header:not(.whb-sticked) .whb-general-header-inner .whb-mobile-center {
margin-top: 129px;
}

body.home header:not(.whb-sticked) .whb-general-header-inner .whb-mobile-center img{
    width: 218px;
}

.parametry_kawy {
        max-width: 100%;

    }

.ni_boksy1 .wp-block-wd-column {
        /* height: 233px; */
        height: auto !important;
                flex: 0 0 calc(50% - var(--wd-col-gap) / 2);
                    max-width: calc(50% - var(--wd-col-gap) / 2);
    }

.iconbox1 {
    height: 242px;
}

    /* pozwól wychodzić poza header (jak wcześniej) */
    .whb-main-header,
    .whb-general-header-inner,
    .whb-row {
        overflow: visible;
    }

  #menu-mobile-navigation .menu-item.menu-item-wishlist.wd-with-icon.item-level-0 {
    border-top: 3px solid var(--brdcolor-gray-300);
  }


}

@media (min-width: 1025px) {



    body.home .whb-general-header-inner {
            height: 144px;
            max-height: 270px;
        }








.product_title {
        font-size: 26px;
        line-height: 1.2;
        --page-title-display: block;
    }

.whb-column.whb-column.whb-col-center.whb-column9.whb-visible-lg {
        display: flex;
        flex-direction: row;
        max-height: inherit;
        align-items: flex-start;
    }

}



.ni_boksy1 .wp-block-wd-column .ni_boks1{
    /* border: 3px solid #fff;
    border: 1px solid #787878de; */
        box-shadow: 0 0 40px 2px rgb(0 0 0);
}


div.nice-select.open>div>ul.list>li:nth-child(1) {
    /* display: none !important; */
}


.wd-page-title .title {
    font-size: 33px !important;
    line-height: 1.2;
    margin-bottom: 0;
}
#billing_document_type_field {
    display: flex;
        justify-content: flex-start;
        column-gap: 35px;
}

#billing_document_type_field span{
    display: flex;
        align-items: center;
        flex-direction: row;
}
#billing_document_type_field label {
    height: 1.3em;
        display: flex;
}
#billing_document_type_field>span>label:nth-child(2){
    margin-right: 20px;
}

.ep-chosen-parcel-machine {
    background: #9d7235 !important;
    color: #fff!important;
}
