/* Only storefront components observed on vb.ee. No global colour overrides. */
body.woocommerce .wc-block-product .ext-card,
body.woocommerce .wc-block-product .ext-card-body {
    display:flex!important; flex-direction:column!important; align-items:stretch!important;
}
body.woocommerce .wc-block-product .ext-card {height:100%;box-sizing:border-box}
/* The extended product block has separate body and footer sections.
   Do not let the footer consume an arbitrary fraction of card height. */
body.woocommerce .wc-block-product .ext-card > .wp-block-woocommerce-product-image {flex:0 0 auto!important}
body.woocommerce .wc-block-product .ext-card > .ext-card-body {flex:1 1 auto!important;min-width:0;justify-content:space-between!important}
body.woocommerce .wc-block-product .ext-card > .ext-card-footer {flex:0 0 auto!important;margin-top:0!important;min-width:0}
body.woocommerce .wc-block-product .ext-card-body .wp-block-woocommerce-product-price {margin-top:auto!important}
body.woocommerce .wc-block-product .ext-card-body .wp-block-post-title {min-height:0;overflow-wrap:anywhere}
body.woocommerce .wc-block-product .ext-card-body .wp-block-woocommerce-product-button {margin-top:12px!important}
/* WooCommerce may render this link in the footer rather than the body. */
body.woocommerce .wc-block-product a.added_to_cart,
body.woocommerce .wc-block-product a.wc-forward,
body.woocommerce .wc-block-product a.wc-block-components-product-button__view-cart,
body.woocommerce .wc-block-product a.vb-finish-cart-link {
    color:#3d3544!important; font-weight:700!important; text-decoration:underline!important;
    text-underline-offset:3px; display:inline-block; padding:6px 0!important; line-height:1.45!important;
}
body.woocommerce .woocommerce-ordering select.orderby {
    min-height:44px!important;height:auto!important;line-height:1.45!important;box-sizing:border-box!important;
    padding:10px 30px 10px 13px!important;background-color:#f4f1eb!important;color:#383544!important;
    border-radius:9px!important;max-width:100%;
}
body.search-results .vb-finish-search-panel {background:#f4f1eb!important;color:#383544!important;padding:17px!important;border-radius:14px;box-sizing:border-box;min-width:0}
body.search-results .vb-finish-search-panel .wp-block-heading {color:#80602e!important;font-family:inherit!important;font-size:13px!important;font-weight:700!important;letter-spacing:.04em}
body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay-content{color:#383544!important}
body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay-content label,
body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay-content span{color:#383544!important}
/* Explicit background + foreground prevent inherited dark theme fields.
   Keep the native filter's behaviour and the checked/unchecked distinction. */
:is(body.woocommerce,body.search-results) .wp-block-woocommerce-product-filters .wp-block-woocommerce-product-filter-price input:is([type=text],[type=number]){
    background-color:#fff!important;color:#383544!important;border:1px solid #908a80!important;
    box-sizing:border-box!important;min-height:36px;max-width:100%;
}
:is(body.woocommerce,body.search-results) .wp-block-woocommerce-product-filters .wp-block-woocommerce-product-filter-price input::placeholder{color:#77716a!important;opacity:1}
:is(body.woocommerce,body.search-results) .wp-block-woocommerce-product-filters input[type=checkbox]{
    accent-color:#655537!important;border-color:#908a80!important;
}
:is(body.woocommerce,body.search-results) .wp-block-woocommerce-product-filters input[type=checkbox]:not(:checked):not(:indeterminate){
    background-color:#fff!important;
}
:is(body.woocommerce,body.search-results) .wp-block-woocommerce-product-filters input:focus-visible{
    outline:2px solid #957441!important;outline-offset:2px!important;
}
body.search-results .vb-finish-search-panel .vb-catalog-nav{background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;margin:0 0 16px!important}
body.search-results .vb-finish-search-panel .vb-brand-links{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
body.search-results .vb-finish-search-panel .vb-brand-links a{display:block!important;box-sizing:border-box;white-space:normal!important}
.vb-finish-quantity{display:inline-flex!important;align-items:center!important;gap:0;white-space:nowrap;max-width:100%;flex-shrink:0}
.vb-finish-quantity .qty{width:48px!important;min-width:0!important;text-align:center!important;border-radius:0!important;margin:0!important;appearance:textfield!important;-moz-appearance:textfield}
.vb-finish-quantity .qty::-webkit-inner-spin-button,.vb-finish-quantity .qty::-webkit-outer-spin-button{appearance:none;-webkit-appearance:none;margin:0}
.vb-finish-quantity .vb-finish-step{width:38px;min-width:38px;height:48px;display:inline-flex;align-items:center;justify-content:center;padding:0!important;background:#f4f1eb!important;color:#383544!important;border:1px solid #d5cfc4!important;font-size:21px;font-weight:600;cursor:pointer;line-height:1}
.vb-finish-quantity .vb-finish-step:first-child{border-radius:8px 0 0 8px}
.vb-finish-quantity .vb-finish-step:last-child{border-radius:0 8px 8px 0}
.vb-finish-quantity .vb-finish-step:disabled{opacity:.42;cursor:default}
.vb-finish-quantity .vb-finish-step:focus-visible{outline:2px solid #957441;outline-offset:2px;z-index:2}
body.woocommerce-checkout .woocommerce-privacy-policy-text a{color:#775b2e!important;text-decoration:underline!important;font-weight:600}
footer .vb-finish-legal{display:block!important;margin-top:8px!important;color:inherit!important;text-decoration:underline!important}
/* Keep WooCommerce's three named grid areas, but avoid the intrinsic
   default widths of the two text inputs stretching the filter sidebar. */
body.search-results .wp-block-woocommerce-product-filter-price,
body.search-results .wc-block-product-filter-price-slider,
body.search-results .wc-block-product-filter-price-slider__content,
body.search-results .wc-block-product-filter-price-slider__range,
body.search-results .wc-block-product-filter-price-slider__left,
body.search-results .wc-block-product-filter-price-slider__right {
    min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
body.search-results .wc-block-product-filter-price-slider__content{
    width:100%!important;grid-template-columns:minmax(0,1fr) 0 minmax(0,1fr)!important;column-gap:5px!important;
}
body.search-results .wc-block-product-filter-price-slider__content input:is([type=text],[type=number]){
    width:100%!important;min-width:0!important;
}
@media(min-width:900px){
 /* The desktop overlay is an in-flow flex child, not a floating modal.
    Clamp each measured 562px wrapper to the available 236px sidebar. */
 body.search-results .vb-finish-search-panel .wp-block-woocommerce-product-filters,
 body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay,
 body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay-wrapper,
 body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay-dialog,
 body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay-content {
     width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
 }
 body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay-content>* {
     min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
 }
 body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay-content label,
 body.search-results .vb-finish-search-panel .wc-block-product-filters__overlay-content span{overflow-wrap:anywhere}
 body.search-results .wp-block-columns:has(.vb-finish-search-panel){gap:22px!important}
 body.search-results .wp-block-columns:has(.vb-finish-search-panel)>.vb-finish-search-panel{flex-basis:270px!important;flex-grow:0!important}
 body.search-results .wp-block-columns:has(.vb-finish-search-panel)>.wp-block-column:not(.vb-finish-search-panel){flex:1 1 0!important;min-width:0}
 body.search-results ul.wc-block-product-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
}
@media(max-width:899px){
 body.search-results .vb-finish-search-panel {background:transparent!important;padding:0!important}
 body.search-results ul.wc-block-product-template{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
}
@media(max-width:480px){
 body.single-product form.cart:not(.variations_form) .single_add_to_cart_button{min-width:0;flex:1 1 140px}
 body.single-product form.cart:not(.variations_form){flex-wrap:wrap!important}
 body.woocommerce .wc-block-product .ext-card-body{padding:10px!important}
 body.woocommerce .wc-block-product .ext-card-body .wp-block-post-title{font-size:13px!important}
}

/* Homepage: matching neutral dark-gold / off-white visual system. */
body.home .vb-finish-home-products{
    max-width:1108px!important;margin:38px auto 50px!important;padding:0!important;
    box-sizing:border-box;min-width:0;color:#f4f1eb;
}
.vb-finish-home-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:18px}
.vb-finish-home-head h2{color:#f4f1eb!important;font-family:inherit;font-weight:600;margin:0!important;font-size:clamp(23px,3vw,34px)!important;line-height:1.2}
.vb-finish-home-head .vb-finish-eyebrow{font-size:11px!important;letter-spacing:.18em;color:#d4be91!important;margin:0 0 7px!important;font-weight:700}
.vb-finish-home-all{color:#f4f1eb!important;text-decoration:underline!important;text-underline-offset:4px;font-size:14px!important;font-weight:600}
.vb-finish-home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.vb-finish-home-card{display:flex;flex-direction:column;min-width:0;border-radius:12px;overflow:hidden;background:#f4f1eb;color:#383544;box-shadow:0 2px 6px #0001}
.vb-finish-home-image{display:block;aspect-ratio:1/1;min-width:0;overflow:hidden;background:#fff}
.vb-finish-home-image img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important}
.vb-finish-home-body{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;padding:17px 15px;gap:12px}
.vb-finish-home-body h3{margin:0!important;font-family:inherit!important;font-size:14px!important;line-height:1.45!important;font-weight:600!important;overflow-wrap:anywhere}
.vb-finish-home-body h3 a{color:#383544!important;text-decoration:none!important}
.vb-finish-home-price{font-size:17px!important;color:#383544!important;font-weight:700;margin-top:auto}
.vb-finish-home-price *{color:inherit!important}
.vb-finish-home-link{background:#383544!important;color:#fff!important;padding:11px 8px;text-align:center;border-radius:7px;line-height:1.4;font-size:13px;font-weight:600;text-decoration:none!important}
.vb-finish-home-link:hover{background:#514958!important}
@media(max-width:850px){.vb-finish-home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vb-finish-home-head{align-items:flex-start;flex-direction:column}.vb-finish-home-body{padding:12px}.vb-finish-home-products{margin-top:25px!important}}
@media(max-width:350px){.vb-finish-home-grid{grid-template-columns:1fr}}
footer .vb-finish-withdraw-button{
    display:inline-block!important;background:#f4f1eb!important;color:#383544!important;
    padding:9px 13px!important;border-radius:7px;border:1px solid #c7b58d;
    font-weight:700;text-decoration:none!important;line-height:1.4;
}
.vb-finish-withdraw{background:#f4f1eb;color:#383544!important;padding:clamp(16px,4vw,32px);border-radius:14px;max-width:680px;margin:26px auto!important;box-sizing:border-box}
.vb-finish-withdraw h2,.vb-finish-withdraw p,.vb-finish-withdraw label{color:#383544!important}
.vb-finish-withdraw h2{margin-top:0!important}
.vb-finish-withdraw label{display:block;font-weight:600;line-height:1.4;margin:0 0 16px}
.vb-finish-withdraw input:not([type=hidden]),.vb-finish-withdraw textarea{
    display:block!important;width:100%!important;box-sizing:border-box!important;min-width:0!important;
    color:#383544!important;background:#fff!important;border:1px solid #a9a39a!important;border-radius:8px;
    padding:11px!important;margin:7px 0 0!important;font:inherit!important;
}
.vb-finish-withdraw textarea{resize:vertical}
.vb-finish-withdraw a{color:#624d2e!important;text-decoration:underline!important}
.vb-finish-withdraw button{background:#383544!important;color:#fff!important;padding:13px 20px!important;border-radius:8px!important;font-weight:700;border:0!important;cursor:pointer}
.vb-finish-withdraw :is(input,textarea,button,a):focus-visible{outline:2px solid #99733b!important;outline-offset:3px}
.vb-finish-honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;pointer-events:none}
.vb-finish-form-notice{padding:14px!important;border:1px solid #a99a7c;border-radius:9px;background:#fff!important;color:#383544!important}
