/* Scoped navigation-page styles. Shared header, footer and product cards are unchanged. */
.dh-link-page {
    color: #243044;
    padding: 32px 0 48px;
    background: #fffaf4;
}
.dh-link-page *, .dh-link-page *::before, .dh-link-page *::after { box-sizing: border-box; }
.dh-link-page-heading { margin-bottom: 24px; }
.dh-link-page-heading h1 { margin: 0 0 10px; color: #172438; font-size: clamp(26px, 4vw, 36px); line-height: 1.25; }
.dh-link-page-heading p { margin: 0 0 12px; max-width: 760px; color: #536174; line-height: 1.65; }
.dh-link-page h2 { margin: 0 0 16px; color: #172438; font-size: 20px; line-height: 1.4; }
.dh-link-page a { overflow-wrap: anywhere; }
.dh-link-page a:focus-visible, .dh-link-page summary:focus-visible {
    outline: 3px solid #9f3800;
    outline-offset: 3px;
}
.dh-link-page .dh-inline-link { display: inline-flex; align-items: center; min-height: 44px; color: #9f3800; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.dh-category-layout { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr); gap: 24px; align-items: start; }
.dh-category-sidebar, .dh-category-results { min-width: 0; }
.dh-category-sidebar { padding: 20px; border: 1px solid #efdfcd; border-radius: 16px; background: #fff; }
.dh-category-note { margin: 0 0 16px; color: #536174; font-size: 14px; line-height: 1.6; }
.dh-category-page .dh-category-groups, .dh-category-page .dh-category-children ul { margin: 0; padding: 0; list-style: none; }
.dh-category-group { min-width: 0; padding: 8px 0; border-top: 1px solid #e7ebf0; }
.dh-category-parent { display: flex; align-items: center; min-height: 44px; padding: 8px 4px; color: #243044; font-weight: 600; line-height: 1.45; }
.dh-category-parent:hover, .dh-category-children a:hover { color: #9f3800; text-decoration: underline; }
.dh-category-children summary { min-height: 44px; padding: 10px 4px; color: #9f3800; cursor: pointer; font-size: 14px; line-height: 1.6; }
.dh-category-children ul { border-left: 2px solid #f2c4a9; }
.dh-category-children li { margin: 0; }
.dh-category-children a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px 8px 10px 12px; color: #39495f; line-height: 1.5; }
.dh-category-count { flex: 0 0 auto; padding: 2px 7px; border-radius: 20px; background: #fff1e7; color: #893200; font-size: 12px; font-weight: 600; }
.dh-category-empty { padding: 16px 0; color: #536174; line-height: 1.6; }
.dh-category-results { scroll-margin-top: 190px; }
.dh-category-page .form-select { padding: 0 0 0 13px; font-size: 12px; font-weight: 700; }
.dh-sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.dh-sitemap-card { min-width: 0; padding: 24px; border: 1px solid #efdfcd; border-top: 4px solid #ed5707; border-radius: 16px; background: #fff; }
.dh-sitemap-card p { margin: 0 0 12px; color: #536174; font-size: 14px; line-height: 1.65; }
.dh-sitemap-card ul { margin: 0; padding: 0; list-style: none; }
.dh-sitemap-card li { margin: 0; }
.dh-sitemap-card li a { display: flex; align-items: center; min-height: 44px; padding: 10px 0; color: #9f3800; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.dh-sitemap-card li a:hover { color: #6d2700; }
.dh-sitemap-card .dh-map-language-label { margin-top: 16px; font-weight: 600; }
.dh-map-language-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dh-map-language-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid #e6c7b4; border-radius: 8px; color: #893200; line-height: 1.5; background: #fff7f1; }
.dh-map-language-links a:hover { background: #ffecdf; text-decoration: underline; }
@media (max-width: 991px) {
    .dh-category-layout { grid-template-columns: minmax(0, 1fr); }
    .dh-category-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; align-items: start; }
    .dh-sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .dh-link-page { padding: 24px 0 36px; }
    .dh-category-sidebar, .dh-sitemap-card { padding: 18px; }
    .dh-category-groups, .dh-sitemap-grid { grid-template-columns: minmax(0, 1fr); }
    .dh-category-layout, .dh-sitemap-grid { gap: 18px; }
    .dh-category-results { scroll-margin-top: 160px; }
}
