/* NBM Storefront 1.2 — native WooCommerce layouts, no commerce logic changes. */
.nbm-store{--shop-accent:#7040a6;--shop-rose:#b83d80;--shop-soft:#f6f1fb;--shop-border:#e7d9f0;--shop-image:#fff;min-width:0}
html[data-nbm-theme=dark] .nbm-store{--shop-accent:#c1a0f1;--shop-rose:#f2a4ce;--shop-soft:#211a30;--shop-border:#493658}
.nbm-store-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:28px;padding:clamp(24px,4vw,52px);border-radius:14px;overflow:hidden;color:#fff;background:radial-gradient(ellipse at 92% 0%,#573260 0%,transparent 52%),linear-gradient(125deg,#131a29 18%,#29203e 82%);border-bottom:3px solid #9e6cc5;margin-bottom:24px}
.nbm-store-hero:after{content:"";position:absolute;z-index:-1;inset:auto 0 0 auto;width:36%;height:4px;background:linear-gradient(90deg,#7951b5,#d35c99)}
.nbm-store-eyebrow{display:block;color:#e3bce5;font-size:11px;letter-spacing:.17em;font-weight:800;text-transform:uppercase;margin-bottom:12px}
.nbm-store-hero h1{font-size:clamp(34px,5vw,60px);font-weight:850;letter-spacing:-.05em;margin:0 0 12px;overflow-wrap:anywhere;color:#fff}
.nbm-store-hero p{font-size:16px;color:#dfd8e8;max-width:58ch;margin-bottom:18px}
.nbm-store-hero-links{display:flex;gap:10px;flex-wrap:wrap}.nbm-store-hero-links a{border:1px solid #75638c;border-radius:7px;padding:9px 15px;color:#fff;font-size:13px;font-weight:750}.nbm-store-hero-links a:first-child{background:#fff;color:#29203e;border-color:#fff}.nbm-store-hero-links a:hover{background:#eadcf6;color:#322146;border-color:#eadcf6}
.nbm-store-hero-mark{display:flex;flex-direction:column;align-items:flex-end;flex:none;line-height:.85;text-align:right;color:#e2c9f7;opacity:.85}.nbm-store-hero-mark span{font-size:clamp(56px,10vw,132px);font-weight:950;letter-spacing:-.1em}.nbm-store-hero-mark small{font-size:12px;font-weight:800;letter-spacing:.24em;line-height:1.5;margin-top:12px;color:#f0bfdc}
.nbm-store-browse{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:20px 24px;margin-bottom:20px}.nbm-store-browse-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px;flex-wrap:wrap}.nbm-store-browse h2{font-size:21px;margin:0;letter-spacing:-.03em}.nbm-store-browse .woocommerce-product-search{display:flex;gap:6px;margin:0;max-width:100%;flex:0 1 340px}.nbm-store-browse .woocommerce-product-search input{min-width:0;flex:1;border-radius:6px;padding:8px 12px}.nbm-store-browse .woocommerce-product-search button{background:#6d449c;border:0;border-radius:6px;color:white;font-size:13px;font-weight:750;padding:8px 12px}.nbm-store-chips{display:flex;gap:8px;flex-wrap:wrap}.nbm-store-chips a{border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:7px 14px;border-radius:6px;font-size:13px;font-weight:650;line-height:1.4}.nbm-store-chips a:hover{border-color:var(--shop-accent);color:var(--shop-accent)}.nbm-store-chips a[aria-current=page]{background:var(--shop-soft);border-color:var(--shop-accent);color:var(--shop-accent);box-shadow:inset 0 -2px var(--shop-accent)}
.nbm-store-catalog{background:var(--surface);padding:clamp(14px,2vw,26px);border:1px solid var(--line);border-radius:12px;display:flow-root}.nbm-store-catalog .page-description,.nbm-store-catalog .term-description{font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:20px}.nbm-store-catalog .page-description p,.nbm-store-catalog .term-description p{margin:0 0 8px}.nbm-store-catalog .page-description a,.nbm-store-catalog .term-description a{color:var(--shop-accent);text-decoration:underline;text-underline-offset:2px}
.woocommerce .nbm-main .nbm-store .woocommerce-result-count{font-size:13px;color:var(--muted);margin:8px 0 20px}.woocommerce .nbm-main .nbm-store .woocommerce-ordering{margin:0 0 20px}.woocommerce .nbm-main .nbm-store .woocommerce-ordering select{border:1px solid var(--line);border-radius:7px;font-size:13px;padding:9px 14px;background:var(--surface);color:var(--ink);max-width:100%}
/* Override WooCommerce legacy floats only within the storefront. */
.woocommerce .nbm-main .nbm-store ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;clear:both;margin:0 0 24px;padding:0;list-style:none}.woocommerce .nbm-main .nbm-store ul.products:before,.woocommerce .nbm-main .nbm-store ul.products:after{display:none;content:none}.woocommerce .nbm-main .nbm-store ul.products li.product{float:none;clear:none;width:auto;margin:0;min-width:0;position:relative;display:flex;flex-direction:column;align-items:stretch;padding:10px 10px 13px;border:1px solid var(--line);border-radius:10px;background:var(--surface);box-shadow:0 2px 10px #14132108;transition:border-color .2s,box-shadow .2s}.woocommerce .nbm-main .nbm-store ul.products li.product:hover,.woocommerce .nbm-main .nbm-store ul.products li.product:focus-within{border-color:var(--shop-accent);box-shadow:0 5px 20px #7951b51a}.woocommerce .nbm-main .nbm-store ul.products li.product a.woocommerce-LoopProduct-link,.woocommerce .nbm-main .nbm-store ul.products li.product a.woocommerce-loop-product__link{display:flex;flex-direction:column;flex:1;min-width:0;color:var(--ink);text-decoration:none}.woocommerce .nbm-main .nbm-store ul.products li.product a img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;background:var(--shop-image);border-radius:6px;margin:0 0 12px;padding:4px}.nbm-store-card-category{display:flex;align-items:center;gap:6px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--shop-accent);margin:0 5px 5px;line-height:1.35}.nbm-store-card-category>span{width:7px;height:7px;flex:0 0 7px;background:#a366c6}.woocommerce .nbm-main .nbm-store ul.products li.product .woocommerce-loop-product__title,.woocommerce .nbm-main .nbm-store ul.products li.product .woocommerce-loop-category__title{font-size:clamp(14px,1.25vw,17px);line-height:1.35;font-weight:760;color:var(--ink);padding:0;margin:0 5px 8px;letter-spacing:-.02em;overflow-wrap:anywhere}.woocommerce .nbm-main .nbm-store ul.products li.product .price{color:var(--ink);font-size:15px;font-weight:750;margin:auto 5px 10px;line-height:1.4}.woocommerce .nbm-main .nbm-store ul.products li.product .price del{color:var(--muted);font-weight:500;opacity:1}.woocommerce .nbm-main .nbm-store ul.products li.product .price ins{color:var(--shop-rose);text-decoration:none}.woocommerce .nbm-main .nbm-store ul.products li.product .star-rating{color:var(--shop-accent);margin:0 5px 10px}.woocommerce .nbm-main .nbm-store ul.products li.product .button{display:flex;align-items:center;justify-content:center;min-height:42px;margin:5px 4px 0;padding:10px 8px;border-radius:6px;border:1px solid #6e4799;background:#6e4799;color:#fff;text-align:center;font-size:13px;line-height:1.3;font-weight:750;white-space:normal}.woocommerce .nbm-main .nbm-store ul.products li.product .button:hover{background:#563479;border-color:#563479;color:#fff}.woocommerce .nbm-main .nbm-store ul.products li.product a.added_to_cart{color:var(--shop-accent);font-size:13px;text-align:center;padding-top:8px}.woocommerce .nbm-main .nbm-store span.onsale,.woocommerce .nbm-main .nbm-store ul.products li.product .onsale{background:#a73370;color:white;min-height:0;min-width:0;line-height:1.3;padding:6px 9px;border-radius:4px;font-size:11px;font-weight:800;top:17px;left:17px;right:auto;margin:0;z-index:2}.woocommerce .nbm-main .nbm-store nav.woocommerce-pagination ul{display:inline-flex;gap:6px;flex-wrap:wrap;border:0;margin:12px 0}.woocommerce .nbm-main .nbm-store nav.woocommerce-pagination ul li{border:0}.woocommerce .nbm-main .nbm-store nav.woocommerce-pagination ul li a,.woocommerce .nbm-main .nbm-store nav.woocommerce-pagination ul li span{display:block;border:1px solid var(--line);border-radius:5px;padding:10px 13px;color:var(--ink);background:var(--surface)}.woocommerce .nbm-main .nbm-store nav.woocommerce-pagination ul li span.current,.woocommerce .nbm-main .nbm-store nav.woocommerce-pagination ul li a:hover{background:var(--shop-soft);color:var(--shop-accent);border-color:var(--shop-accent)}
.nbm-store-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:20px 4px;color:var(--muted);font-size:13px}.nbm-store-policy-links{display:flex;flex-wrap:wrap;gap:8px 16px}.nbm-store-policy-links a{color:var(--shop-accent);text-decoration:underline;text-underline-offset:3px;font-size:13px}
/* Product details, while preserving native galleries, variations and purchase forms. */
.nbm-store-product-top{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:space-between;margin-bottom:18px}.nbm-store-back{color:var(--shop-accent);font-size:13px;font-weight:750}.woocommerce .nbm-main .nbm-store .woocommerce-breadcrumb{margin:0;color:var(--muted);font-size:12px;overflow-wrap:anywhere}.woocommerce .nbm-main .nbm-store .woocommerce-breadcrumb a{color:var(--muted)}.woocommerce .nbm-main .nbm-store-single>div.product{display:flow-root;position:relative;background:var(--surface);border:1px solid var(--line);padding:clamp(16px,3vw,36px);border-radius:12px}.woocommerce .nbm-main .nbm-store-single div.product div.images{background:var(--shop-image);border:1px solid var(--line);border-radius:10px;overflow:hidden}.woocommerce .nbm-main .nbm-store-single div.product div.images .flex-control-thumbs{padding:8px;margin:0;background:#fff}.woocommerce .nbm-main .nbm-store-single div.product div.images .flex-control-thumbs li{padding:4px}.woocommerce .nbm-main .nbm-store-single div.product .product_title{font-size:clamp(27px,3.8vw,44px);line-height:1.1;color:var(--ink);margin-bottom:15px;overflow-wrap:anywhere}.woocommerce .nbm-main .nbm-store-single div.product p.price,.woocommerce .nbm-main .nbm-store-single div.product span.price{color:var(--shop-accent);font-weight:750;font-size:22px}.woocommerce .nbm-main .nbm-store-single div.product .woocommerce-product-details__short-description{color:var(--muted);font-size:15px;line-height:1.65}.woocommerce .nbm-main .nbm-store-single div.product form.cart{padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:22px 0}.woocommerce .nbm-main .nbm-store-single div.product form.cart .variations td,.woocommerce .nbm-main .nbm-store-single div.product form.cart .variations th{padding:6px 0;color:var(--ink)}.woocommerce .nbm-main .nbm-store-single div.product form.cart .variations select{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:9px 12px;max-width:100%}.woocommerce .nbm-main .nbm-store-single div.product form.cart .quantity input{min-height:44px;border-radius:6px}.woocommerce .nbm-main .nbm-store-single div.product form.cart .single_add_to_cart_button{background:#6e4799;color:white;padding:12px 18px;border-radius:6px;min-height:44px}.woocommerce .nbm-main .nbm-store-single div.product form.cart .single_add_to_cart_button:hover{background:#563479}.woocommerce .nbm-main .nbm-store-single div.product form.cart .single_add_to_cart_button.disabled,.woocommerce .nbm-main .nbm-store-single div.product form.cart .single_add_to_cart_button:disabled{opacity:.55}.woocommerce .nbm-main .nbm-store-single .product_meta{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.woocommerce .nbm-main .nbm-store-single .product_meta a{color:var(--shop-accent)}.nbm-store-product-note{clear:both;margin:20px 0 0;border:1px solid var(--shop-border);border-left:3px solid #a366c6;border-radius:7px;background:var(--shop-soft);padding:15px;color:var(--ink);font-size:13px}.nbm-store-product-note p{margin:5px 0 8px;color:var(--muted)}.woocommerce .nbm-main .nbm-store-single .woocommerce-tabs{clear:both;padding-top:12px}.woocommerce .nbm-main .nbm-store-single .woocommerce-tabs ul.tabs{padding-left:0}.woocommerce .nbm-main .nbm-store-single .woocommerce-tabs ul.tabs li{margin:0 5px 0 0;border-radius:6px 6px 0 0}.woocommerce .nbm-main .nbm-store-single .woocommerce-tabs ul.tabs li:before,.woocommerce .nbm-main .nbm-store-single .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce .nbm-main .nbm-store-single .woocommerce-tabs ul.tabs li.active{border-top:2px solid var(--shop-accent)}.woocommerce .nbm-main .nbm-store-single .woocommerce-tabs .panel{color:var(--ink);overflow-wrap:anywhere}.woocommerce .nbm-main .nbm-store-single .related,.woocommerce .nbm-main .nbm-store-single .upsells{margin-top:30px}.woocommerce .nbm-main .nbm-store-single .related>h2,.woocommerce .nbm-main .nbm-store-single .upsells>h2{font-size:24px;margin-bottom:16px}.woocommerce .nbm-main .nbm-store .woocommerce-message,.woocommerce .nbm-main .nbm-store .woocommerce-info,.woocommerce .nbm-main .nbm-store .woocommerce-error{background:var(--shop-soft);color:var(--ink);border-radius:6px}.woocommerce .nbm-main .nbm-store .woocommerce-message a,.woocommerce .nbm-main .nbm-store .woocommerce-info a,.woocommerce .nbm-main .nbm-store .woocommerce-error a{color:var(--shop-accent)}
@media(max-width:1050px){.woocommerce .nbm-main .nbm-store ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.nbm-store-hero{gap:12px}.nbm-store-hero-mark{display:none}.nbm-store-browse{padding:16px}.woocommerce .nbm-main .nbm-store ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.woocommerce .nbm-main .nbm-store-single div.product div.images,.woocommerce .nbm-main .nbm-store-single div.product div.summary{float:none;width:100%}.woocommerce .nbm-main .nbm-store-single .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:6px}.nbm-store-product-top .woocommerce-breadcrumb{width:100%;order:3}}
@media(max-width:420px){.nbm-store-catalog{padding:10px}.woocommerce .nbm-main .nbm-store ul.products{gap:8px}.woocommerce .nbm-main .nbm-store ul.products li.product{padding:6px 6px 9px}.woocommerce .nbm-main .nbm-store ul.products li.product .button{font-size:12px;margin-inline:0}.woocommerce .nbm-main .nbm-store .woocommerce-ordering,.woocommerce .nbm-main .nbm-store .woocommerce-result-count{float:none;width:100%}.nbm-store-chips a{padding:6px 10px}.nbm-store-browse .woocommerce-product-search{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.woocommerce .nbm-main .nbm-store ul.products li.product{transition:none}}
