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

@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

/* Apply Urbanist Fonts */
:root {
    --wd-font-body: 'Urbanist', sans-serif;
    --wd-font-titl: 'Urbanist', sans-serif;
    --wd-font-widget-titl: 'Urbanist', sans-serif;
}

body, p, li, input, textarea {
    font-family: 'Urbanist', sans-serif;
}

/* Apply Urbanist to span and div but exclude icon fonts and star ratings */
span:not(.star-rating):not([class*="rating"]):not(.wd-icon):not([class*="icon"]):not(.fa):not(.fas),
div:not(.star-rating):not([class*="rating"]):not(.wd-icon):not([class*="icon"]):not(.fa):not(.fas) {
    font-family: 'Urbanist', sans-serif;
}

/* Ensure star ratings and theme icons retain their specific font families */
.star-rating, 
.star-rating:before,
.star-rating span:before,
[class^="wd-icon-"], 
[class*=" wd-icon-"],
.woodmart-icon,
.fa, .fas, .fab, .far,
.wd-icon {
    font-family: star, FontAwesome, "Font Awesome 5 Free", "woodmart-font", sans-serif !important;
    font-weight: 900 !important;
}

/* Fix for top bar checkmark icons - Using SVG for reliability */
.whb-top-bar .wd-nav-icon.fa-check {
    display: inline-flex !important;
    width: 14px !important;
    height: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* If the top bar background is dark (light text mode), use white icons */
.whb-top-bar.whb-color-light .wd-nav-icon.fa-check {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

/* If the top bar background is light (dark text mode), use black icons */
.whb-top-bar.whb-color-dark .wd-nav-icon.fa-check {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
}

.whb-top-bar .wd-nav-icon.fa-check:before {
    display: none !important; /* Hide faulty font-icon */
}

h1, h2, h3, h4, h5, h6, 
.wd-entities-title, 
.product-title, 
.title, 
.wd-widget-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    text-transform: none !important;
}

.search-highlight {
    font-weight: 700 !important;
}

.cw-search-summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 15px !important;
    background: #f9f9f9 !important;
    border-bottom: 1px solid #eee !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
}

.cw-search-summary-left {
    color: #000000 !important;
}

.cw-search-summary-right {
    color: #757575 !important;
    font-size: 13px !important;
}


.wd-product:not(.wd-hover-small) :is(.product-image-link,.hover-img) img {
    height: 295px;
    object-fit: contain;
    object-position: center;
}
.product-element-bottom.adv-loop-products-header {
    position: relative!important;
}

.products_core_feature {
    position: absolute;
    top: -30px;
    background: rgb(247 234 234);
    padding: 0.2rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.7rem;
    color: #000;
    font-weight: 600;
}
.product_short_list_info li {
    margin: 0px;
    gap: 8px;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: flex-end;
    justify-content: flex-start;
    align-items: flex-start;
    color: #000;
    font-weight: 500;
    font-size: 0.8rem;
}
.product_short_list_info strong, .product_spec_small strong {
    color: #000;
    font-weight: 700;
}
.product_short_list_info ul{
    padding:0px;
}
.product_short_list_info li:before {
    content: url(https://digiinkt.nl/wp-content/uploads/2025/04/checkmark-2.svg);
}
.product_spec_small {
    color: #5e5e5e;
}
.wd-product .wd-entities-title,
.wd-product .wd-entities-title a {
    font-weight: 700;
    font-size: 1rem;
    color: #000 !important;
}
span.per-print-cost {
    font-weight: 600;
    color: #4cae4c;
}
.per_print_cost_div {
    color: #000;
    font-size: 0.8rem;
}
.wd-product .price {
    font-size: 1.5rem;
}
#checkCompatiblityButton, #checkCompatiblityButtonSP{
	color: #000;
	cursor:pointer;
}
#checkCompatiblityButton:hover, #checkCompatiblityButtonSP:hover{
	color: #000;
    text-decoration: underline;
}
svg.e-font-icon-svg.e-fas-check {
    width: 1rem;
}
ul.items-in-package {
	max-width: 400px;
    margin: 0px;
    padding: 0px;
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
	row-gap: 0.7rem;
	align-content: center;
    justify-content: flex-start;
}
ul.items-in-package li {
    margin: 0px;
    display: flex;
    gap: 5px;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
}
.package-contains {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.compablity-Check-form-2{
    display: flex;
    gap: 1rem;
}
.showResultDevices{
    position: relative;
    width: 50%;
}
ul.result-options {
    list-style: none;
    padding: 0px;
    margin: 0px;
    position: fixed;
    z-index: 99999;
    background: #ffffff;
    width: 32.5%;
    border-radius: 2px;
    box-shadow: 0px 0px 4px 0px #00000021;
}
div#tag-home-results .result-options-home{
	list-style: none;
    padding: 0px;
    margin: 0px;
    position: absolute;
    z-index: 99999;
    background: #ffffff;
    width: 100%;
    border-radius: 2px;
    box-shadow: 0px 0px 4px 0px #00000021;
}
input#tag-search-home-input, select._3ede1f0410fbb79c-Select__Input.select, select._3ede1f0410fbb79c-Select__Input.select option {
    color: #000;
}
form.compablity-Check-form-main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

ul.result-options-home li{
	margin: 0px;
    padding: 0px;
}
a.result-item-a {
    display: block;
    width: 100%;
    padding: 8px 10px;
    color: var(--e-global-color-primary);
    text-decoration: none;
}
a.result-item-a:hover {
	background:#e9f2fc;
	text-decoration: none;
}
li.result-item {
    padding: 0.3rem 0.5rem;
    margin: 0px;
    cursor: pointer;
    border-radius: 2px;
    font-size: 0.9rem;
    color: #000;
    font-weight: 600;
}
li.result-item:hover {
    background: #e9f2fc;
}
#compatibility-result{
    display: none;
}
@media only screen and (max-width: 700px) {
.compablity-Check-form-2{
    display: flex;
    flex-direction: column;
}
.showResultDevices{
    position: relative;
    width: 100%;
}
ul.result-options {
    width: 100%;
    position: static;

}
a.button.custom-order-now-button {
    padding: 0.4rem;
	}
	
.recommended-flag {
        font-size: 0.68rem !important;
        right: -70px !important;
        bottom: 56px !important;
    }
}
selector input, selector select {
    color: #000;
}

i.fas.fa-percentage.price-tired-icon {
    color: var(--e-global-color-primary);
	font-size: 1.3rem;
	margin-right: 6px;
}

.selected > .variable-item-contents > .variable-item-span:before {
	content: "\f107";
    font-family: "woodmart-font";
    color: #1b5faa!important;
	font-size: 0.8rem;
	border: 2px solid #1b5faa!important;
}

.variable-item-contents > .variable-item-span:before {
    content: "";
    font-family: "woodmart-font";
    color: #9c9ea1;
    margin: 0rem 0.5rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border: 2px solid #c7c7c8;
    display: inline-block;
    border-radius: 100px;
}


.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item.selected:not(.no-stock), .woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item {
    padding: 1.4rem 0!important;
}

.wd-product-brands-links {
    display: none;
}

.wd-nav[class*="wd-style-"]>li:is(.wd-has-children,.menu-item-has-children)>a:after {
    color: rgb(71 71 71);
    font-weight: 900;
    font-size: 10px;
    padding: 6px;
}

/* Service Logos and Trust Mark */
.de9f3adf586131dd-ServiceLogos{flex-flow:wrap;justify-content:center;align-items:center;gap:.5rem;margin-bottom:1rem;display:flex}
.de9f3adf586131dd-ServiceLogos__Title{font-weight:var(--font-weightBold)}
.de9f3adf586131dd-ServiceLogos__Logos{flex-flow:wrap;justify-content:center;gap:.5rem;display:flex}
.de9f3adf586131dd-ServiceLogos__Item{justify-content:center;display:flex}
.de9f3adf586131dd-ServiceLogos__Item img{-o-object-fit:contain;object-fit:contain;max-width:100%;max-height:100%}
.de9f3adf586131dd-ServiceLogos_Footer{border-bottom:1px solid var(--color-borderColor, #e1e1e1);margin-top:1rem;margin-bottom:0;padding:0 1rem 1rem}
.de9f3adf586131dd-ServiceLogos_ClickableLogos .de9f3adf586131dd-ServiceLogos__Item{border:1px solid var(--color-borderColor, #e1e1e1);border-radius:var(--borderRadius-default, 4px);align-items:center;width:2.875rem;height:2rem;background-color:#fff}
.de9f3adf586131dd-ServiceLogos_ClickableLogos .de9f3adf586131dd-ServiceLogos__Item:hover{border-color:var(--color-blue, #1b5faa)}
.de9f3adf586131dd-ServiceLogos_ClickableLogos .de9f3adf586131dd-ServiceLogos__Item.klarna,.de9f3adf586131dd-ServiceLogos_ClickableLogos .de9f3adf586131dd-ServiceLogos__Item.american-express{border:0}

._5857557e9bc4edeb-TrustMark{-webkit-column-gap:8px;-moz-column-gap:8px;flex-shrink:0;align-items:center;column-gap:8px;display:flex}
._5857557e9bc4edeb-TrustMark__LogoThuiswinkel{width:42px;height:auto;background-color:#fff;border-radius:2px;padding:2px}
._5857557e9bc4edeb-TrustMark__LogoThuiswinkel_Horizontal{width:140px}
._5857557e9bc4edeb-TrustMark__LogoEcommerceEurope{width:42px;height:auto}
._5857557e9bc4edeb-TrustMark__LogoBecom{width:36px;height:auto}
._5857557e9bc4edeb-TrustMark_GapMedium{-webkit-column-gap:16px;-moz-column-gap:16px;column-gap:16px}
._5857557e9bc4edeb-TrustMark_LogoLarge ._5857557e9bc4edeb-TrustMark__LogoThuiswinkel{width:54px}
._5857557e9bc4edeb-TrustMark_LogoLarge ._5857557e9bc4edeb-TrustMark__LogoThuiswinkel_Horizontal{width:150px}
._5857557e9bc4edeb-TrustMark_LogoMedium ._5857557e9bc4edeb-TrustMark__LogoThuiswinkel{width:44px}
._5857557e9bc4edeb-TrustMark_LogoSmall ._5857557e9bc4edeb-TrustMark__LogoThuiswinkel{width:32px}
._5857557e9bc4edeb-TrustMark_Footer{justify-content:center}

.de9f3adf586131dd-ServiceLogos_ProductPage{justify-content:flex-start;padding:5px 0;border-top:1px solid #0000001C;margin-bottom:0}
.de9f3adf586131dd-ServiceLogos_ProductPage .de9f3adf586131dd-ServiceLogos__Logos{justify-content:flex-start}
.de9f3adf586131dd-ServiceLogos_ProductPage.de9f3adf586131dd-ServiceLogos{margin-bottom:0}

/* Klarna Pay in 3 Widget */
body .klarna-pay-in-3-widget {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 1rem !important;
    width: 100% !important;
    border-radius: 8px !important;
    border: 1px solid #e1e1e1 !important;
    background-color: #fff !important;
    color: #666 !important;
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    gap: 0.5rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}
@media (min-width: 640px) {
    body .klarna-pay-in-3-widget {
        flex-direction: row !important;
        align-items: center !important;
        padding: 0.5rem 0.75rem !important;
        gap: 0.75rem !important;
    }
}
body .klarna-logo-svg {
    height: 20px !important;
    width: 100px !important;
    flex-shrink: 0 !important;
    display: block !important;
}
@media (min-width: 640px) {
    body .klarna-logo-svg {
        height: 24px !important;
    }
}
body .klarna-widget-text {
    font-size: 0.75rem !important;
    display: block !important;
}
@media (min-width: 640px) {
    body .klarna-widget-text {
        font-size: 0.875rem !important;
    }
}
body .klarna-widget-price {
    white-space: nowrap !important;
    font-weight: 600 !important;
    color: #000 !important;
}

/* Stack Add to Cart and Buy Now buttons */
.single-product .cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
}
/* Quantity selector SPECIFIC to product page add-to-cart form */
.single-product form.cart .quantity {
    margin-bottom: 0 !important;
    height: 54px !important;
    display: flex !important;
}
.single-product form.cart .quantity input {
    height: 54px !important;
    line-height: 54px !important;
}

/* Reset quantity selectors in the sidebar/mini-cart to original size */
.cart-widget-side .quantity,
.cart-widget-side .quantity input,
.cart-widget-side .wd-quantity-input,
.cart-widget-side .wd-quantity-input input {
    height: auto !important;
    line-height: normal !important;
    min-height: 0 !important;
}
.single-product .single_add_to_cart_button {
    flex: 1 !important;
    margin-bottom: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    padding: 0 20px !important;
    min-height: 54px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}
/* Static icon on the left using a base64 SVG */
.single-product .single_add_to_cart_button:before {
    content: "" !important;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJ3aGl0ZSI+PHBhdGggZD0iTTE3LDE4QzE1Ljg5LDE4IDE1LDE4Ljg5IDE1LDIwQTIsMiAwIDAsMCAxNywyMkEyLDIgMCAwLDAgMTksMjBDMTksMTguODkgMTguMSwxOCAxNywxOE0xLDJWNEgzTDYuNiwxMS41OUw1LjI0LDE0LjA0QzUuMDksMTQuMzIgNSwxNC42NSA1LDE1QTIsMiAwIDAsMCA3LDE3SDE5VjE1SDcuNDJBMC4yNSwwLjI1IDAgMCwxIDcuMTcsMTQuNzVDNy4xNywxNC43IDcuMTgsMTQuNjYgNy4yLDE0LjYzTDguMSwxM0gxNS41NUMxNi4zLDEzIDE2Ljk2LDEyLjU4IDE3LjMsMTEuOTdMMjAuODgsNS41QzIwLjk1LDUuMzQgMjEsNS4xNyAyMSw1QTEsMSAwIDAsMCAyMCw0SDUuMjFMNC4yNywyTTcsMThDNS44OSwxOCA1LDE4Ljg5IDUsMjBBMiwyIDAgMCwwIDcsMjJBMiwyIDAgMCwwIDksMjBDOSwxOC44OSA4LjEsMTggNywxOFoiPjwvcGF0aD48L3N2Zz4=') !important;
    background-size: 22px 22px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    width: 22px !important;
    height: 22px !important;
    margin-right: 10px !important;
    display: inline-block !important;
    transition: opacity 0.2s ease !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Hide our custom SVG icon only when loading starts */
.single-product .single_add_to_cart_button.loading:before {
    opacity: 0 !important;
}
/* Hide text and make it transparent when loading starts */
.single-product .single_add_to_cart_button.loading {
    color: transparent !important;
}
.single-product .single_add_to_cart_button.loading:after {
    opacity: 1 !important;
    color: white !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Ensure the loader animation still shows correctly */
.single-product .wd-buy-now-btn {
    display: none !important;
}

/* Mini-cart (Side Cart) Customization */
.widget_shopping_cart .buttons a.wc-forward:not(.checkout) {
    display: none !important;
}

.widget_shopping_cart .buttons a.checkout {
    height: 60px !important;
    line-height: 60px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cw-continue-shopping {
    display: block !important;
    text-align: center !important;
    margin-top: 15px !important;
    font-size: 16px !important;
    text-decoration: none !important;
    color: #333 !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.cw-continue-shopping:hover {
    color: #000 !important;
    background: transparent !important;
}

/* Search bar design inspired by Printabout.nl - REFINED */

/* Search Container Styling */
@media (min-width: 1025px) {
    .whb-general-header .whb-col-center {
        display: flex !important;
        justify-content: flex-end !important;
        padding-right: 0 !important;
    }
}

/* Ensure background is transparent during active search for the spotlight effect */
body.cw-search-active .whb-header-bottom,
body.cw-search-active .whb-header-bottom .container {
    background-color: transparent !important;
}

.wd-header-search-form,
.wd-header-search-form-mobile,
.wd-search-full-screen {
    max-width: 500px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    overflow: visible !important; /* CRITICAL for absolute dropdown */
}

@media (max-width: 1024px) {
    .wd-header-search-form,
    .wd-header-search-form-mobile,
    .wd-search-full-screen {
        max-width: 100% !important;
        margin: 0 !important;
    }
}

.wd-header-search-form .searchform,
.wd-header-search-form-mobile .searchform {
    background-color: transparent !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important; /* Ensure children don't stick out */
    height: 45px !important;
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    position: relative !important;
}

/* Focus state: Yellow/Orange border on the children */
.wd-header-search-form .searchform:focus-within input[type="text"].s,
.wd-header-search-form-mobile .searchform:focus-within input[type="text"].s {
    border-color: #fdb913 !important;
}
.wd-header-search-form .searchform:focus-within .searchsubmit,
.wd-header-search-form-mobile .searchform:focus-within .searchsubmit {
    border-color: #fdb913 !important;
}

/* Input Field Styling */
.wd-header-search-form .searchform input[type="text"].s,
.wd-header-search-form-mobile .searchform input[type="text"].s {
    flex: 1 !important;
    border: 1px solid #cccccc !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    background: #ffffff !important;
    padding: 0 10px 0 38px !important; /* Reduced padding to match icon */
    font-size: 16px !important;
    color: #757575 !important; /* Updated text color */
    height: 100% !important;
    outline: none !important;
    margin: 0 !important;
}

/* Internal Search Icon (Magnifying glass on the left) */
.wd-header-search-form .searchform:before,
.wd-header-search-form-mobile .searchform:before {
    content: "\f002";
    font-family: "FontAwesome", "Font Awesome 5 Free", "woodmart-font" !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 12px !important; /* Reduced padding (was 15px) */
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #757575 !important; /* Updated icon color */
    font-size: 16px !important; /* Made slightly larger (was 14px) */
    pointer-events: none !important;
    z-index: 5 !important;
}

.wd-header-search-form .searchform input[type="text"].s::placeholder,
.wd-header-search-form-mobile .searchform input[type="text"].s::placeholder,
.wd-search-full-screen .searchform input[type="text"].s::placeholder,
.wd-search-full-screen-2 .searchform input[type="text"].s::placeholder {
    color: #757575 !important; /* Updated color */
    font-size: 14px !important; /* Updated size */
    font-weight: 500 !important; /* Made slightly thinner */
}

/* Search Button Styling - The blue "Zoek" block */
.wd-header-search-form .searchform .searchsubmit,
.wd-header-search-form-mobile .searchform .searchsubmit {
    background-color: #005eb8 !important; /* Printabout Blue */
    color: #ffffff !important;
    border: 1px solid #005eb8 !important; /* Border matches background to hide parent border */
    border-radius: 0 4px 4px 0 !important; /* Added radius right-top and right-bottom */
    width: auto !important;
    min-width: 65px !important;
    height: 45px !important;
    padding: 0 10px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    margin: 0 !important; /* No negative margins to avoid sticking out */
    position: relative !important;
    top: 0 !important;
    right: 0 !important;
}

.wd-header-search-form .searchform .searchsubmit:hover,
.wd-header-search-form-mobile .searchform .searchsubmit:hover {
    background-color: #004a91 !important;
}

/* Add "Zoek" text to the button instead of/alongside icon */
.wd-header-search-form .searchform .searchsubmit:after,
.wd-header-search-form-mobile .searchform .searchsubmit:after,
.wd-search-full-screen .searchform .searchsubmit:after {
    content: "Zoek" !important;
    font-size: 14px !important;
    color: #ffffff !important;
    visibility: visible !important;
    display: block !important;
    text-transform: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Hide original Woodmart search icon in the button */
.wd-header-search-form .searchform .searchsubmit:before,
.wd-header-search-form-mobile .searchform .searchsubmit:before {
    display: none !important;
}

/* AJAX Search Results adjustments */
.woodmart-ajax-search-results {
    border-radius: 4px !important;
    border: 1px solid #fdb913 !important;
    margin-top: 5px !important;
}

/* Sidebar Breedte */
body .cart-widget-side {
    width: 600px !important;
}

@media (max-width: 768px) {
    body .cart-widget-side {
        width: 85vw !important;
    }
}

.wd-heading {
    flex-direction: column !important;
    align-items: flex-start !important;
    height: auto !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    position: relative !important;
}

.wd-heading .close-side-widget {
    position: absolute !important;
    right: 20px !important;
    top: 20px !important;
}

.cart-widget-side .close-side-widget a {
    font-size: 0 !important;
}

.cart-widget-side .close-side-widget a:before {
    font-size: 20px !important;
    font-weight: 700 !important;
}

.woocommerce-mini-cart-item img {
    width: 120px !important;
    height: auto !important;
    max-width: none !important;
}

.woocommerce-mini-cart-item .quantity {
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
}

.woocommerce-mini-cart-item .quantity del,
.woocommerce-mini-cart-item .quantity del .amount {
    color: #a5a5a5 !important;
    font-weight: 400 !important;
}

/* Mini-cart (Side Cart) Item Customization */
.cart-widget-side .woocommerce-mini-cart-item .cart-info {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.cart-widget-side .woocommerce-mini-cart-item .cart-info .wd-entities-title {
    order: 1 !important;
    display: block !important;
    margin-bottom: 2px !important;
}

.cart-widget-side .woocommerce-mini-cart-item .cart-info .quantity {
    order: 5 !important;
    display: block !important;
    font-size: 15px !important;
    color: #000 !important;
    font-weight: 700 !important;
}

.cart-widget-side .woocommerce-mini-cart-item .cart-info .wd-quantity-input {
    order: 10 !important;
    margin-top: 0 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force specific Woodmart mini-cart quantity wrapper */
.cart-widget-side .wd-quantity-input {
    display: flex !important;
    margin-top: 2px !important;
}

/* 2px spacing between Service Logos and Klarna on product page */
div[class*="elementor-element-cw_logos"] {
    margin-bottom: 0 !important;
}

div[class*="elementor-element-cw_klarna"] {
    margin-top: 2px !important;
}

div[class*="elementor-element-cw_logos"] .elementor-widget-container,
div[class*="elementor-element-cw_klarna"] .elementor-widget-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.cw-info-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
}
@media (min-width: 640px) {
    .cw-info-container {
        border: 1px solid #e1e1e1;
        padding: 12px 15px;
        border-radius: 8px;
        background-color: #fff;
    }
}
.cw-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.cw-status-indicator {
    position: relative;
    display: flex;
    height: 10px;
    width: 10px;
}
.cw-status-dot {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: #00c951;
    display: inline-block;
}
.cw-status-ping {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: #00c951;
    opacity: 0.75;
    animation: cw-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes cw-ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}
.cw-status-text {
    font-size: 13px;
    color: #00c951;
    font-weight: 500;
}
.cw-shipping-text {
    font-size: 13px;
    color: #333;
}
.cw-shipping-icon {
    width: 20px;
    height: auto;
    display: flex;
    align-items: center;
    color: #000;
}

/* ==========================================================================
   PREMIUM SEARCH REDESIGN - REFINED VISIBILITY & FIXES
   ========================================================================== */

/* 1. Global Reset & Body Lock */
html.cw-search-active, 
html.cw-search-active body {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    overflow-x: hidden !important; /* Extra prevention for horizontal scroll */
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
}

/* Hide WP Admin Bar and Top Banner to prevent white space/jumping */
body.cw-search-active #wpadminbar,
body.cw-search-active .header-banner,
body.cw-search-active .whb-header-banner,
body.cw-search-active .topbar-wrapp {
    display: none !important;
}

/* 2. Global Overlay */
.cw-search-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: rgba(0,0,0,0.60) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 99990 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: auto !important; /* Ensure it's clickable */
    cursor: pointer !important;
}

.cw-search-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 3. Header Behavior - Keep visible but dimmed/blurred */
/* Use background: transparent on rows so the overlay behind header is visible */
body.cw-search-active .whb-header,
body.cw-search-active .whb-main-header,
body.cw-search-active .whb-row,
body.cw-search-active .whb-flex-row,
body.cw-search-active .whb-general-header,
body.cw-search-active .whb-sticky-header,
body.cw-search-active header {
    z-index: 1000000 !important;
    background: transparent !important; /* Allow overlay behind header to show through */
    position: relative !important;
    top: 0 !important; /* Force to top to prevent white space */
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Dim and blur ONLY the non-search parts of the header */
body.cw-search-active .whb-column:not(.whb-col-center),
body.cw-search-active #menu-main-mega-menu,
body.cw-search-active .whb-header-bottom,
body.cw-search-active .whb-header-top {
    opacity: 0 !important;
    visibility: hidden !important;
    filter: blur(8px) brightness(0.2) !important;
    pointer-events: none !important;
    transition: all 0.2s ease !important;
}

/* Ensure sticky state doesn't shift it */
body.cw-search-active .whb-sticky-header {
    position: fixed !important;
    top: 0 !important;
}

/* Ensure the center column (search) stays bright and above all */
body.cw-search-active .whb-col-center,
body.cw-search-active .whb-general-header {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure the center column (search) stays bright and above all */
body.cw-search-active .whb-col-center {
    z-index: 1000005 !important; /* HIGHER THAN HEADER PARENTS */
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
}

/* 4. Active Search Form - Luxury Look, No Jumping */
/* THIS IS THE CRITICAL FIX: The wrapper must have the high z-index */
body.cw-search-active .wd-header-search-form,
body.cw-search-active .wd-header-search-form-mobile,
body.cw-search-active .wd-search-full-screen,
.wd-header-search-form.cw-focus,
.wd-header-search-form-mobile.cw-focus,
.wd-search-full-screen.cw-focus {
    z-index: 1000010 !important; /* HIGHEST LEVEL */
    position: relative !important;
}


.wd-header-search-form .searchform,
.wd-header-search-form-mobile .searchform,
.wd-search-full-screen .searchform {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important; 
    position: relative !important;
    overflow: visible !important;
}

.wd-header-search-form.cw-focus .searchform,
.wd-header-search-form-mobile.cw-focus .searchform,
.wd-search-full-screen.cw-focus .searchform {
    background: #ffffff !important;
    z-index: 1000010 !important;
    position: relative !important;
    border-radius: 4px !important; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important; 
    transform: none !important;
    border: none !important; /* Removed redundant border that caused double line */
}

/* Ensure button follows the rounded corner */
/* Search Form Cleanup & Image Match */
.wd-clear-search {
    display: none !important; /* Hide Woodmart's default clear X icon */
}

.wd-header-search-form .searchform input[type="text"].s,
.wd-header-search-form-mobile .searchform input[type="text"].s,
.wd-search-full-screen .searchform input[type="text"].s {
    padding-left: 45px !important;
    background-color: #ffffff !important;
    border: 1px solid #cccccc !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    height: 45px !important;
}

/* Square bottom corners on focus to connect to dropdown */
.wd-header-search-form.cw-focus .searchform input[type="text"].s,
.wd-header-search-form-mobile.cw-focus .searchform input[type="text"].s {
    border-radius: 4px 0 0 4px !important;
}

.wd-header-search-form .searchform .searchsubmit,
.wd-header-search-form-mobile .searchform .searchsubmit,
.wd-search-full-screen .searchform .searchsubmit {
    background-color: #005eb8 !important;
    color: #ffffff !important;
    border: 1px solid #005eb8 !important;
    border-radius: 0 4px 4px 0 !important;
    height: 45px !important;
    min-width: 70px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

.wd-header-search-form.cw-focus .searchform .searchsubmit,
.wd-header-search-form-mobile.cw-focus .searchform .searchsubmit {
    border-radius: 0 4px 4px 0 !important;
}

/* Ensure Icon stays in place */
.wd-header-search-form .searchform:before,
.wd-header-search-form-mobile .searchform:before,
.wd-search-full-screen .searchform:before {
    content: "\f002";
    font-family: "FontAwesome", "Font Awesome 5 Free", "woodmart-font" !important;
    font-weight: 900 !important;
    position: absolute !important;
    left: 15px !important;
    top: 22px !important;
    transform: translateY(-50%) !important;
    color: #757575 !important;
    font-size: 16px !important;
    z-index: 5 !important;
    pointer-events: none !important;
}

/* Hide Woodmart's own results to prevent clashing with our premium dropdown */
.wd-dropdown-results, 
.wd-search-results,
.wd-view-all-results {
    display: none !important;
}

/* Ensure our premium dropdown is the only one visible */
.cw-search-dropdown {
    display: none !important;
    position: absolute !important;
    top: 100% !important; 
    left: -1px !important; /* Match border of parent */
    right: -1px !important; /* Match border of parent */
    width: calc(100% + 2px) !important;
    background: #ffffff !important;
    border: 1px solid #cccccc !important;
    border-top: none !important; 
    border-radius: 0 0 4px 4px !important; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    z-index: 2147483647 !important; 
    padding: 25px 0 !important;
    margin: 0 !important;
    opacity: 0;
    visibility: hidden;
    overflow: visible !important;
    transition: none !important; /* Instant match for now */
    pointer-events: none;
}

.cw-search-dropdown.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Content Details */
.cw-search-dropdown .cw-search-section {
    display: block !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.cw-search-dropdown .cw-search-section:last-child {
    margin-bottom: 0 !important;
}

.cw-search-dropdown .cw-search-title {
    display: block !important;
    font-size: 16px !important; 
    font-weight: 700 !important;
    color: #005eb8 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    margin-bottom: 12px !important;
    padding: 0 15px !important;
}

.cw-search-dropdown .cw-search-list {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cw-search-dropdown .cw-search-item {
    display: flex !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 15px !important; 
    margin: 0 !important;
    cursor: pointer !important;
    border: none !important;
    background: #ffffff !important;
}

.cw-search-dropdown .cw-search-item:hover {
    background-color: #f5f5f5 !important;
}

.cw-search-dropdown .cw-item-text {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #000000 !important;
    line-height: 1.4 !important;
}

.cw-item-remove {
    color: #bbb !important;
    font-size: 22px !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    position: relative !important;
}

.cw-item-remove:before {
    content: "×" !important;
    display: block !important;
}

.cw-item-remove:hover {
    background: #fff0f0 !important;
    color: #d32f2f !important;
}

/* Mobile specific fixes */
@media (max-width: 768px) {
    .cw-search-dropdown {
        width: 100% !important; /* EXACT match with search bar width */
        min-width: 0 !important; /* Remove desktop min-width */
        left: 0 !important;
        right: 0 !important;
        transform: translate3d(0, -10px, 0) !important;
        border-radius: 0 0 4px 4px !important; /* Desktop-matching radius */
        top: 100% !important;
        box-sizing: border-box !important;
    }
    .cw-search-dropdown.active {
        transform: translate3d(0, 0, 0) !important;
    }
    
    /* Ensure the mobile search form behaves like desktop and is centered */
    .whb-column.whb-column_mobile5 {
        position: relative !important;
        padding: 11px 0 !important; /* Centers the 38px search bar within a 60px vertical space */
        margin: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }
    
    .wd-header-search-form-mobile,
    .wd-header-search-form-mobile.wd-display-full-screen-2 {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important; 
        padding: 0 !important; 
        box-sizing: border-box !important;
    }
    
    .wd-header-search-form-mobile .searchform,
    .wd-search-full-screen .searchform {
        position: relative !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: stretch !important;
        border-radius: 4px !important; /* EXACT desktop radius */
        overflow: hidden !important; /* Clip the button to ensure no overflow */
        height: 38px !important; /* Original requested mobile height */
        border: none !important; 
        background: transparent !important;
    }
    
    .wd-header-search-form-mobile .searchform input[type="text"].s,
    .wd-search-full-screen .searchform input[type="text"].s {
        padding-left: 38px !important; 
        height: 100% !important;
        font-size: 16px !important;
        border: 1px solid #cccccc !important; 
        border-right: none !important;
        border-radius: 4px 0 0 4px !important;
        background: #ffffff !important;
        color: #757575 !important; 
        flex: 1 !important;
        min-width: 0 !important;
    }
    
    .wd-header-search-form-mobile .searchform .searchsubmit,
    .wd-search-full-screen .searchform .searchsubmit {
        position: relative !important;
        height: 100% !important; 
        margin: 0 !important; 
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 4px 4px 0 !important; 
        min-width: 65px !important;
        border: 1px solid #005eb8 !important; 
        background-color: #005eb8 !important;
        color: #ffffff !important;
    }
    
    /* ==========================================================================
       FULLSCREEN SEARCH REDESIGN (MOBILE)
       ========================================================================== */
    .wd-search-full-screen-2 {
        background-color: #ffffff !important;
        z-index: 2147483647 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .wd-search-full-screen-2 .container {
        padding-top: 20px !important;
        max-width: 100% !important;
        display: block !important;
        height: 100% !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    .wd-search-full-screen-2 .searchform {
        margin-bottom: 30px !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        display: flex !important;
        flex-wrap: wrap !important; 
        align-items: stretch !important;
        height: auto !important; 
        width: 100% !important;
        position: relative !important;
    }
    
    .wd-search-full-screen-2 .searchform:before {
        content: "\f002";
        font-family: "FontAwesome", "Font Awesome 5 Free", "woodmart-font" !important;
        font-weight: 900 !important;
        position: absolute !important;
        left: 12px !important;
        top: 19px !important; /* Half of 38px height */
        transform: translateY(-50%) !important;
        color: #757575 !important;
        font-size: 16px !important;
        pointer-events: none !important;
        z-index: 10 !important;
    }
    
    .wd-search-full-screen-2 .searchform input[type="text"].s {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        border: 1px solid #cccccc !important;
        border-right: none !important;
        border-radius: 4px 0 0 4px !important;
        background: #F4F4F5 !important;
        padding: 0 10px 0 38px !important;
        font-size: 14px !important;
        color: #757575 !important;
        font-weight: 500 !important;
        height: 38px !important;
        outline: none !important;
    }
    
    .wd-search-full-screen-2 .searchform .searchsubmit {
        background-color: #005eb8 !important;
        color: #ffffff !important;
        border: 1px solid #005eb8 !important;
        border-radius: 0 4px 4px 0 !important;
        width: auto !important;
        min-width: 65px !important; 
        height: 38px !important; 
        padding: 0 15px !important;
        font-family: inherit !important;
        font-size: 0 !important; /* Hide original text */
        font-weight: 700 !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        text-transform: none !important;
    }
    
    .wd-search-full-screen-2 .searchform .searchsubmit:after {
        content: "Zoek" !important;
        font-family: inherit !important;
        font-size: 14px !important;
        color: #ffffff !important;
        visibility: visible !important;
        display: block !important;
        text-transform: none !important;
        font-weight: 700 !important;
    }
    
    .wd-search-full-screen-2 .searchform .searchsubmit:before {
        display: none !important;
    }
    
    /* Dropdown inside Fullscreen Search */
    .wd-search-full-screen-2 .wd-clear-search {
        display: none !important;
    }

    /* COMPLETE MOBILE FULL-SCREEN FIX */
    .wd-search-full-screen,
    .wd-search-full-screen-2 {
        overflow: hidden !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .wd-search-full-screen .searchform,
    .wd-search-full-screen-2 .searchform,
    .wd-search-full-screen .container,
    .wd-search-full-screen-2 .container {
        overflow: visible !important;
        position: relative !important;
    }
    
    .wd-search-full-screen .cw-search-dropdown,
    .wd-search-full-screen-2 .cw-search-dropdown,
    .wd-search-full-screen .cw-search-dropdown.active,
    .wd-search-full-screen-2 .cw-search-dropdown.active {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        flex: 1 1 100% !important; /* Force dropdown to take a full row below input/button */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 20px !important;
        background: transparent !important;
        display: block !important;
        z-index: 999999999 !important;
        pointer-events: auto !important;
    }
    
    .wd-search-full-screen-2 .cw-search-title {
        padding: 0 15px !important;
        margin-bottom: 15px !important;
    }
    
    .wd-search-full-screen-2 .cw-search-item {
        padding: 6px 15px !important;
        border-bottom: none !important;
    }
    
    .wd-search-full-screen-2 .cw-search-item:hover {
        background-color: #f5f5f5 !important;
    }
    
    .wd-search-full-screen-2 .close-search,
    .wd-search-full-screen-2 .wd-close-search {
        top: 15px !important;
        right: 15px !important;
        color: #005eb8 !important;
        font-size: 24px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .wd-header-search-form-mobile .searchform input[type="text"].s::placeholder,
    .wd-search-full-screen .searchform input[type="text"].s::placeholder,
    .wd-search-full-screen-2 .searchform input[type="text"].s::placeholder {
        font-size: 14px !important;
        color: #757575 !important;
        font-weight: 500 !important;
    }
}
