/* 15 November customer acceptance: only existing Concept B presentation. */
.cb-storefront .nb-home .nbp-rail {
 --sm-visible:5; --sm-gap:12px;
 grid-auto-columns:calc((100% - (var(--sm-visible) - 1)*var(--sm-gap))/var(--sm-visible));
 gap:var(--sm-gap); align-items:stretch;
}
.cb-storefront .nb-home .nbp-rail:has(>article:first-child:last-child){--sm-visible:1}
.cb-storefront .nb-home .nbp-rail:has(>article:nth-child(2):last-child){--sm-visible:2}
.cb-storefront .nb-home .nbp-rail:has(>article:nth-child(3):last-child){--sm-visible:3}
.cb-storefront .nb-home .nbp-rail:has(>article:nth-child(4):last-child){--sm-visible:4}
.nb-home .nbp-product .nb-product-brand{min-height:15px}
.nb-home .nbp-product .nb-product-code{min-height:30px;overflow-wrap:anywhere}
.nb-home .nbp-product .nb-price{min-height:52px}
.nb-home .nbp-product .nbp-details-link{margin-top:auto;background:#fff8df;border:1px solid #ead794;border-radius:5px;padding:9px 10px;min-height:39px}
.nb-home .nbp-shelf-intro>.sm-category-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;padding:11px 13px;margin-top:20px;border:1px solid #d5bd69;border-radius:6px;background:#fff8df;color:#0b2030;font-size:12px;font-weight:700;text-decoration:none;line-height:1.4;max-width:100%}
.nb-home .nbp-shelf-intro>.sm-category-cta:hover{background:#ffe9a0}
.nb-home .nbp-shelf-intro>.sm-category-cta:focus-visible{outline:3px solid #b37e00;outline-offset:3px}
.nb-home .nbp-shelf-toolbar{float:none;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;min-height:44px;margin:0 0 16px;padding:0}
.nb-home .nbp-shelf-toolbar>.nbp-rail-controls:only-child{margin-left:auto}
.nb-home .nbp-shelf-toolbar>a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0}
.nb-home .nbp-shelf-toolbar .nb-rail-buttons button{width:40px;height:40px}
.nb-home .nbp-shelf-toolbar:has(.nb-rail-buttons[hidden]):not(:has(>a)){display:none}
/* The original category photographs stay intact, on a contrasting image surface. */
.nb-home .nbp-category-rail .nb-category-card{background:#0b1e2b;grid-template-columns:46% minmax(0,1fr);gap:10px}
.nb-home .nbp-category-rail .nb-category-card:before{display:none}
.nb-home .nbp-category-rail .nb-category-card>img{background:linear-gradient(145deg,#fafaf7 0%,#eef1f3 100%);border:1px solid #dce2e5;border-radius:7px;padding:10px;filter:none;opacity:1;object-fit:contain;object-position:center;box-shadow:inset 0 1px 0 #fff,0 3px 9px #00000012;transition:background .22s ease,border-color .22s ease,box-shadow .22s ease}
.nb-home .nbp-category-rail .nb-category-card:hover>img{filter:none;transform:none;background:#f8fafb;border-color:#d6bd67;box-shadow:inset 0 1px 0 #fff,0 4px 12px #00000020}
.nb-home .nbp-category-rail .nb-category-caption b{color:#fff}
.nb-home .nbp-category-rail .nb-category-caption small{color:#d7e2e9}
/* Native scroll rails stay horizontal without an unnecessary inner vertical scrollbar. */
.cb-storefront .nb-product-rail{overflow-y:hidden}
@media(max-width:1190px){
 .cb-storefront .nb-home .nbp-rail{--sm-visible:3}
 .cb-storefront .nb-home .nbp-rail:has(>article:nth-child(4):last-child){--sm-visible:3}
}
@media(max-width:820px){
 .cb-storefront .nb-home .nbp-rail{--sm-visible:3}
 .cb-storefront .nb-home .nbp-rail:has(>article:nth-child(4):last-child){--sm-visible:3}
 .nb-home .nbp-shelf-intro>.sm-category-cta{margin-top:12px;font-size:11px}
 .nb-home .nbp-shelf-toolbar{margin-bottom:14px;gap:16px}
 .nb-home .nbp-category-rail .nb-category-card{gap:8px}
 .nb-home .nbp-category-rail .nb-category-card>img{padding:6px}
}
@media(max-width:540px){
 .cb-storefront .nb-home .nbp-rail,.cb-storefront .nb-home .nbp-rail:has(>article:nth-child(2):last-child),.cb-storefront .nb-home .nbp-rail:has(>article:nth-child(3):last-child),.cb-storefront .nb-home .nbp-rail:has(>article:nth-child(4):last-child){--sm-visible:2;--sm-gap:10px}
 .cb-storefront .nb-home .nbp-rail:has(>article:first-child:last-child){--sm-visible:1}
 .nb-home .nbp-shelf-toolbar .nb-rail-buttons{display:flex}
 .nb-home .nbp-shelf-toolbar .nb-rail-buttons button{width:36px;height:36px}
 .nb-home .nbp-shelf-intro>.sm-category-cta{max-width:100%;font-size:10px;padding:10px;gap:10px}
 .nb-home .nbp-product .nb-product-image{height:145px;padding:25px 10px 7px}
 .nb-home .nbp-product .nb-product-body{padding:10px}
 .nb-home .nbp-product .nb-product-title{font-size:11px;min-height:54px}
 .nb-home .nbp-product .nb-product-code{font-size:9px;min-height:30px}
 .nb-home .nbp-product .nb-price strong{font-size:18px}
 .nb-home .nbp-product .nb-add-cart,.nb-home .nbp-product .nbp-details-link{font-size:10px;gap:5px}
}

.nb-home [data-module-id="315"] .nbp-shelf-intro h2{font-size:clamp(20px,1.8vw,26px);letter-spacing:-.025em;overflow-wrap:normal}

/* Final category polish: original photos and dark card body; restrained yellow detail. */
.nb-home .nbp-category-rail .nb-category-card{border:1px solid #213846;box-shadow:0 3px 12px #06131c0d;transition:border-color .22s ease,box-shadow .22s ease}
.nb-home .nbp-category-rail .nb-category-card:hover{border-color:#bda044;box-shadow:0 5px 16px #06131c24}
.nb-home .nbp-category-rail .nb-category-card:focus-visible{outline:3px solid #f6cc37;outline-offset:3px}
.nb-home .nbp-category-rail .nb-category-caption{min-width:0;align-self:center}
.nb-home .nbp-category-rail .nb-category-caption b{line-height:1.4;overflow-wrap:break-word}
.nb-home .nbp-category-rail .nb-category-caption small{display:block;margin-top:5px;font-variant-numeric:tabular-nums;line-height:1.35}
@media(max-width:540px){.nb-home .nbp-category-rail .nb-category-card>img{padding:8px;height:91px}.nb-home .nbp-category-rail .nb-category-caption{align-self:start}.nb-home .nbp-category-rail .nb-category-caption small{margin-top:4px}}
@media(prefers-reduced-motion:reduce){.nb-home .nbp-category-rail .nb-category-card,.nb-home .nbp-category-rail .nb-category-card>img{transition:none}}
