/* Photo-led collection links. Text stays HTML for sharp, accessible labels. */
#main ul.products:has(> .nh-collection-tile){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
#main ul.products li.nh-collection-tile{display:block!important;position:relative;min-width:0;padding:0!important;margin:0!important;border:0!important;border-radius:2px!important;background:transparent!important;box-shadow:none!important;overflow:hidden}
#main .nh-collection-link{display:block;position:relative;aspect-ratio:4/5;overflow:hidden;color:#241e22;text-decoration:none!important;background:#e9e3d9;isolation:isolate}
#main .nh-collection-scene{position:absolute;inset:0;overflow:hidden;transition:transform .65s cubic-bezier(.2,.7,.2,1);background:radial-gradient(ellipse at 20% 15%,#faf7f0 0%,#ebe4d9 48%,#d3c8b9 100%)}
#main .nh-collection-hoodie .nh-collection-scene{background:radial-gradient(ellipse at 80% 15%,#ddd7ce 0%,#b7ada3 60%,#8e8178 100%)}
#main .nh-collection-keps .nh-collection-scene{background:radial-gradient(ellipse at 70% 5%,#dedbd5 0%,#b9bbb4 60%,#8e948a 100%)}
#main .nh-collection-light{position:absolute;inset:0;background:linear-gradient(125deg,transparent 25%,#ffffff40 25.2%,transparent 60%);pointer-events:none}
#main li.nh-collection-tile img{position:absolute;display:block;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;object-fit:contain!important;aspect-ratio:auto!important;background:transparent!important;margin:0!important;padding:0!important;filter:drop-shadow(0 14px 12px #33291b20);pointer-events:none}
#main li.nh-collection-tile .nh-collection-detail{width:78%!important;height:86%!important;left:28%;top:-2%;transform:rotate(9deg);opacity:.85}
#main li.nh-collection-tile .nh-collection-main{width:100%!important;height:99%!important;left:-13%;top:-1%;transform:rotate(-6deg)}
#main .nh-collection-keps .nh-collection-main{width:104%!important;height:100%!important;left:-11%;top:1%;transform:rotate(-9deg)}
#main .nh-collection-keps .nh-collection-detail{width:80%!important;height:80%!important;left:29%;top:-16%;transform:rotate(13deg)}
#main li.nh-collection-tile .nh-collection-label{position:absolute;z-index:2;bottom:24px;left:24px;right:24px;display:flex;align-items:center;justify-content:center;gap:14px;min-height:58px;padding:15px 16px;margin:0!important;border:1px solid #ffffff80;background:#fff;color:#241e22;font-size:14px;font-weight:650;line-height:1.35;letter-spacing:.13em;text-transform:uppercase;box-shadow:0 3px 16px #241e2209}
#main .nh-collection-label svg{flex:0 0 auto;transition:transform .25s}
#main .nh-collection-link:focus-visible{outline:3px solid #b98c31;outline-offset:-4px}
@media(hover:hover){#main .nh-collection-link:hover .nh-collection-scene{transform:scale(1.035)}#main .nh-collection-link:hover .nh-collection-label svg{transform:translateX(4px)}}
@media(max-width:699px){
 #main ul.products:has(> .nh-collection-tile){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 #main .nh-collection-link{aspect-ratio:3/4}
 #main li.nh-collection-tile:last-child:nth-child(odd){grid-column:1/-1}
 #main li.nh-collection-tile:last-child:nth-child(odd) .nh-collection-link{aspect-ratio:16/9}
 #main li.nh-collection-tile .nh-collection-label{bottom:14px;left:12px;right:12px;min-height:44px;padding:11px 8px;gap:8px;font-size:11px;letter-spacing:.1em}
 #main .nh-collection-label svg{width:14px;height:14px}
 #main li.nh-collection-keps:last-child:nth-child(odd) .nh-collection-main{width:76%!important;height:145%!important;left:-1%;top:-25%}
 #main li.nh-collection-keps:last-child:nth-child(odd) .nh-collection-detail{width:65%!important;height:130%!important;left:43%;top:-42%;transform:rotate(8deg)}
 #main li.nh-collection-keps:last-child:nth-child(odd) .nh-collection-label{left:25%;right:25%}
}
@media(prefers-reduced-motion:reduce){#main .nh-collection-scene,#main .nh-collection-label svg{transition:none}}

#main .nh-collections-grid{list-style:none;margin:0;padding:0}
.woocommerce-shop #main .nh-shop-hero{display:block;min-height:0}
.woocommerce-shop #main .nh-shop-hero-copy{padding:26px 34px}
.woocommerce-shop #main .nh-shop-hero h1{font-size:clamp(28px,3vw,38px);max-width:none}
.woocommerce-shop #main .nh-shop-hero h1 br{display:none}
.woocommerce-shop #main .nh-shop-hero-copy>p:not(.nh-store-eyebrow){max-width:760px;margin-bottom:0}
@media(max-width:699px){.woocommerce-shop #main .nh-shop-hero-copy{padding:20px 22px}}

/* Five collections: three portrait tiles and two wider tiles on desktop. */
@media(min-width:700px){
 #main ul.products:has(> .nh-collection-tile:nth-child(5):last-child){grid-template-columns:repeat(6,minmax(0,1fr))!important}
 #main ul.products:has(> .nh-collection-tile:nth-child(5):last-child)>li{grid-column:span 2}
 #main ul.products:has(> .nh-collection-tile:nth-child(5):last-child)>li:nth-child(n+4){grid-column:span 3}
 #main ul.products:has(> .nh-collection-tile:nth-child(5):last-child)>li:nth-child(n+4) .nh-collection-link{aspect-ratio:3/2}
}
#main li.nh-collection-photo .nh-collection-main{width:100%!important;height:100%!important;inset:0;transform:none;object-fit:cover!important;filter:none}
#main li.nh-collection-rollup .nh-collection-main{object-fit:contain!important}
#main li.nh-collection-rollup .nh-collection-backdrop{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover!important;filter:blur(16px);opacity:.45;transform:scale(1.12)}

@media(min-width:1100px){
 .home .nohadra #tjanster .nh-category-grid:has(> :nth-child(5):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:782px) and (max-width:1099px){
 .home .nohadra #tjanster .nh-category-grid:has(> :nth-child(5):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Equal service cards, including images nested in editor columns. */
.home .nohadra #tjanster .nh-category-grid{grid-auto-rows:1fr}
.home .nohadra #tjanster .nh-card>.wp-block-columns,
.home .nohadra #tjanster .nh-card>.wp-block-columns>.wp-block-column{display:contents}
.home .nohadra #tjanster .nh-card-image{float:none}
.home .nohadra #tjanster .nh-card-image>a{display:block}
.home .nohadra #tjanster .nh-card-image img{height:auto}

/* New categories use the standard WooCommerce category image and a neutral scene. */
#main li.nh-collection-single:not(.nh-collection-photo) .nh-collection-main{width:90%!important;height:85%!important;left:5%;top:0;transform:none}
