/* NearBuyStore Suite v2.8.7 — original WordPress Media Library brand banners.
   Source of truth is exactly the two user-provided uploads URLs in the PHP templates.
   No generated/cropped/processed copies are embedded, and the complete banners
   are shown without distortion or clipping on light and dark themes. */
.nbs-product-brand,
.nbs-feature-product__brand,
.nbs-platform-product-brand,
.nbs-software-product-logo {
  display:block;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  height:auto;
  min-height:0;
  padding:0;
  margin:0;
  background:#fff;
  border:1px solid rgba(14,39,77,.10);
  border-radius:12px;
  box-shadow:none;
  overflow:hidden;
  flex:0 1 auto;
}
.nbs-product-brand img,
.nbs-feature-product__brand img,
.nbs-platform-product-brand img,
.nbs-software-product-logo img,
.jv-hero-copy .nbs-product-brand--arin img {
  display:block;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  height:auto;
  max-height:none;
  min-height:0;
  object-fit:contain;
  object-position:center;
  transform:none;
  filter:none;
  border:0;
  background:transparent;
}
.nbs-product-brand--hero { width:min(100%,540px); margin:0 0 18px; }
.nbs-feature-product__brand,
.nbs-feature-product__brand--arin,
.nbs-feature-product__brand--commercepilot { width:min(100%,395px); margin:0 0 16px; }
.nbs-software-product-logo,
.nbs-software-product-logo--arin,
.nbs-software-product-logo--commercepilot { width:min(100%,230px); }
.nbs-platform-product-brand { width:min(100%,265px); margin:0 0 12px; }
/* The Media Library originals have white backgrounds; preserve that white
   canvas in dark mode so the navy lettering remains legible. */
:root[data-theme="dark"] .nbs-product-brand,
:root[data-theme="dark"] .nbs-feature-product__brand,
:root[data-theme="dark"] .nbs-platform-product-brand,
:root[data-theme="dark"] .nbs-software-product-logo { background:#fff; border-color:rgba(255,255,255,.14); }
@media(max-width:900px) { .nbs-product-brand--hero { width:min(100%,490px); } }
@media(max-width:600px) {
  .nbs-product-brand--hero { width:min(100%,420px); margin-bottom:16px; }
  .nbs-feature-product__brand,
  .nbs-feature-product__brand--arin,
  .nbs-feature-product__brand--commercepilot { width:min(100%,340px); }
  .nbs-software-product-logo,
  .nbs-software-product-logo--arin,
  .nbs-software-product-logo--commercepilot { width:min(100%,205px); }
}


/* v2.9.2 — ARIN minimal SVG branding only. */
.nbs-product-brand--arin,
.nbs-feature-product__brand--arin,
.nbs-software-product-logo--arin,
.nbs-platform-product-brand.is-arin{background:transparent;border:0;box-shadow:none;overflow:visible;}
.nbs-product-brand--arin img,
.nbs-feature-product__brand--arin img,
.nbs-software-product-logo--arin img,
.nbs-platform-product-brand.is-arin img{background:transparent;}
.jv-hero-copy .nbs-product-brand--arin{width:min(100%,335px);margin:0 0 16px;}
.jv-home .nbs-product-brand--arin{width:min(100%,300px);margin:0 0 14px;}
.nbs-feature-product__brand--arin{width:min(100%,250px);margin:0 0 12px;}
.nbs-software-product-logo--arin{width:min(100%,150px);}
.nbs-platform-product-brand.is-arin{width:min(100%,220px);margin:0 0 10px;}
@media(max-width:600px){
  .jv-hero-copy .nbs-product-brand--arin{width:min(100%,270px);margin-bottom:14px;}
  .jv-home .nbs-product-brand--arin{width:min(100%,245px);}
  .nbs-feature-product__brand--arin{width:min(100%,220px);}
  .nbs-software-product-logo--arin{width:min(100%,125px);}
}
