/* Category series: approved compact catalog-card-pattern.md. */
.nv-catalog-categories .category-wrapper { display:grid; grid-template-columns:repeat(auto-fill,minmax(168px,1fr)); gap:12px; margin:0 0 40px; }
.nv-catalog-categories .category-card { box-sizing:border-box; width:100%; min-width:0; max-width:210px; margin:0; padding:0; border:1px solid #e5e9e6; border-radius:9px; background:#fff; box-shadow:none; transform:none; transition:border-color .18s ease; }
.nv-category-products-layout { display:grid; grid-template-columns:204px minmax(0,1fr); gap:28px; align-items:start; }
.nv-category-categories-sidebar { position:sticky; top:calc(var(--nv-header-height, 80px) + 12px); max-height:calc(100dvh - var(--nv-header-height, 80px) - 24px); overflow-y:auto; border-right:1px solid #e6e9e7; padding:0 14px 4px 0; }
.nv-category-categories-heading { margin:0 0 10px; padding:6px 10px; color:#747c78; font-size:15px; font-weight:400; line-height:1.4; }
.nv-category-categories-nav { display:grid; gap:3px; }
.nv-category-categories-group { margin:0; }
.nv-category-categories-group > .nv-category-categories-parent { display:flex; align-items:center; justify-content:space-between; gap:12px; list-style:none; margin:0; padding:9px 10px; border-radius:6px; color:#424945; font-size:14px; font-weight:400; line-height:1.4; cursor:pointer; }
.nv-category-categories-navigation > summary::after,.nv-category-categories-group > summary::after { content:""; width:6px; height:6px; flex:0 0 6px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(-45deg); margin-right:3px; }
.nv-category-categories-group[open] > summary::after { transform:rotate(45deg); }
.nv-category-categories-children { display:grid; gap:3px; margin:3px 0 5px 16px; padding-left:8px; border-left:1px solid #dce5d4; }
.nv-category-categories-link { display:flex; align-items:baseline; justify-content:space-between; gap:8px; padding:9px 10px; border-radius:6px; color:#424945; font-size:14px; line-height:1.4; text-decoration:none; }
.nv-category-categories-count { flex-shrink:0; color:#747c78; font-size:12px; font-variant-numeric:tabular-nums; }
.nv-category-categories-link.is-active .nv-category-categories-count { color:inherit; }
.nv-category-categories-link.is-active { background:#edf4e5; color:#527821; }
.nv-category-categories-group:has(.is-active) > summary { color:#527821; }
@media (hover:hover) {
 .nv-category-categories-link:hover,.nv-category-categories-group > summary:hover { background:#f0f6e8; color:#527821; }
}
.nv-category-products-content { min-width:0; width:100%; }
.nv-catalog-categories .nv-category-products-content .product-cards-wrapper { grid-template-columns:repeat(auto-fill,minmax(168px,1fr)); }
@media (max-width:480px) {
 .nv-catalog-categories .nv-category-products-content .product-cards-wrapper { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.nv-category-products-content .products-card[hidden] { display:none !important; }
@media (max-width:767px) {
 .nv-category-products-layout { display:flex; flex-direction:column; gap:16px; }
 .nv-category-categories-sidebar { position:static; max-height:none; overflow:visible; width:100%; border:1px solid #dce1df; border-radius:10px; padding:0; }
 .nv-category-categories-heading { margin:0; padding:14px 16px 8px; font-size:15px; }
 .nv-category-categories-nav { padding:0 10px 10px; max-height:45dvh; overflow-y:auto; }
 .nv-category-categories-link,.nv-category-categories-group > .nv-category-categories-parent { min-height:44px; padding:12px; }
}
.nv-catalog-categories .category-card__link { box-sizing:border-box; display:flex; flex-direction:column; height:100%; padding:0; border-radius:inherit; color:#202422; text-decoration:none; }
.nv-catalog-categories .category-card__image { box-sizing:border-box; display:flex; align-items:center; justify-content:center; height:130px; flex:0 0 130px; padding:12px; background:#fff; border-radius:9px 9px 0 0; }
.nv-catalog-categories .category-card__img { display:block; width:100%; max-width:100%; height:100%; max-height:106px; object-fit:contain; object-position:center; }
.nv-catalog-categories .category-card__no-image { color:#747c78; font-size:12px; text-align:center; }
.nv-catalog-categories .category-card-text { display:flex; flex:1; flex-direction:column; gap:7px; margin:0; padding:11px 12px 12px; background:#fafbf9; border-top:1px solid #f0f2ef; border-radius:0 0 9px 9px; transition:background-color .18s ease; }
.nv-catalog-categories .category-card__name { display:block; min-height:2.6em; margin:0; font-size:15px; font-weight:400; line-height:1.3; overflow-wrap:break-word; text-wrap:pretty; }
.nv-catalog-categories .category-card__quantity { display:block; margin-top:auto; color:#747c78; font-size:12px; line-height:1.4; text-transform:none; }
.nv-catalog-categories .category-card:hover { transform:none; box-shadow:none; background:#fff; }
.nv-catalog-categories .category-card__link:focus-visible { outline:2px solid #668d2b; outline-offset:3px; }
@media (hover:hover) {
 .nv-catalog-categories .category-card:hover { border-color:#a1c875; }
 .nv-catalog-categories .category-card:hover .category-card-text { background:#edf5e3; }
}
.nv-catalog-categories .nv-street-description { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:40px; margin-top:0; padding-top:32px; border-top:1px solid #e5e9e6; }
.nv-catalog-categories .nv-street-description .category-text { width:auto; max-width:none; min-width:0; margin:0; color:#202422; font-size:16px; line-height:1.7; }
.nv-street-description h2 { margin:32px 0 14px; font-size:23px; font-weight:400; line-height:1.35; text-wrap:pretty; }
.nv-street-description h2:first-child { margin-top:0; }
.nv-street-description h3 { margin:24px 0 10px; font-size:18px; font-weight:400; line-height:1.45; }
.nv-street-description p { margin:0 0 16px; }
.nv-street-description ul { padding-left:22px; margin:0 0 20px; }
.nv-street-description li { margin:0 0 10px; }
.nv-street-description a { color:#42671b; text-decoration:underline; text-underline-offset:3px; }
.nv-street-description a:focus-visible { outline:2px solid #668d2b; outline-offset:3px; }
@media(max-width:767px) { .nv-catalog-categories .nv-street-description { grid-template-columns:1fr; gap:28px; padding-top:24px; } }
@media(max-width:480px) {
 .nv-catalog-categories .category-wrapper { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-bottom:24px; }
 .nv-catalog-categories .category-card { max-width:none; }
 .nv-catalog-categories .category-card__image { height:112px; flex-basis:112px; padding:10px; }
 .nv-catalog-categories .category-card__img { max-height:92px; }
 .nv-catalog-categories .category-card-text { padding:12px; gap:8px; }
 .nv-catalog-categories .category-card__name { font-size:14px; }
 .nv-street-description h2 { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) { .nv-catalog-categories .category-card, .nv-catalog-categories .category-card-text { transition:none; } }

/* Category pages and individual products follow the approved compact catalog. */
.nv-catalog-categories { padding:32px 0 48px; color:#202422; font-family:"Nunito Sans", system-ui, sans-serif; font-weight:400; }
.nv-catalog-categories *, .nv-catalog-categories *::before, .nv-catalog-categories *::after { box-sizing:border-box; }
.nv-catalog-categories .breadcrumb { display:flex; flex-wrap:wrap; gap:8px 0; margin:0 0 22px; padding:0; font-size:13px; line-height:1.5; }
.nv-catalog-categories .breadcrumb a { color:#59635d; }
.nv-catalog-categories .breadcrumb .active { color:#527821; }
.nv-catalog-categories .category__heading { max-width:960px; margin:0 0 28px; font-family:inherit; font-size:clamp(26px,3vw,40px); font-weight:400; line-height:1.2; letter-spacing:-.8px; text-transform:none; text-wrap:pretty; }
.nv-catalog-categories .product-cards-wrapper { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin:0 0 32px; }
.nv-catalog-categories .product-cards-wrapper .products-card { width:100%; min-width:0; max-width:260px; margin:0; padding:0; border:1px solid #e5e9e6; border-radius:9px; background:#fff; box-shadow:none; transform:none; transition:border-color .18s ease; }
.nv-catalog-categories .products-card__link { display:flex; flex-direction:column; height:100%; color:#202422; border-radius:inherit; text-decoration:none; }
.nv-catalog-categories .products-card__code { display:block; min-height:32px; margin:0; padding:10px 12px 4px; color:#69736c; font-size:11px; line-height:1.5; }
.nv-catalog-categories .products-card__image { display:flex; align-items:center; justify-content:center; height:130px; flex:0 0 130px; padding:12px; background:#fff; }
.nv-catalog-categories .products-card__img { display:block; width:100%; height:100%; max-height:106px; margin:0; object-fit:contain; object-position:center; }
.nv-catalog-categories .products-card__no-image { color:#69736c; font-size:12px; text-align:center; }
.nv-catalog-categories .products-card-text { display:flex; flex:1; flex-direction:column; flex-wrap:nowrap; gap:14px; padding:11px 12px 12px; border-top:1px solid #f0f2ef; border-radius:0 0 9px 9px; background:#fafbf9; transition:background-color .18s ease; }
.nv-catalog-categories .products-card__name { flex-basis:auto; min-height:0; margin:0; font-family:inherit; font-size:15px; font-weight:400; line-height:1.3; overflow-wrap:break-word; text-wrap:pretty; }
.nv-catalog-categories .products-card__series { display:block; color:#527821; font-size:12px; line-height:1.35; }
.nv-catalog-categories .products-card__details { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 10px; margin-top:auto; }
.nv-catalog-categories .products-card__light { color:#69736c; opacity:1; font-size:12px; line-height:1.5; white-space:nowrap; }
.nv-catalog-categories .products-card__price { margin-left:auto; color:#202422; font-family:inherit; font-size:15px; font-weight:700; line-height:1.5; white-space:nowrap; }
.nv-catalog-categories a:focus-visible { outline:2px solid #668d2b; outline-offset:3px; }
.nv-catalog-categories .category-text-wrapper { gap:32px; margin-top:32px; padding-top:28px; border-top:1px solid #e5e9e6; }
.nv-catalog-categories .category-text { color:#464d49; font-family:inherit; font-size:16px; line-height:1.7; }
.nv-catalog-categories .category-text h2, .nv-catalog-categories .category-text h3 { color:#202422; font-family:inherit; font-weight:400; line-height:1.35; }
@media(hover:hover) {
 .nv-catalog-categories .product-cards-wrapper .products-card:hover { border-color:#a1c875; transform:none; box-shadow:none; }
 .nv-catalog-categories .products-card:hover .products-card-text { background:#edf5e3; }
}
@media(max-width:1199px) {
 .nv-catalog-categories .product-cards-wrapper { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:899px) {
 .nv-catalog-categories .product-cards-wrapper { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:480px) {
 .nv-catalog-categories { padding:24px 0 32px; }
 .nv-catalog-categories .category__heading { margin-bottom:22px; letter-spacing:-.5px; }
 .nv-catalog-categories .product-cards-wrapper { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .nv-catalog-categories .product-cards-wrapper .products-card { max-width:none; }
 .nv-catalog-categories .products-card__image { height:112px; flex-basis:112px; padding:10px; }
 .nv-catalog-categories .products-card__img { max-height:92px; }
 .nv-catalog-categories .products-card__name { font-size:14px; }
 .nv-catalog-categories .products-card__details { flex-direction:column; gap:4px; }
 .nv-catalog-categories .products-card__price { margin-left:0; }
}
@media(prefers-reduced-motion:reduce) {
 .nv-catalog-categories .product-cards-wrapper .products-card, .nv-catalog-categories .products-card-text { transition:none; }
}

/* Load more and regular pagination share the same compact catalog surface. */
.nv-catalog-pager { display:flex; flex-direction:column; align-items:center; gap:14px; margin:24px 0 0; }
.nv-catalog-pager__more { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:12px 28px; border:1px solid #a1c875; border-radius:9px; background:#f1f6eb; color:#365316; font:inherit; font-size:15px; line-height:1.4; text-decoration:none; }
.nv-catalog-pager__more:hover { background:#e5f0d9; color:#365316; }
.nv-catalog-pager__more[aria-disabled="true"] { opacity:.65; cursor:wait; }
.nv-catalog-pager__status { margin:0; color:#69736c; font-size:13px; line-height:1.5; }
.nv-catalog-pager .pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:6px; margin:0; padding:0; list-style:none; }
.nv-catalog-pager .pagination li { display:block; margin:0; padding:0; }
.nv-catalog-pager .pagination li a, .nv-catalog-pager .pagination li span { display:flex; align-items:center; justify-content:center; float:none; min-width:40px; height:40px; margin:0; padding:0 10px; border:1px solid transparent; border-radius:8px; background:transparent; color:#464d49; font:inherit; font-size:14px; text-decoration:none; }
.nv-catalog-pager .pagination .active span, .nv-catalog-pager .pagination .active a { border-color:#d4e4c4; background:#edf5e3; color:#365316; }
.nv-catalog-pager .pagination a:hover { background:#f1f6eb; color:#365316; }
.nv-catalog-pager .pagination .disabled span { color:#929a95; }
.nv-catalog-pager__error { margin:0; max-width:440px; color:#983b32; font-size:13px; line-height:1.5; text-align:center; }
.nv-catalog-pager [hidden] { display:none; }
@media(max-width:480px) { .nv-catalog-pager__more { width:100%; } }

/* H2-driven sections from the two existing category rich-text editors. */
.nv-category-editorial { margin-top:40px; border-top:1px solid #e5e9e6; }
.nv-category-editorial__section { display:grid; grid-template-columns:minmax(180px,.7fr) minmax(0,1.7fr); align-items:start; gap:24px 48px; padding:36px 0; border-bottom:1px solid #e5e9e6; }
.nv-category-editorial__section>h2 { margin:0; color:#202422; font:400 25px/1.35 "Nunito Sans", system-ui, sans-serif; text-wrap:pretty; }
.nv-category-editorial__body { min-width:0; color:#464d49; font-size:16px; line-height:1.7; overflow-wrap:break-word; }
.nv-category-editorial__body p { max-width:76ch; margin:0 0 18px; }
.nv-category-editorial__body>:last-child { margin-bottom:0; }
.nv-category-editorial__body h3 { margin:28px 0 12px; color:#202422; font-size:20px; line-height:1.4; font-weight:400; }
.nv-category-editorial__body h3:first-child { margin-top:0; }
.nv-category-editorial__body>ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:24px 0; padding:0; list-style:none; }
.nv-category-editorial__body>ul>li { padding:18px; margin:0; border:1px solid #e5e9e6; border-radius:9px; background:#fafbf9; font-size:14px; line-height:1.65; }
.nv-category-editorial__body>ul>li>strong:first-child { display:block; margin-bottom:8px; color:#202422; font-weight:700; }
.nv-category-editorial__body a { color:#42671b; text-decoration:underline; text-underline-offset:3px; }
.nv-category-editorial__body img { max-width:100%; height:auto; }
.nv-category-editorial__body table { display:block; max-width:100%; overflow-x:auto; }
.nv-category-editorial__section--intro { grid-template-columns:1fr; gap:16px; padding:32px; margin-top:24px; background:#f5f7f2; border:1px solid #e5e9e6; border-radius:12px; }
.nv-category-editorial__section--intro>h2 { max-width:none; font-size:28px; }
.nv-category-editorial__section--intro p { max-width:none; }
.nv-category-editorial__section--untitled { grid-template-columns:1fr; }
.nv-street-consult { padding-top:0; }
.nv-street-consult h2 { font-weight:400; }
@media(max-width:900px) {
 .nv-category-editorial__section { grid-template-columns:1fr; gap:18px; padding:28px 0; }
 .nv-category-editorial__section--intro { padding:24px; }
 .nv-category-editorial__section>h2 { max-width:720px; font-size:24px; }
}
@media(max-width:550px) {
 .nv-category-editorial { margin-top:28px; }
 .nv-category-editorial__body>ul { grid-template-columns:1fr; }
 .nv-category-editorial__section--intro { padding:20px; }
 .nv-category-editorial__section>h2 { font-size:22px; }
}

/* Theme-only controls for the Shop component's existing query filters. */
.nv-catalog-filters { margin:0 0 24px; padding:20px; border:1px solid #e5e9e6; border-radius:9px; background:#fafbf9; font-family:inherit; }
.nv-catalog-filters__row { display:flex; flex-wrap:wrap; align-items:flex-end; gap:20px 28px; }
.nv-catalog-filters fieldset { min-width:0; padding:0; margin:0; border:0; }
.nv-catalog-filters legend { float:none; width:auto; margin:0 0 10px; padding:0; color:#202422; font-size:14px; line-height:1.4; }
.nv-catalog-filters__inputs { display:flex; align-items:center; gap:10px; }
.nv-catalog-filters__inputs label { display:flex; align-items:center; gap:8px; margin:0; color:#69736c; font-size:13px; }
.nv-catalog-filters__inputs input { width:100px; height:42px; min-width:0; padding:8px 10px; border:1px solid #dce1df; border-radius:7px; background:#fff; color:#202422; font:inherit; font-size:15px; }
.nv-catalog-filters__manufacturers { flex:1 1 220px; }
.nv-catalog-filters__choices { display:flex; flex-wrap:wrap; gap:8px 16px; }
.nv-catalog-filters__choices label { display:flex; align-items:center; gap:7px; min-height:42px; margin:0; cursor:pointer; font-size:14px; }
.nv-catalog-filters__choices input { position:static; appearance:auto; width:17px; height:17px; margin:0; opacity:1; accent-color:#527821; }
.nv-catalog-filters__actions { display:flex; align-items:center; gap:16px; }
.nv-catalog-filters button { cursor:pointer; font-family:inherit; }
.nv-catalog-filters__actions button { min-height:42px; padding:10px 20px; border:1px solid #a1c875; border-radius:8px; color:#365316; background:#edf5e3; font-size:14px; }
.nv-catalog-filters__actions a { color:#59635d; font-size:13px; text-underline-offset:3px; }
.nv-catalog-filters__presets { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:18px; }
.nv-catalog-filters__presets[hidden] { display:none; }
.nv-catalog-filters__presets > span { margin-right:4px; color:#69736c; font-size:12px; }
.nv-catalog-filters__presets button { min-height:36px; padding:7px 12px; border:1px solid #dce1df; border-radius:7px; background:#fff; color:#464d49; font-size:13px; }
.nv-catalog-filters__presets button[aria-pressed="true"], .nv-catalog-filters button:hover { border-color:#a1c875; background:#edf5e3; color:#365316; }
.nv-catalog-filters__result { margin:16px 0 0; color:#69736c; font-size:13px; line-height:1.5; }
.nv-catalog-filters input:focus-visible, .nv-catalog-filters button:focus-visible { outline:2px solid #668d2b; outline-offset:3px; }
.nv-catalog-empty { margin:24px 0; padding:24px; border-radius:9px; background:#fafbf9; font-size:16px; line-height:1.6; }
@media(max-width:480px) {
 .nv-catalog-filters { padding:16px; }
 .nv-catalog-filters__row { gap:18px; }
 .nv-catalog-filters__power, .nv-catalog-filters__actions { width:100%; }
 .nv-catalog-filters__inputs label { flex:1; min-width:0; }
 .nv-catalog-filters__inputs input { width:100px; }
 .nv-catalog-filters__actions button { flex:1; }
 .nv-catalog-filters__presets > span { width:100%; }
}

/* Compact power-only filter panel. */
.nv-catalog-filters { display:flex; flex-wrap:wrap; align-items:center; gap:10px 16px; padding:12px 14px; margin-bottom:18px; }
.nv-catalog-filters__row { width:100%; align-items:center; gap:12px 20px; }
.nv-catalog-filters__power { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; }
#nv-power-label { color:#202422; font-size:13px; white-space:nowrap; }
.nv-catalog-filters__inputs { gap:8px; }
.nv-catalog-filters__inputs label { gap:6px; font-size:12px; }
.nv-catalog-filters__inputs input { width:82px; height:34px; padding:6px 8px; font-size:13px; }
.nv-catalog-filters__actions { gap:12px; }
.nv-catalog-filters__actions button { min-height:34px; padding:7px 14px; font-size:13px; }
.nv-catalog-filters__actions a { font-size:12px; }
.nv-catalog-filters__presets { margin:0; gap:6px; }
.nv-catalog-filters__presets > span { font-size:11px; }
.nv-catalog-filters__presets button { min-height:30px; padding:5px 9px; font-size:12px; }
.nv-catalog-filters__result { margin:0 0 0 auto; font-size:12px; white-space:nowrap; }
@media(max-width:480px) {
 .nv-catalog-filters { padding:12px; gap:10px; }
 .nv-catalog-filters__row { gap:10px; }
 .nv-catalog-filters__power { width:100%; }
 .nv-catalog-filters__inputs { flex:1; }
 .nv-catalog-filters__inputs input { width:100px; }
 .nv-catalog-filters__actions { width:auto; }
 .nv-catalog-filters__actions button { flex:none; }
 .nv-catalog-filters__presets { gap:6px; }
 .nv-catalog-filters__presets > span { display:none; }
 .nv-catalog-filters__result { margin-left:0; }
}

/* Fit the available category presets to the actual container width. */
.nv-catalog-filters { gap:8px 12px; padding:10px 12px; }
.nv-catalog-filters__row { width:auto; flex:0 1 auto; gap:10px; }
.nv-catalog-filters__power { gap:8px; }
.nv-catalog-filters__inputs { gap:6px; flex-wrap:wrap; }
.nv-catalog-filters__inputs label { flex:0 0 auto; }
.nv-catalog-filters__inputs input { width:100px; min-width:100px; flex:0 0 100px; }
.nv-catalog-filters__actions { gap:10px; }
.nv-catalog-filters__actions button { padding-inline:10px; }
.nv-catalog-filters__presets { flex:0 1 auto; gap:5px; }
.nv-catalog-filters__result { margin-left:auto; }
@media(max-width:600px) {
 .nv-catalog-filters__row { width:100%; }
 .nv-catalog-filters__power { flex-wrap:wrap; }
 .nv-catalog-filters__presets { flex:1 1 100%; }
 .nv-catalog-filters__result { margin-left:0; }
}
@media(max-width:480px) {
 .nv-catalog-filters__inputs input { width:100px; }
}

/* Product identity, model/power and optics are separate reading levels. */
.nv-catalog-categories .products-card-text { gap:7px; }
.nv-catalog-categories .products-card__name { font-weight:600; }
.nv-catalog-categories .products-card__model-power { font-size:14px; line-height:1.4; font-weight:600; overflow-wrap:break-word; }
.nv-catalog-categories .products-card__optics { color:#59635d; font-size:12px; line-height:1.5; overflow-wrap:break-word; }
.nv-catalog-categories .products-card__details { padding-top:7px; }
