/* NCP category hierarchy: isolated from existing product gallery and product cards. */
.ncp-hierarchy-section{padding-top:clamp(32px,5vw,70px)}
.ncp-hierarchy-breadcrumbs{margin-bottom:32px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:.9rem}
.ncp-hierarchy-breadcrumbs a{color:#17645d;text-decoration:none}
.ncp-hierarchy-breadcrumbs a:hover{text-decoration:underline}
.ncp-hierarchy-heading{margin-bottom:28px}
.ncp-subcategory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ncp-subcategory-card{min-width:0;display:flex;align-items:flex-start;gap:16px;border:1px solid #d9e7e4;background:#fff;border-radius:14px;padding:24px 20px;color:#153f3b;text-decoration:none;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;min-height:170px}
.ncp-subcategory-card:hover{border-color:#218778;box-shadow:0 10px 32px rgba(17,68,61,.10);transform:translateY(-3px)}
.ncp-subcategory-card:focus-visible{outline:3px solid #165e56;outline-offset:3px}
.ncp-subcategory-card__icon{flex:0 0 50px;width:50px;height:50px;border-radius:10px;background:#eaf5f2;color:#17645d;display:flex;align-items:center;justify-content:center;font-size:1.55rem;overflow:hidden}
.ncp-subcategory-card__icon img{width:100%;height:100%;object-fit:cover}
/* Product Gallery: uniformly cropped photographic subcategory thumbnails. */
.ncp-subcategory-card--photo{align-items:center;min-height:176px}
.ncp-subcategory-card--photo .ncp-subcategory-card__icon{flex:0 0 102px;width:102px;height:126px;background:#f5f9f8;border-radius:10px}
.ncp-subcategory-card--photo .ncp-subcategory-card__icon img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
@media(max-width:400px){.ncp-subcategory-card--photo .ncp-subcategory-card__icon{flex-basis:82px;width:82px;height:104px}}
.ncp-subcategory-card__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:9px;line-height:1.5}
.ncp-subcategory-card__text strong{font-size:1rem;font-weight:700;overflow-wrap:anywhere}
.ncp-subcategory-card__text small{font-size:.88rem;color:#456961;line-height:1.55}
.ncp-subcategory-card__count{color:#17645d;font-size:.82rem;font-weight:650}
.ncp-subcategory-card__arrow{align-self:flex-start;color:#17645d;flex:0 0 auto}
.ncp-subcategory-disclaimer{margin:28px 0 0;color:#566963;font-size:.9rem;line-height:1.6}
@media(max-width:960px){.ncp-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ncp-subcategory-grid{grid-template-columns:minmax(0,1fr);gap:14px}.ncp-subcategory-card{padding:19px 16px;min-height:0}.ncp-hierarchy-breadcrumbs{font-size:.82rem}}
@media(prefers-reduced-motion:reduce){.ncp-subcategory-card{transition:none}.ncp-subcategory-card:hover{transform:none}}

/* Category Product Gallery listing: no sidebar. Keep the shared .container width
   (max 1240px with responsive gutters), rather than stretching edge to edge. */
.catalogue-layout--gallery-products{grid-template-columns:minmax(0,1fr)}
.catalogue-layout--gallery-products .catalogue-main{min-width:0;width:100%;max-width:100%}
.catalogue-layout--gallery-products .catalogue-toolbar{width:100%}
.ncp-gallery-view-all{max-width:100%;white-space:normal;text-align:center}
@media(max-width:640px){.catalogue-layout--gallery-products .catalogue-toolbar{flex-wrap:wrap}.catalogue-layout--gallery-products .catalogue-search{min-width:0;flex:1 1 100%}}

/* Product Gallery listings use Shop cards, but not the Shop's 260px sidebar.
   Give the full-width gallery an additional column rather than oversized cards.
   Keep all .product-grid--catalogue rules outside this modifier unchanged. */
@media (min-width: 600px) {
  .catalogue-layout--gallery-products .product-grid--catalogue {
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 20px;
  }
}
.ncp-shop-active-category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin: -5px 0 20px;
  color: #426068;
  font-size: .91rem;
}
.ncp-shop-active-category strong { color: #103e49; }
.ncp-shop-active-category a { color: #0a7382; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ncp-shop-active-category a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Awaiting-publication categories: no product counts, no product-list shortcuts. */
.ncp-coming-soon-label{display:inline-block;align-self:flex-start;background:#fff5df;border:1px solid #dfc17d;border-radius:999px;padding:4px 10px;color:#795313;font-size:.78rem;font-weight:750;letter-spacing:.02em}
.ncp-coming-soon-notice{max-width:680px;margin:32px auto 64px;padding:clamp(26px,5vw,56px);border:1px solid #d9e7e4;border-radius:18px;background:#fff;text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px;box-shadow:0 10px 35px rgba(15,62,51,.05)}
.ncp-coming-soon-notice__icon{font-size:2rem;color:#17645d;background:#eaf5f2;border-radius:50%;height:76px;width:76px;display:flex;align-items:center;justify-content:center}
.ncp-coming-soon-notice h1{margin:0;font-size:clamp(1.5rem,3vw,2.4rem)}
.ncp-coming-soon-notice p{margin:0;line-height:1.7;max-width:52ch;color:#456961}
