/* Scoped to the catalogue bar on the single product prototype. */
.nmsc-catalog-bar{display:flex;align-items:center;justify-content:space-between;gap:30px;min-height:84px;max-width:1320px;width:90%;margin:auto;font-family:Arial,sans-serif;color:#000}
.nmsc-catalog-categories{display:flex;align-items:center;gap:30px;min-width:0;padding:8px 0;overflow-x:auto;scrollbar-width:thin}
.nmsc-catalog-categories a{color:#000;text-decoration:none;font-size:13px;font-weight:400;line-height:1.45;text-transform:uppercase;position:relative;padding:0 2px;white-space:nowrap;border:0}
.nmsc-catalog-categories a::after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:3px;background:transparent}.nmsc-catalog-categories a.is-active::after,.nmsc-catalog-categories a:hover::after,.nmsc-catalog-categories a:focus-visible::after{background:#ffdd00}
.nmsc-product-search{display:flex;background:#d9dade;border:0;border-radius:8px;overflow:hidden;min-width:240px;padding:0 10px;margin:0}
.nmsc-product-search input[type=search]{border:0;background:transparent;min-width:0;width:100%;padding:12px 8px;font:16px/1.45 Arial,sans-serif;color:#000}
.nmsc-product-search button{border:0;background:transparent;padding:8px;cursor:pointer;color:#000}
.nmsc-product-search svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.nmsc-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
@media(max-width:980px){.nmsc-catalog-bar{flex-wrap:wrap;gap:12px;padding:10px 0;min-height:0}.nmsc-catalog-categories{width:100%;gap:24px}.nmsc-catalog-categories a{padding:0 2px}.nmsc-product-search{width:100%;border-left:0}}

/* Archive layout only; single products and shared site elements are unchanged. */
body.nmsc-product-archive #main-content .container{width:90%;max-width:1320px;padding-top:0;padding-bottom:60px}
body.nmsc-product-archive #main-content .container::before{display:none}
body.nmsc-product-archive #sidebar{display:none}
body.nmsc-product-archive #left-area{width:100%;padding:0;float:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 28px}
body.nmsc-product-archive .nmsc-catalog-archive-bar{grid-column:1/-1;background:#e7e7e7;box-shadow:0 0 0 100vmax #e7e7e7;clip-path:inset(0 -100vmax)}
body.nmsc-product-archive .nmsc-catalog-archive-bar .nmsc-catalog-bar{width:100%}
body.nmsc-product-archive #left-area article{margin:0;padding:0;min-width:0}
body.nmsc-product-archive #left-area .entry-featured-image-url{display:block;margin:0 0 14px;aspect-ratio:1;background:#fff}
body.nmsc-product-archive #left-area .entry-featured-image-url img{display:block;width:100%;height:100%;object-fit:contain}
body.nmsc-product-archive #left-area h2.entry-title{font:700 18px/1.3 Arial,sans-serif;padding:0;margin:0;color:#000;overflow-wrap:anywhere}
body.nmsc-product-archive #left-area h2.entry-title a{color:#000}
body.nmsc-product-archive #left-area h2.entry-title a:hover{color:#777}
body.nmsc-product-archive #left-area .pagination{grid-column:1/-1}
@media(max-width:1100px){body.nmsc-product-archive #left-area{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:980px){body.nmsc-product-archive #left-area{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px}}
@media(max-width:600px){body.nmsc-product-archive #left-area{grid-template-columns:minmax(0,1fr)}}

/* Product result cards match the light product cards on the homepage. */
body.nmsc-product-archive #left-area h2.entry-title::before{content:"";display:block;width:48px;height:7px;background:#ffdd00;margin:0 0 8px;}
body.nmsc-product-archive #left-area .post-meta,body.nmsc-product-archive #left-area .post-content{display:none;}
body.nmsc-product-archive #left-area .pagination{grid-column:1/-1;}
@media(max-width:980px){body.nmsc-product-archive #left-area{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px;}}
@media(max-width:560px){body.nmsc-product-archive #left-area{grid-template-columns:1fr;gap:32px;}body.nmsc-product-archive #left-area h2.entry-title{font-size:20px;}}

/* Keep the scrollable category navigation inside the results grid on small screens. */
body.nmsc-product-archive .nmsc-catalog-archive-bar{min-width:0;max-width:100%;}
body.nmsc-product-archive .nmsc-catalog-bar{min-width:0;box-sizing:border-box;}
body.nmsc-product-archive .nmsc-catalog-categories{max-width:100%;box-sizing:border-box;}
