/* NextBuy scoped catalogue shopping UX v1.3.4, isolated from standard archives. */
body.nbcs-shopping-enabled .nbcs-shopping-layout{display:grid;grid-template-columns:minmax(195px,232px) minmax(0,1fr);gap:22px;align-items:start}
body.nbcs-shopping-enabled .nbcs-shopping-results{min-width:0;transition:opacity .15s ease}
body.nbcs-shopping-enabled .nbcs-shopping-results[aria-busy="true"]{opacity:.58;pointer-events:none}
body.nbcs-shopping-enabled .nbcs-shopping-filter{position:sticky;top:96px;min-width:0;padding:17px 16px;background:#fff;border:1px solid #e7eaf0;border-radius:17px;box-shadow:0 2px 14px rgba(18,28,40,.035)}
.nbcs-shopping-filter__heading{display:flex;align-items:center;justify-content:space-between;gap:9px;margin:0 0 15px;font-size:16px;color:#181818}
.nbcs-shopping-form{display:flex;flex-direction:column;gap:8px}
.nbcs-shopping-form>label{font-size:12px;font-weight:650;color:#424952;margin-top:7px}
.nbcs-shopping-form select,.nbcs-shopping-price input{display:block;width:100%;max-width:100%;min-width:0;min-height:40px;padding:8px 9px;border:1px solid #dfe2e7;border-radius:9px;background:#fff;color:#151515;font-size:13px}
.nbcs-shopping-form select:focus-visible,.nbcs-shopping-price input:focus-visible{outline:2px solid #171717;outline-offset:2px}
.nbcs-shopping-price{margin:7px 0 0;padding:0;border:0}
.nbcs-shopping-price legend{margin:0 0 9px;font-size:12px;font-weight:650;color:#424952}
.nbcs-shopping-price__fields{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.nbcs-shopping-price__fields label{font-size:11px;color:#676d78}
.nbcs-shopping-price input{margin-top:5px;padding:8px 7px}
.nbcs-shopping-filter__actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:14px}
.nbcs-shopping-apply,.nbcs-shopping-clear{min-height:42px;padding:9px 11px;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer}
.nbcs-shopping-apply{color:#fff;background:#080808;border:1px solid #080808}
.nbcs-shopping-clear{background:#f6f7f8;color:#333;border:1px solid #e2e4e8}
.nbcs-shopping-filter__hint{margin:8px 0 0;font-size:11px;line-height:1.5;color:#7a8089}
.nbcs-shopping-filter__close{display:none}
body.nbcs-mixed-hub .nbcs-category-hub__count{font-size:11px;color:#747c87;margin-left:auto;white-space:nowrap}
body.nbcs-mixed-hub .nbcs-category-hub__browse{margin-left:12px;white-space:nowrap}
body.nbcs-mixed-hub .nbcs-category-hub__heading{flex-wrap:wrap}
body.nbcs-mixed-hub .nbcs-category-hub__section{padding:17px!important;margin-bottom:20px!important}
body.nbcs-mixed-hub .nbcs-category-hub__products{gap:12px!important}
body.nbcs-mixed-hub .nbcs-category-hub__heading h2{font-size:20px!important}
.nbcs-shopping-active-note,.nbcs-shopping-empty{padding:12px 15px;background:#fff;border:1px solid #e5e8ed;border-radius:12px;color:#535b68;font-size:13px;line-height:1.5;margin:0 0 18px}
/* Secondary image is genuinely from the product's gallery, not a different sibling's variation. */
body.nbcs-mixed-hub .nbcs-category-hub .nb-product-card{position:relative!important}
body.nbcs-mixed-hub .nbcs-category-hub .nbcs-quick-secondary{display:none}
@media(hover:hover) and (pointer:fine) and (min-width:901px){
 body.nbcs-mixed-hub .nbcs-category-hub .nbcs-quick-secondary{display:block;position:absolute;top:0;left:0;width:100%;aspect-ratio:1/1;height:auto;max-height:none;object-fit:contain;object-position:center;padding:24px;box-sizing:border-box;background:#f9f9f9;opacity:0;pointer-events:none;z-index:1;transition:opacity .23s ease}
 body.nbcs-mixed-hub .nbcs-category-hub .nb-product-card:hover .nbcs-quick-secondary{opacity:1}
}
body.nbcs-shopping-enabled .nbcs-quick-trigger{position:absolute;z-index:3;top:11px;right:11px;display:grid;place-items:center;width:33px;height:33px;padding:0;border:1px solid #dadde2;border-radius:50%;background:rgba(255,255,255,.95);color:#1b1b1b;cursor:pointer;box-shadow:0 1px 7px rgba(0,0,0,.04)}
@media(hover:hover) and (pointer:fine){body.nbcs-shopping-enabled .nbcs-quick-trigger{opacity:0;transform:translateY(-4px);transition:opacity .17s ease,transform .17s ease}body.nbcs-shopping-enabled .nb-product-card:hover .nbcs-quick-trigger,body.nbcs-shopping-enabled .nbcs-quick-trigger:focus-visible{opacity:1;transform:none}}
body.nbcs-shopping-enabled .nbcs-card-options{margin:-5px 0 8px!important;color:#606978!important;font-size:10.5px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.35!important}
body.nbcs-shopping-enabled .nbcs-card-options.is-empty{visibility:hidden}
body.nbcs-shopping-enabled .nbcs-compare-choice{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;margin:10px 0 0;cursor:pointer;color:#6a727e;font-size:11px;line-height:1.3;user-select:none}
body.nbcs-shopping-enabled .nbcs-compare-choice input{width:14px;height:14px;margin:0;accent-color:#121212}
.nbcs-mobile-filter-button{display:none}
/* Modal is independently layered, never nested inside a product-page link. */
.nbcs-shopping-modal[hidden],.nbcs-compare-tray[hidden]{display:none!important}
.nbcs-shopping-modal{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:18px}
.nbcs-shopping-modal__shade{position:absolute;inset:0;background:rgba(14,19,28,.68)}
.nbcs-shopping-modal__dialog{position:relative;display:flex;flex-direction:column;width:min(830px,100%);max-height:min(88vh,840px);background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 25px 85px rgba(0,0,0,.18)}
.nbcs-shopping-modal__dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e9ebee;padding:14px 20px}
.nbcs-shopping-modal__dialog>header h2{font-size:18px!important;line-height:1.3!important;margin:0!important}
.nbcs-shopping-modal__dialog>header button{display:grid;place-items:center;width:34px;height:34px;background:#f5f6f8;border:0;border-radius:50%;font-size:24px;cursor:pointer}
.nbcs-shopping-modal__content{overflow:auto;padding:22px;color:#1c1d1e}
.nbcs-quickview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px;align-items:start}
.nbcs-quickview__image img{max-width:100%;width:100%;height:auto;object-fit:contain}
.nbcs-quickview__info h2{font-size:22px!important;line-height:1.25!important;margin:0 0 10px!important}
.nbcs-quickview__price{font-size:17px;font-weight:750}
.nbcs-quickview__availability{font-size:12px;color:#55626e;margin:9px 0}
.nbcs-quickview__specs{display:grid;grid-template-columns:38% 1fr;gap:8px 12px;padding:12px 0;margin:14px 0;border-top:1px solid #edf0f2;border-bottom:1px solid #edf0f2;font-size:12px}
.nbcs-quickview__specs dt{color:#66717d}
.nbcs-quickview__specs dd{margin:0;color:#24282d;overflow-wrap:anywhere}
.nbcs-quickview__purchase{margin:16px 0}
.nbcs-quickview__purchase .variations{border:0;width:100%;margin:0 0 12px}
.nbcs-quickview__purchase .variations tr,.nbcs-quickview__purchase .variations td{border:0;padding:5px 0}
.nbcs-quickview__purchase select,.nbcs-quickview__purchase input.qty{padding:9px 10px;border:1px solid #dfe3e8;border-radius:8px}
.nbcs-quickview__purchase .single_add_to_cart_button{background:#101010!important;color:#fff!important;border-radius:9px!important}
.nbcs-quickview__details{color:#111;text-decoration:underline;text-underline-offset:3px;font-size:13px;font-weight:700}
.nbcs-compare-tray{position:fixed;z-index:99990;left:50%;bottom:16px;transform:translateX(-50%);display:flex;align-items:center;gap:14px;padding:11px 15px;background:#111;color:#fff;border-radius:13px;box-shadow:0 12px 35px rgba(0,0,0,.22);font-size:13px}
.nbcs-compare-launch{padding:9px 14px;border:0;border-radius:8px;background:#fff;color:#111;font-size:12px;font-weight:750;cursor:pointer}
.nbcs-compare-clear{padding:7px;background:transparent;color:#fff;border:0;font-size:12px;cursor:pointer}
.nbcs-compare-scroll{max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch}
.nbcs-compare-table{min-width:620px;width:100%;border-collapse:collapse;font-size:12px}
.nbcs-compare-table th,.nbcs-compare-table td{padding:11px;border:1px solid #e9ebef;min-width:145px;text-align:left;vertical-align:top}
.nbcs-compare-table tbody tr:nth-child(even){background:#f7f8f9}
.nbcs-compare-table thead th{position:sticky;top:0;background:#fff;z-index:1}
.nbcs-compare-table th:first-child{min-width:115px}
.nbcs-compare-table thead img{width:100px;height:85px;object-fit:contain;display:block}
.nbcs-compare-table thead span{display:block;line-height:1.35}
.nbcs-compare-table thead a{color:#171717!important;text-decoration:none}
.nbcs-shopping-filter-open{overflow:hidden}
@media(max-width:1024px){body.nbcs-shopping-enabled .nbcs-shopping-layout{grid-template-columns:195px minmax(0,1fr);gap:13px}body.nbcs-mixed-hub .nbcs-category-hub__products{gap:10px!important}}
@media(max-width:900px){
 body.nbcs-shopping-enabled .nbcs-shopping-layout{display:block}
 body.nbcs-shopping-enabled .nbcs-shopping-filter{position:fixed;inset:0;top:0;z-index:100005;display:flex;flex-direction:column;max-height:100dvh;overflow:auto;padding:18px 20px 96px;border-radius:0;transform:translateY(105%);visibility:hidden;transition:transform .23s ease,visibility .23s ease}
 body.nbcs-shopping-enabled .nbcs-shopping-filter.is-open{transform:none;visibility:visible}
 .nbcs-shopping-filter__close{display:grid;place-items:center;width:36px;height:36px;background:#f2f3f5;border:0;border-radius:50%;font-size:26px}
 body.nbcs-shopping-enabled .nbcs-mobile-filter-button{display:block;position:fixed;z-index:99980;left:50%;bottom:16px;transform:translateX(-50%);width:max-content;max-width:90%;padding:11px 23px;background:#111;color:#fff;border:1px solid #111;border-radius:999px;box-shadow:0 10px 28px rgba(0,0,0,.19);font-size:13px;font-weight:750}
 body.nbcs-mixed-hub .nbcs-category-hub__section{padding:14px!important}
 .nbcs-compare-tray{bottom:70px}
}
@media(max-width:600px){
 .nbcs-shopping-modal{padding:0}
 .nbcs-shopping-modal__dialog{height:100dvh;max-height:none;border-radius:0}
 .nbcs-shopping-modal__content{padding:15px}
 .nbcs-quickview{display:block}
 .nbcs-quickview__image img{max-height:200px;width:auto;margin:auto;display:block}
 .nbcs-quickview__info h2{font-size:18px!important}
 body.nbcs-shopping-enabled .nbcs-quick-trigger{width:28px;height:28px;top:7px;right:7px}
 body.nbcs-mixed-hub .nbcs-category-hub__section{padding:10px!important}
 body.nbcs-mixed-hub .nbcs-category-hub__heading h2{font-size:18px!important}
 body.nbcs-mixed-hub .nbcs-category-hub__count{font-size:10px}
 body.nbcs-mixed-hub .nbcs-category-hub__browse{font-size:11px!important;margin-left:0}
 body.nbcs-shopping-enabled .nbcs-compare-choice{font-size:10px}
 .nbcs-compare-tray{width:calc(100% - 24px);box-sizing:border-box;justify-content:center;gap:9px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.nbcs-shopping-filter,.nbcs-quick-secondary,.nbcs-quick-trigger{transition:none!important}}

/* Standard category/attribute archives use the same sticky filter layout. */
body.nbcs-shopping-enabled .nbcs-shopping-layout--standard{display:grid;grid-template-columns:minmax(195px,232px) minmax(0,1fr);gap:22px;align-items:start;clear:both}
body.nbcs-shopping-enabled .nbcs-shopping-layout--standard .nbcs-shopping-results{min-width:0}
body.nbcs-shopping-enabled .nbcs-shopping-layout--standard .nb-catalog-toolbar{margin-bottom:20px!important}
body.nbcs-shopping-enabled .nbcs-shopping-layout--standard ul.products{clear:both}
body.nbcs-shopping-enabled .nbcs-shopping-layout--standard .nbcs-shopping-page-nav{display:flex;align-items:center;justify-content:center;gap:15px;margin:25px 0 5px;color:#5b6370;font-size:12px}
body.nbcs-shopping-enabled .nbcs-shopping-page-nav button{border:1px solid #dfe2e8;background:#fff;border-radius:9px;padding:9px 15px;font-size:12px;cursor:pointer;color:#111}
body.nbcs-shopping-enabled .nbcs-shopping-page-nav button:hover{background:#f4f5f7}
body.nbcs-shopping-enabled .nbcs-shopping-layout--standard .nb-product-card{position:relative!important}
body.nbcs-shopping-enabled .nbcs-shopping-layout--standard .nbcs-quick-secondary{display:none}
@media(min-width:901px) and (hover:hover) and (pointer:fine){
 body.nbcs-shopping-enabled .nbcs-shopping-layout--standard .nbcs-quick-secondary{display:block;position:absolute;inset:0 0 auto;width:100%;height:auto;aspect-ratio:1;object-fit:contain;box-sizing:border-box;padding:24px;background:#f9f9f9;opacity:0;pointer-events:none;z-index:1;transition:opacity .23s}
 body.nbcs-shopping-enabled .nbcs-shopping-layout--standard .nb-product-card:hover .nbcs-quick-secondary{opacity:1}
}
@media(max-width:1024px){body.nbcs-shopping-enabled .nbcs-shopping-layout--standard{grid-template-columns:195px minmax(0,1fr);gap:13px}}
@media(max-width:900px){body.nbcs-shopping-enabled .nbcs-shopping-layout--standard{display:block}}

/* v1.3.9: Fit desktop filter to the ACTUAL space below its current screen position.
 * With headings/intro above the grid, a fixed viewport-sized panel could end
 * below the screen and require scrolling the catalogue before reaching Clear.
 * JS recalculates the available height; the CSS fallback works without JS. */
@media(min-width:901px){
 body.nbcs-shopping-enabled .nbcs-shopping-filter{
  box-sizing:border-box;
  max-height:var(--nbcs-filter-visible-height, calc(100dvh - 116px));
  overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;
  scrollbar-width:thin;scrollbar-color:#cfd4dc transparent;
 }
 body.nbcs-shopping-enabled .nbcs-shopping-filter::-webkit-scrollbar{width:5px}
 body.nbcs-shopping-enabled .nbcs-shopping-filter::-webkit-scrollbar-thumb{background:#cfd4dc;border-radius:10px}
 body.nbcs-shopping-enabled .nbcs-shopping-filter::-webkit-scrollbar-track{background:transparent}
 /* Three full columns on mixed Shop/Brand sections, with two neat rows on mobile. */
 /* Shop/brand pages intentionally retain all four previews. */
}
@media(max-width:900px){
 body.nbcs-shopping-enabled .nbcs-shopping-filter{overscroll-behavior-y:contain}
 /* Two columns, four preview products: two rows on mobile/tablet. */
}
/* Keep grouped landing pages as clean browse experiences without the filter rail. */
body.nbcs-shopping-no-filters .nbcs-shopping-layout,
body.nbcs-shopping-no-filters .nbcs-shopping-layout--standard{display:block!important}
body.nbcs-shopping-no-filters .nbcs-shopping-filter,
body.nbcs-shopping-no-filters .nbcs-mobile-filter-button{display:none!important}
.nbcs-shopping-filter__status{font-size:11px;line-height:1.45;color:#6c7480;margin:3px 0 0;min-height:1em}

/* v1.3.5: Shop and brand hubs keep FOUR desktop columns. 3-column
 * catalogue/attribute archive grids are unaffected. */
@media (min-width:901px) {
 body.nbcs-mixed-hub .nbcs-category-hub ul.products.nbcs-category-hub__products {
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
 }
}
@media (max-width:900px) {
 body.nbcs-mixed-hub .nbcs-category-hub ul.products.nbcs-category-hub__products {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
/* Show automatic-filter activity where it is visible without scrolling to the Apply button. */
.nbcs-shopping-filter__live {
 margin:0 0 12px!important;padding:9px 11px!important;
 border:1px solid #e7eaf0;border-radius:9px;
 background:#f7f8fa;color:#515b69;font-size:11px;line-height:1.4;
 min-height:15px;
}
.nbcs-shopping-filter__live.is-loading {
 color:#1b1e23;background:#eef3f8;border-color:#e0e8f1;
}
.nbcs-shopping-filter__live.is-error {
 color:#9b2424;background:#fff4f4;border-color:#f1cece;
}

/* v1.3.10 — Quick View polish only. No changes to archive cards/filters. */
.nbcs-shopping-modal__dialog{
  width:min(880px,calc(100vw - 36px));
  min-height:0!important;
  height:auto!important;
  max-height:min(88dvh,800px);
}
.nbcs-shopping-modal__dialog>header{
  flex:0 0 auto;
  padding:14px 22px;
  min-height:66px;
  box-sizing:border-box;
  background:#fff;
}
.nbcs-shopping-modal__dialog>header h2{
  min-width:0;
  font-size:19px!important;
  font-weight:750!important;
  line-height:1.32!important;
  letter-spacing:-.015em;
  color:#1e293b!important;
}
.nbcs-shopping-modal__dialog>header button[data-nbcs-close]{
  flex:0 0 38px;
  width:38px!important;
  height:38px!important;
  padding:0!important;
  border:1px solid #e1e5e9!important;
  background:#f5f6f7!important;
  color:#2f3844!important;
  opacity:1!important;
  font-size:23px!important;
  font-weight:400!important;
  line-height:1!important;
  transition:background .14s,border-color .14s;
}
.nbcs-shopping-modal__dialog>header button[data-nbcs-close]:hover{
  background:#e9edf1!important;
  border-color:#cfd6df!important;
}
.nbcs-shopping-modal__dialog>header button[data-nbcs-close]:focus-visible{
  outline:2px solid #2563eb!important;
  outline-offset:2px;
}
.nbcs-shopping-modal__content{
  flex:0 1 auto;
  min-height:0;
  max-height:calc(88dvh - 66px);
  padding:22px 24px 24px;
  overscroll-behavior:contain;
}
.nbcs-quickview{
  grid-template-columns:minmax(0,.95fr) minmax(0,1fr);
  align-items:start;
  gap:28px;
}
.nbcs-quickview__image{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  aspect-ratio:1;
  box-sizing:border-box;
  padding:18px;
  background:#fafafa;
  border:1px solid #eef0f3;
  border-radius:14px;
}
.nbcs-quickview__image img{
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center;
}
.nbcs-quickview__info{min-width:0}
.nbcs-quickview__price{
  font-size:20px;
  line-height:1.3;
  font-weight:750;
  color:#202b3d;
  margin:0 0 10px;
}
.nbcs-quickview__price del{opacity:.55;font-weight:450;margin-right:5px}
.nbcs-quickview__price ins{text-decoration:none}
.nbcs-quickview__availability{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 4px;
  padding:5px 9px;
  background:#f7f9fa;
  border:1px solid #e6e9ed;
  border-radius:999px;
  color:#516070;
  font-size:12px;
  line-height:1.2;
}
.nbcs-quickview__availability::before{content:"";display:inline-block;flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#a0a8b0}
.nbcs-quickview__availability.is-in-stock{color:#15803d}
.nbcs-quickview__availability.is-in-stock::before{background:#159447}
.nbcs-quickview__availability.is-out-of-stock::before{background:#c54b47}
.nbcs-quickview__specs{
  grid-template-columns:minmax(105px,38%) minmax(0,1fr);
  gap:9px 12px;
  padding:14px 0;
  margin:14px 0 16px;
  border-top:1px solid #e8ecf0;
  border-bottom:1px solid #e8ecf0;
  line-height:1.4;
}
.nbcs-quickview__specs dt{font-weight:600;color:#667383}
.nbcs-quickview__specs dd{color:#273447}
.nbcs-quickview__purchase{margin:12px 0 13px}
/* WooCommerce variations are TABLE markup. Visually present them as tidy
   stacked label/select fields inside Quick View without altering form names,
   hidden inputs, validation or native variation events. */
.nbcs-shopping-modal .nbcs-quickview__purchase table.variations,
.nbcs-shopping-modal .nbcs-quickview__purchase table.variations tbody{
  display:block!important;
  width:100%!important;
  margin:0 0 11px!important;
  padding:0!important;
  border:0!important;
  border-collapse:separate!important;
  background:transparent!important;
  box-shadow:none!important;
}
.nbcs-shopping-modal .nbcs-quickview__purchase table.variations tr{
  display:block!important;
  width:100%!important;
  margin:0 0 12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.nbcs-shopping-modal .nbcs-quickview__purchase table.variations th,
.nbcs-shopping-modal .nbcs-quickview__purchase table.variations td{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  text-align:left!important;
  vertical-align:middle!important;
}
.nbcs-shopping-modal .nbcs-quickview__purchase table.variations th.label label{
  display:block!important;
  margin:0 0 5px!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.4!important;
  color:#334155!important;
}
.nbcs-shopping-modal .nbcs-quickview__purchase .variations select{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:44px!important;
  padding:8px 36px 8px 12px!important;
  font-size:13px!important;
  color:#243244!important;
  background-color:#fff!important;
  border:1px solid #d8dfe7!important;
  border-radius:9px!important;
  box-shadow:none!important;
}
.nbcs-shopping-modal .nbcs-quickview__purchase .variations select:focus-visible{
  outline:2px solid #2563eb!important;
  outline-offset:1px;
}
.nbcs-shopping-modal .nbcs-quickview__purchase .reset_variations{
  display:inline-block!important;
  clear:both;
  width:auto!important;
  margin:8px 0 2px!important;
  padding:0!important;
  font-size:12px!important;
  color:#52617a!important;
  text-decoration:underline;
  text-underline-offset:2px;
}
.nbcs-shopping-modal .nbcs-quickview__purchase .woocommerce-variation{
  margin:0 0 12px;
}
/* A selected variation updates the main price above, not a second price line. */
.nbcs-shopping-modal .nbcs-quickview__purchase .woocommerce-variation-price{
  display:none!important;
}
.nbcs-shopping-modal .nbcs-quickview__purchase .woocommerce-variation-description{
  margin:0 0 10px;
  font-size:12px;
  line-height:1.45;
  color:#5f6b7a;
}
.nbcs-shopping-modal .nbcs-quickview__purchase .woocommerce-variation-add-to-cart,
.nbcs-shopping-modal .nbcs-quickview__purchase form.cart:not(.variations_form){
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
.nbcs-shopping-modal .nbcs-quickview__purchase .quantity{
  float:none!important;
  flex:0 0 auto!important;
  margin:0!important;
}
.nbcs-shopping-modal .nbcs-quickview__purchase input.qty{
  width:72px!important;
  min-height:42px!important;
  padding:6px!important;
  border:1px solid #d8dfe7!important;
  text-align:center!important;
}
.nbcs-shopping-modal .nbcs-quickview__purchase .single_add_to_cart_button{
  float:none!important;
  width:auto!important;
  min-width:146px!important;
  min-height:42px!important;
  margin:0!important;
  padding:9px 16px!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.3!important;
  border:0!important;
  background:#111!important;
  color:#fff!important;
  opacity:1;
}
.nbcs-shopping-modal .nbcs-quickview__purchase .single_add_to_cart_button.disabled,
.nbcs-shopping-modal .nbcs-quickview__purchase .single_add_to_cart_button:disabled{
  opacity:1!important;
  background:#e6e8eb!important;
  color:#84909b!important;
  cursor:not-allowed!important;
}
.nbcs-quickview__details{
  display:inline-flex;
  align-items:center;
  margin:4px 0 0;
  color:#1a2738!important;
  font-size:13px;
  font-weight:650;
  text-decoration:underline;
  text-underline-offset:3px;
}
.nbcs-quickview__info>p:last-child{margin:8px 0 0!important}
@media(max-width:900px){
  .nbcs-shopping-modal__dialog{width:min(700px,calc(100vw - 28px))}
  .nbcs-quickview{gap:16px}
  .nbcs-quickview__image{padding:12px}
  .nbcs-shopping-modal__content{padding:18px}
}
@media(max-width:600px){
  .nbcs-shopping-modal__dialog{width:100%!important;height:100dvh!important;max-height:100dvh!important}
  .nbcs-shopping-modal__dialog>header{padding:12px 15px;min-height:58px}
  .nbcs-shopping-modal__dialog>header h2{font-size:16px!important}
  .nbcs-shopping-modal__content{flex:1 1 auto;max-height:none;padding:14px 15px 25px}
  .nbcs-quickview{display:block}
  .nbcs-quickview__image{width:100%;max-width:340px;max-height:220px;aspect-ratio:auto;margin:0 auto 18px;padding:8px;border:0;background:#fafafa}
  .nbcs-quickview__image img{height:190px!important;width:100%!important;max-height:190px!important;object-fit:contain!important}
  .nbcs-quickview__price{font-size:19px}
  .nbcs-quickview__specs{grid-template-columns:minmax(92px,38%) minmax(0,1fr)}
  .nbcs-shopping-modal .nbcs-quickview__purchase .single_add_to_cart_button{flex:1 1 auto!important;min-width:0!important}
}
@media(prefers-reduced-motion:reduce){
  .nbcs-shopping-modal__dialog>header button[data-nbcs-close]{transition:none!important}
}
