/* Venofins Fish v4.29.38 | Single product-card visual system.
 * All listing contexts use nusa_bm_render_product_card, including Woo core
 * archives via woocommerce/content-product.php. Responsive/touch supported.
 */

/* Keep the previously working sticky header + navigation unchanged. */
@media(min-width:721px){
 body.nusa-bm-site .nusa-site-shell > .nusa-nav-desktop{
  display:block!important;position:sticky!important;
  top:calc(var(--wp-admin--admin-bar--height,0px) + var(--vf-sticky-header-height,86px))!important;
  z-index:95!important;background:#F1F4F0!important;
  border-bottom:1px solid #DCE6DE!important;
  box-shadow:0 5px 15px rgba(24,53,37,.07)!important;isolation:isolate;
 }
 body.nusa-bm-site .nusa-site-shell > .nusa-header{z-index:96!important}
 body.nusa-bm-site .nusa-site-shell .nusa-nav-desktop .nusa-nav-links{min-height:58px!important}
 body.nusa-bm-site .nusa-site-shell .vf-shop-category-sidebar{scroll-margin-top:calc(var(--vf-sticky-header-height,86px) + 76px)}
 body.nusa-bm-site .nusa-site-shell :is(#vf-yeni-gelenler,#vf-channa-yemleri,#vf-urunlerimizi-kesfet,#vf-cok-satanlar,#vf-yardim){scroll-margin-top:calc(var(--vf-sticky-header-height,86px) + 84px)!important}
}

/* Archive outer LI is only a grid cell; the real card lives inside it. */
body.nusa-bm-site .nusa-site-shell ul.products > li.product.vf-unified-loop-item,
body.nusa-bm-site .nusa-site-shell .vf-shop-product-results ul.products > li.product.vf-unified-loop-item {
 display:block!important;position:relative!important;width:auto!important;max-width:none!important;
 margin:0!important;padding:0!important;min-width:0!important;height:auto!important;
 background:transparent!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;overflow:visible!important;transform:none!important;
}
body.nusa-bm-site .nusa-site-shell li.vf-unified-loop-item > .nusa-product-card {
 width:100%!important;height:100%!important;margin:0!important;
}
/* Other WooCommerce loops (search, related, upsells): same grid cells. */
body.nusa-bm-site .nusa-site-shell ul.products:has(> li.vf-unified-loop-item){
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:12px!important;align-items:stretch!important;list-style:none!important;
 padding:0!important;margin:0 0 24px!important;
}
@media(max-width:1050px){
 body.nusa-bm-site .nusa-site-shell ul.products:has(> li.vf-unified-loop-item){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:720px){
 body.nusa-bm-site .nusa-site-shell ul.products:has(> li.vf-unified-loop-item){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
}
/* Real WooCommerce product-list grid remains compatible with sidebar, filters,
 * pagination and stock-first ordering. More columns reduces card footprint. */
/* Ensure WooCommerce native UL is a grid even after removing the obsolete
 * Blocksy card styles. Without display:grid the 4-column rule is inert. */
body.nusa-bm-site:is(.woocommerce-shop,.tax-product_cat) .nusa-site-shell .vf-shop-product-results ul.products{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 list-style:none!important;align-items:stretch!important;gap:12px!important;
 width:100%!important;padding:0!important;margin:0 0 24px!important;
}
@media(min-width:1320px){
 body.nusa-bm-site:is(.woocommerce-shop,.tax-product_cat) .nusa-site-shell .vf-shop-product-results ul.products{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;
 }
}
@media(min-width:1051px) and (max-width:1319px){
 body.nusa-bm-site:is(.woocommerce-shop,.tax-product_cat) .nusa-site-shell .vf-shop-product-results ul.products{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;
 }
}
@media(max-width:1050px){
 body.nusa-bm-site:is(.woocommerce-shop,.tax-product_cat) .nusa-site-shell .vf-shop-product-results ul.products{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;
 }
}

/* Product grid & card: one design language on home, Woo shop/category,
 * product_brand, automatic collections, search and related products. */
body.nusa-bm-site .nusa-site-shell .nusa-product-grid{gap:12px!important;align-items:stretch!important}
body.nusa-bm-site .nusa-site-shell .nusa-product-card{
 position:relative!important;display:flex!important;flex-direction:column!important;
 min-width:0!important;overflow:hidden!important;height:100%;
 border:1px solid #E1E8E2!important;border-radius:12px!important;
 background:#FFFFFF!important;box-shadow:0 2px 7px rgba(25,52,37,.05)!important;
 transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card:hover{
 transform:translateY(-2px)!important;box-shadow:0 9px 22px rgba(25,52,37,.09)!important;
 border-color:#C2D6CA!important;
}
/* Images: preserve entire package and its original photographed background. */
body.nusa-bm-site .nusa-site-shell .nusa-product-card > .nusa-product-photo{
 display:block!important;position:relative!important;width:100%!important;
 aspect-ratio:1 / .89!important;height:auto!important;max-height:none!important;
 background:#F7F9F7!important;line-height:0!important;padding:5px!important;
 margin:0!important;overflow:hidden!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card > .nusa-product-photo > img{
 display:block!important;width:100%!important;height:100%!important;
 object-fit:contain!important;object-position:center!important;
 background:transparent!important;border-radius:7px!important;
 margin:0!important;padding:0!important;mix-blend-mode:normal!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-info{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 flex:1!important;gap:4px!important;min-width:0!important;
 margin:0!important;padding:10px 12px 12px!important;
 text-align:left!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-title{
 display:-webkit-box!important;-webkit-box-orient:vertical!important;
 -webkit-line-clamp:2!important;overflow:hidden!important;
 min-height:34px!important;max-height:35px!important;
 margin:0!important;padding:0!important;
 color:#243A2E!important;font:600 12.4px/1.4 Manrope,Inter,Arial,sans-serif!important;
 letter-spacing:-.012em!important;text-align:left!important;text-decoration:none!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-title:hover{color:#317358!important}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-status{
 font:500 10.5px/1.3 Inter,Arial,sans-serif!important;color:#647B6A!important;
 min-height:0!important;margin:0!important;padding:0!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-price{
 display:block!important;width:100%!important;text-align:left!important;
 min-height:0!important;margin:2px 0 0!important;padding:0!important;
 font:700 15px/1.34 Manrope,Inter,Arial,sans-serif!important;
 letter-spacing:-.015em!important;color:#285740!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-price :is(.woocommerce-Price-amount,.amount,bdi){font:inherit!important;color:inherit!important}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-price del,
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-price del *{
 color:#9AA69D!important;font-weight:450!important;font-size:11.5px!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-price ins{text-decoration:none!important}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-badge:not(.vf-sold-out-badge){
 top:8px!important;left:8px!important;min-height:23px!important;
 padding:5px 9px!important;border-radius:6px!important;
 background:#FFF0E9!important;color:#AE401C!important;
 font:750 10px/1.2 Inter,Arial,sans-serif!important;box-shadow:none!important;
}
/* Single consistent quick-actions capsule: cart/variation or restock, compare,
 * wishlist. No hidden duplicate actions for WC archives. */
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick{
 display:flex!important;flex-direction:column!important;align-items:stretch!important;
 position:absolute!important;top:9px!important;right:9px!important;z-index:15!important;
 gap:0!important;padding:3px!important;
 border:1px solid #E1EAE3!important;border-radius:12px!important;
 background:rgba(255,255,255,.985)!important;
 box-shadow:0 6px 18px rgba(17,45,28,.14)!important;
 overflow:hidden!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick :is(a,button),
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick .nusa-quick-stock.vf-stock-watch{
 display:grid!important;place-items:center!important;
 flex:0 0 39px!important;width:39px!important;height:39px!important;
 min-width:39px!important;min-height:39px!important;max-width:39px!important;
 padding:0!important;margin:0!important;
 border:0!important;border-radius:8px!important;
 box-shadow:none!important;background:transparent!important;
 color:#2E4B3B!important;line-height:1!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick :is(a,button) + :is(a,button){
 border-top:1px solid #E9EFEB!important;border-radius:0!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick :is(a,button):hover{
 background:#EAF3EC!important;color:#215037!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick svg{width:19px!important;height:19px!important}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick [data-nusa-list].is-active{color:#C84955!important}
/* Keyboard-only navigation reveals hover controls, with focus ring. */
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick :is(a,button):focus-visible{outline:2px solid #346C52!important;outline-offset:-2px!important}

/* Desktop with pointer + hover: card text/price only; actions in capsule.
 * Touchscreen devices do NOT lose visible buying controls. */
@media(min-width:1024px) and (hover:hover) and (pointer:fine){
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick{
  opacity:0!important;
  transform:translateY(7px)!important;pointer-events:none!important;
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
 }
 body.nusa-bm-site .nusa-site-shell .nusa-product-card:is(:hover,:focus-within) .nusa-card-quick{
  opacity:1!important;transform:translateY(0)!important;
  pointer-events:auto!important;
 }
}
/* Touch + smaller screens always show the image-side quick-action rail. */
@media(max-width:1023px),(hover:none),(pointer:coarse){
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick{
  opacity:1!important;visibility:visible!important;transform:none!important;
  pointer-events:auto!important;
 }

}
/* Desktop sizes: use 5 columns on wide full-page sections but keep Woo sidebar 4. */
@media(max-width:720px){
 body.nusa-bm-site .nusa-site-shell .nusa-product-grid{gap:9px!important}
 body.nusa-bm-site .nusa-site-shell .nusa-product-card{border-radius:10px!important}
 body.nusa-bm-site .nusa-site-shell .nusa-product-card > .nusa-product-photo{aspect-ratio:1 / .96!important;padding:4px!important}
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-info{padding:8px 9px 10px!important;gap:4px!important}
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-title{font-size:11.4px!important;min-height:32px!important;max-height:34px!important}
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-price{font-size:13.8px!important}
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick{top:6px!important;right:6px!important;padding:2px!important;border-radius:9px!important}
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick :is(a,button),
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick .nusa-quick-stock.vf-stock-watch{
  width:31px!important;height:31px!important;min-width:31px!important;min-height:31px!important;max-width:31px!important;flex-basis:31px!important;
 }
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick svg{width:16px!important;height:16px!important}
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-status{font-size:9.5px!important}
}
@media(prefers-reduced-motion:reduce){
 body.nusa-bm-site .nusa-site-shell .nusa-product-card,
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick{transition:none!important;transform:none!important}
}


/* v4.29.52 — unified price / inventory line for EVERY product-card context.
 * Long variable-price ranges previously collided with the unshrinkable stock
 * badge because this row forced nowrap and squeezed the price to zero.
 * Let the stock badge fall to the next line ONLY if there is insufficient
 * room; never truncate prices or let the badge overlap the price. No extra
 * min-height or card spacers: preserve the compact catalogue rhythm. */
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-meta {
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 flex-wrap:wrap!important;column-gap:6px!important;row-gap:3px!important;
 min-width:0!important;max-width:100%!important;
 margin:3px 0 0!important;padding:0!important;text-align:left!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-meta .nusa-product-price {
 display:block!important;position:static!important;
 flex:0 0 auto!important;width:max-content!important;max-width:100%!important;min-width:0!important;
 margin:0!important;padding:0!important;min-height:0!important;
 font:700 15px/1.25 Manrope,Inter,Arial,sans-serif!important;
 white-space:normal!important;overflow-wrap:anywhere!important;
}
/* A whole monetary amount stays intact where possible; a range can break
 * at its separator when its natural width exceeds the card. */
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-meta .nusa-product-price :is(.woocommerce-Price-amount,.amount,bdi) {
 white-space:nowrap!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-meta .nusa-product-status {
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 position:static!important;top:auto!important;left:auto!important;vertical-align:middle!important;
 flex:0 0 auto!important;width:auto!important;max-width:100%!important;
 min-height:18px!important;min-width:0!important;
 margin:0!important;padding:2px 6px!important;white-space:nowrap!important;
 border:1px solid #D4E9D7!important;border-radius:5px!important;
 background:#EAF6ED!important;color:#2C754B!important;
 font:650 10px/1.2 Inter,Arial,sans-serif!important;letter-spacing:0!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-meta .nusa-product-status.nusa-out-stock {
 background:#FFF2ED!important;border-color:#F2D6C8!important;color:#AA5239!important;
}
@media(max-width:720px) {
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-meta .nusa-product-price {font-size:13.8px!important}
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-product-meta .nusa-product-status {font-size:9px!important;min-height:17px!important;padding:2px 4px!important}
}

/* v4.29.43 — live WooCommerce AJAX cart feedback; real clickable cart link.
 * JS normalizes Woo's injected text into a literal SVG confirmation icon.
 * Selector is intentionally scoped to ALL unified listing cards and works
 * for both Woo loop and custom home/brand/collection cards. */
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick > a.vf-cart-confirmation,
body.nusa-bm-site .nusa-site-shell ul.products li.vf-unified-loop-item .nusa-card-quick > a.vf-cart-confirmation {
 display:grid!important;place-items:center!important;
 width:39px!important;height:39px!important;
 min-width:39px!important;min-height:39px!important;
 max-width:39px!important;max-height:39px!important;
 flex:0 0 39px!important;overflow:hidden!important;
 padding:0!important;margin:0!important;
 border:0!important;border-top:1px solid #e6eee7!important;
 border-radius:0!important;background:#fff!important;
 box-shadow:none!important;text-decoration:none!important;
 color:#287348!important;white-space:nowrap!important;
 font-size:0!important;line-height:0!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick > a.vf-cart-confirmation:hover {
 background:#ecf7ef!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick > a.vf-cart-confirmation .vf-confirm-icon {
 display:grid!important;place-items:center!important;
 width:26px!important;height:26px!important;flex:0 0 26px!important;
 background:linear-gradient(145deg,#64d684,#218a4b)!important;
 border:1px solid #22954e!important;border-radius:50%!important;
 box-shadow:0 4px 9px rgba(31,125,65,.3),inset 0 1px 1px rgba(255,255,255,.35)!important;
}
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick > a.vf-cart-confirmation .vf-confirm-icon svg {
 display:block!important;width:17px!important;height:17px!important;
 stroke:#fff!important;stroke-width:2.7!important;fill:none!important;
}
/* Defensive fallback, even before JS initializes: Woo's text is never visible. */
body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick > a.added_to_cart.wc-forward:not(.vf-cart-confirmation){
 max-width:39px!important;width:39px!important;min-width:39px!important;
 max-height:39px!important;height:39px!important;min-height:39px!important;
 flex:0 0 39px!important;overflow:hidden!important;white-space:nowrap!important;
 text-indent:-9999px!important;color:transparent!important;font-size:0!important;
}
@media(max-width:720px){
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick > a.vf-cart-confirmation{
  width:31px!important;min-width:31px!important;max-width:31px!important;
  height:31px!important;min-height:31px!important;max-height:31px!important;
  flex-basis:31px!important;
 }
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick > a.vf-cart-confirmation .vf-confirm-icon{
  width:23px!important;height:23px!important;flex-basis:23px!important;
 }
 body.nusa-bm-site .nusa-site-shell .nusa-product-card .nusa-card-quick > a.vf-cart-confirmation .vf-confirm-icon svg{
  width:15px!important;height:15px!important;
 }
}
/* Keep v4.29.43 confirmation actions truly compact on touch-sized screens. */
@media(max-width:720px){
 body.nusa-bm-site .nusa-site-shell ul.products li.vf-unified-loop-item .nusa-card-quick > a.vf-cart-confirmation {
  width:31px!important;min-width:31px!important;max-width:31px!important;
  height:31px!important;min-height:31px!important;max-height:31px!important;
  flex:0 0 31px!important;
 }
}
