.products-page .page-hero { padding-bottom: 32px; }
.products-page .hero-heading { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: end; }
.products-page .hero-heading > div { max-width: none; }
.products-page .hero-heading h1 { font-size: clamp(2.5rem, 4.3vw, 4.6rem); text-wrap: balance; }
.products-page .hero-heading .lead { margin: 14px 0 0; max-width: 49ch; }
.products-page .product-hero-actions { justify-content: flex-end; margin-top: 0; gap: 10px; }

#utvalget {
 scroll-margin-top: 12px;
 padding-block: clamp(24px,4vw,52px) clamp(34px,5vw,68px);
 border-top: 1px solid var(--line);
}
.product-explorer-header {
 display: grid;
 grid-template-columns: minmax(0,1fr) minmax(225px,1fr);
 align-items: end;
 gap: 16px 32px;
 margin-bottom: 25px;
}
#all-product-categories { margin: 0; font-size: clamp(1.9rem,4.2vw,3.8rem); line-height: 1.05; letter-spacing: -.055em; }
.product-search { display: grid; gap: 5px; justify-self:end; width:min(100%,370px); }
.product-search label { color:var(--ink); font-size:.875rem; font-weight:600; }
.product-search input {
 min-width:0;
 width:100%;
 min-height:46px;
 border:1px solid var(--line);
 border-radius:5px;
 padding:8px 11px;
 background:var(--white);
 color:var(--ink);
 font:inherit;
 font-size:1rem;
}
#category-count { color:var(--muted); font-size:.875rem; margin:0 0 12px; }
#category-count:empty { display:none; }
#category-empty { margin:12px 0 0; }
#category-empty .text-link { min-height:44px; }
.product-categories { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; gap:clamp(10px,2vw,26px); }
.product-category-group {
 min-width:0;
 background:#f7f5f0;
 border:1px solid var(--line);
 border-radius:6px;
 overflow:hidden;
}
.product-category-group h3 { margin:0; padding:16px 15px; font-size:clamp(1rem,1.45vw,1.25rem); line-height:1.2; letter-spacing:-.025em; }
.product-category-list { list-style:none; padding:0; margin:0; }
.product-category-list li { border-top:1px solid var(--line); }
.product-category {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:10px;
 padding:10px 15px;
 min-height:53px;
 color:var(--ink);
 font-weight:550;
 line-height:1.27;
 text-decoration:none;
 transition:background-color .18s ease;
}
.product-category span { min-width:0; overflow-wrap:break-word; }
.product-category::after {
 content:"";
 width:7px;
 height:7px;
 flex:none;
 margin-right:3px;
 border-top:1.5px solid currentColor;
 border-right:1.5px solid currentColor;
 transform:rotate(45deg);
}
.product-category:focus-visible { outline:2px solid #2c53a2; outline-offset:-3px; }
@media (hover:hover) {
 .product-category:hover { background:#e7e4dc; }
 .product-category:hover span { text-decoration:underline; text-underline-offset:.18em; }
}
@media (761px <= width <= 1050px) { .product-category { min-height:62px; } }
@media (max-width:760px) {
 .product-explorer-header { grid-template-columns:minmax(0,1fr); margin-bottom:17px; gap:14px; }
 .product-search { justify-self:start; width:100%; }
 .product-categories { grid-template-columns:minmax(0,1fr); gap:12px; }
 .product-category-group h3 { padding:13px 12px; }
 .product-category { padding-inline:12px; min-height:47px; }
}
@media (prefers-reduced-motion:reduce) { .product-category { transition:none; } }

.product-work { border-top: 1px solid var(--line); padding-block: 44px 65px; }
.product-guide h2 { margin: 0 0 10px; }
.product-guide-lead, .product-work-note { max-width: 68ch; margin: 0 0 22px; }
.product-guide article { border-top: 1px solid var(--line); padding-top: 13px; }
.product-guide h3 { font-size: 1.18rem; margin: 0 0 7px; }
.product-guide article p { margin: 0; }
.product-guide .text-link { min-height: 44px; font-size: .93rem; }
.product-work-intro { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 22px; }
.product-work-intro h2 { margin: 0 0 5px; }
.product-work-intro > div:last-child { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.product-work-intro .text-link { min-height: 44px; font-size: .93rem; }
.product-work-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-work-photos img { width: 100%; height: auto; border-radius: 6px; }

.products-page .product-hero-actions .button { justify-content: center; min-height: 48px; }

@media (max-width: 950px) {
 .products-page .hero-heading { display: block; }
 .products-page .product-hero-actions { justify-content: flex-start; margin-top: 18px; }
}
@media (max-width: 760px) {
 .products-page .page-hero { padding-bottom: 22px; }
 .products-page .hero-heading h1 { font-size: clamp(2.1rem, 8.3vw, 3.4rem); }
 .products-page .hero-heading .lead { font-size: 1rem; margin-top: 8px; }
 .product-work { padding-block: 30px 42px; }
}
@media (max-width: 600px) {
 .product-work-photos { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 420px) {
 .products-page .product-hero-actions .button { min-width: 130px; }
 .products-page .product-hero-actions .button { padding-inline: 9px; font-size: .875rem; text-align: center; }
}
