/* v4.29.10 — universal WooCommerce out-of-stock treatment, refined overlay look. */
body.nusa-bm-site .nusa-site-shell .nusa-product-card.vf-sold-out .nusa-product-photo,
body.nusa-bm-site .nusa-site-shell ul.products > li.product.outofstock :is(.ct-image-container,.woocommerce-LoopProduct-link,.woocommerce-loop-product__link,.ct-woo-card-image) {
  position:relative!important;overflow:hidden!important;isolation:isolate;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card.vf-sold-out .nusa-product-photo img,
body.nusa-bm-site .nusa-site-shell ul.products > li.product.outofstock :is(.ct-image-container,.woocommerce-LoopProduct-link,.woocommerce-loop-product__link,.ct-woo-card-image) img,
body.nusa-bm-site .nusa-site-shell ul.products > li.product.outofstock img.wp-post-image {
  filter:blur(1px) saturate(.88) brightness(.94)!important;
  opacity:.96!important;transform:scale(1.012)!important;
  transition:filter .2s ease, opacity .2s ease;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card.vf-sold-out .nusa-product-photo::after,
body.nusa-bm-site .nusa-site-shell ul.products > li.product.outofstock :is(.ct-image-container,.woocommerce-LoopProduct-link,.woocommerce-loop-product__link,.ct-woo-card-image)::after {
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:rgba(255,255,255,.32)!important;
}
/* Theme badge and native-loop badge: white rectangle, black text. */
body.nusa-bm-site .nusa-site-shell .nusa-product-card .vf-sold-out-badge,
body.nusa-bm-site .nusa-site-shell ul.products li.product.outofstock .vf-sold-out-badge,
body.nusa-bm-site .nusa-site-shell ul.products li.product.outofstock :is(.out-of-stock-badge,.out-of-stock-label,.ct-out-of-stock-badge,.ct-out-of-stock-label,.stock-badge),
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-badge.vf-sold-out-badge {
  position:absolute!important;top:9px!important;left:9px!important;right:auto!important;
  z-index:7!important;display:inline-flex!important;align-items:center!important;
  justify-content:center!important;min-height:31px!important;padding:5px 12px!important;
  width:max-content!important;max-width:calc(100% - 18px)!important;
  border-radius:5px!important;border:1px solid #e5e7eb!important;
  background:#ffffff!important;background-image:none!important;
  color:#111111!important;font:800 12px/1.15 Inter,Arial,sans-serif!important;
  text-transform:none!important;text-shadow:none!important;letter-spacing:0!important;box-shadow:0 2px 8px rgba(0,0,0,.08)!important;
  opacity:1!important;filter:none!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .vf-sold-out-badge {pointer-events:none}
body.nusa-bm-site .nusa-site-shell ul.products li.product.outofstock {position:relative!important}
/* If Blocksy already produced a badge, hide it and keep our consistent label. */
body.nusa-bm-site .nusa-site-shell ul.products li.product.outofstock:has(.vf-sold-out-badge) :is(.out-of-stock-badge,.out-of-stock-label,.ct-out-of-stock-badge,.ct-out-of-stock-label,.stock-badge):not(.vf-sold-out-badge) {display:none!important}
body.nusa-bm-site .nusa-site-shell .nusa-product-card.vf-sold-out .nusa-product-status.nusa-out-stock{display:none!important}
body.nusa-bm-site .nusa-site-shell .vf-stock-watch,
body.nusa-bm-site .woocommerce ul.products li.product .vf-stock-watch,
body.nusa-bm-site .nusa-product-info button.vf-stock-watch {
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:43px!important;padding:9px!important;
  background:#346c52!important;color:white!important;border:1px solid #346c52!important;
  border-radius:10px!important;line-height:1.25!important;font-size:12px!important;font-weight:750!important;
  text-align:center!important;white-space:normal!important;box-shadow:none!important;
  cursor:pointer!important;
}
body.nusa-bm-site .nusa-site-shell .vf-stock-watch:hover {background:#254f3b!important;color:#fff!important}
body.nusa-bm-site .nusa-site-shell .nusa-product-cart-cta.vf-stock-watch {margin-top:auto!important}
body.nusa-bm-site .nusa-site-shell .vf-single-stock-watch {margin:10px 0 18px}
/* Don't blur titles, prices or purchase controls; only product photography. */
body.nusa-bm-site .nusa-site-shell .vf-stock-modal,
body.nusa-bm-site .vf-stock-modal {
  border:1px solid #e4eae5;border-radius:16px;width:min(92vw,440px);padding:23px;
  max-height:calc(100dvh - 40px);overflow-y:auto;
  box-shadow:0 20px 80px #0005;background:#fff;color:#1d2b23;
}
body.nusa-bm-site .vf-stock-modal::backdrop {background:rgba(8,20,14,.66)}
body.nusa-bm-site .vf-stock-modal .vf-stock-form {display:grid;gap:11px;position:relative;margin:0}
body.nusa-bm-site .vf-stock-modal h2{font-size:22px;line-height:1.25;margin:0 28px 2px 0;color:#1c3429}
body.nusa-bm-site .vf-stock-modal .vf-stock-product-name{font-size:13px;color:#4f5d52;margin:0 0 5px}
body.nusa-bm-site .vf-stock-modal label{font-size:13px;font-weight:700;color:#344a3e}
body.nusa-bm-site .vf-stock-modal input[type=email]{display:block;width:100%;min-height:44px;margin:0;padding:10px 12px;border:1px solid #b7c9bc;border-radius:9px;color:#17251b;background:#fff;font-size:15px}
body.nusa-bm-site .vf-stock-modal .vf-stock-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;font-weight:500;line-height:1.45}
body.nusa-bm-site .vf-stock-modal .vf-stock-consent input{flex:none;margin:3px 0;width:17px;height:17px;accent-color:#346c52}
body.nusa-bm-site .vf-stock-modal .vf-stock-honeypot{position:absolute!important;left:-9999px!important;opacity:0!important;width:1px!important;height:1px!important}
body.nusa-bm-site .vf-stock-modal .vf-stock-close{position:absolute;right:0;top:-4px;min-width:36px;min-height:36px;border:0;background:#f0f5f1;color:#273a2c;border-radius:100%;font-size:24px;line-height:1}
body.nusa-bm-site .vf-stock-modal .vf-stock-submit{min-height:45px;padding:10px;background:#346c52;color:white;border:0;border-radius:9px;font-size:14px;font-weight:800}
body.nusa-bm-site .vf-stock-modal .vf-stock-submit:disabled{opacity:.6;cursor:progress}
body.nusa-bm-site .vf-stock-modal .vf-stock-form-status:not(:empty){font-size:13px;line-height:1.45;padding:9px;border-radius:8px;background:#f2f6f2}
body.nusa-bm-site .vf-stock-modal .vf-stock-form-status.is-error{color:#9a2323;background:#fff2f2}
body.nusa-bm-site .vf-stock-modal .vf-stock-fineprint{margin:0;font-size:11px;line-height:1.5;color:#66766b}
body.nusa-bm-site .vf-stock-confirmation-message{position:fixed;top:14px;left:50%;transform:translateX(-50%);width:min(90vw,500px);z-index:99999;background:#e4f1e9;color:#183f2b;border:1px solid #a5c9af;padding:15px 20px;border-radius:10px;box-shadow:0 10px 35px #0002}
@media(max-width:600px){body.nusa-bm-site .vf-stock-modal{padding:18px}body.nusa-bm-site .nusa-site-shell ul.products li.product .vf-stock-watch {font-size:11px!important}}
