/* Category catalogues continue the centred editorial gallery architecture. */
body.g-preview.g-category-catalogue .cv-catalogue-intro{
 width:100%;padding:clamp(28px,3.333333vw,64px) 12px 0;box-sizing:border-box
}
body.g-preview.g-category-catalogue .cv-catalogue-categories{
 display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
 gap:8px clamp(24px,2.5vw,48px);margin:0 auto;padding:12px 0 24px;
 border-top:0;border-bottom:0;max-width:100%
}
body.g-preview.g-category-catalogue .cv-catalogue-categories>a{
 display:block;flex:0 1 auto;min-width:0;max-width:100%;padding:8px 0;
 border:0!important;background:none!important;box-shadow:none!important;
 color:#dcdad7;font:400 clamp(15.4px,1.0694442vw,19.8px)/1.2 var(--font-ui);
 letter-spacing:-.012em;text-align:center;text-transform:uppercase;text-decoration:none!important
}
body.g-preview.g-category-catalogue .cv-catalogue-categories>a:is([aria-current],:hover,:focus-visible){color:var(--ink)}
body.g-preview.g-category-catalogue .cv-catalogue-categories>a::after{content:none!important}
body.g-preview.g-category-catalogue .cv-catalogue-categories>a>span{margin-left:8px;font:400 12px/1.2 var(--font-ui)}
body.g-preview.g-category-catalogue .cv-catalogue-intro>:is(.project-catalogue-heading,.catalogue-heading){
 margin:0 auto;padding:12px 12px 28px;text-align:center;max-width:100%;box-sizing:border-box
}
body.g-preview.g-category-catalogue .cv-catalogue-intro h1{
 margin:0 auto 24px;max-width:1200px;
 font:600 clamp(26px,2.083333vw,40px)/1.1 var(--font-ui);
 letter-spacing:-.032em;text-transform:uppercase;overflow-wrap:break-word
}
body.g-preview.g-category-catalogue .cv-catalogue-intro h1[data-cv-duplicate-title]{
 position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap
}
body.g-preview.g-category-catalogue .cv-catalogue-intro .lede,
body.g-preview.g-category-catalogue .cv-catalogue-intro>:is(.project-catalogue-heading,.catalogue-heading)>p:not(.eyebrow):not(.g-kicker){
 margin:0 auto;max-width:800px;text-align:center;
 font:300 16px/1.25 var(--font-ui);color:var(--muted);text-transform:uppercase
}
body.g-preview.g-category-catalogue .cv-catalogue-intro .lede p{font:inherit;margin:0;text-align:center}
body.g-preview.g-category-catalogue .cv-catalogue-intro .lede :is(strong,b){font-weight:inherit}
body.g-preview.g-category-catalogue .cv-catalogue-intro .section-text-toggle{
 position:relative;display:flex;margin:12px auto 0;font-size:0;align-items:center;justify-content:center
}
body.g-preview.g-category-catalogue .cv-catalogue-categories>a{
 font:600 clamp(22px,2.083333vw,40px)/1.1 var(--font-ui);letter-spacing:-.032em
}
@media(min-width:761px){
 body.g-preview.g-category-catalogue .cv-catalogue-categories[data-cv-large-categories]{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
 body.g-preview.g-category-catalogue .cv-catalogue-categories[data-cv-large-categories]>a:first-child{justify-self:end}
 body.g-preview.g-category-catalogue .cv-catalogue-categories[data-cv-large-categories]>a:last-child{justify-self:start}
}
body.g-preview.g-category-catalogue .catalogue-shell{padding-top:0;margin-top:0}
body.g-preview.g-category-catalogue .catalogue-layout{row-gap:0}
body.g-preview.g-category-catalogue .catalogue-results>:is(.result-count,.catalogue-result-heading){
 text-align:center;justify-content:center;margin-top:0;margin-bottom:28px;
 padding-top:16px;border-top:1px solid var(--line)
}
@media(max-width:760px){
 body.g-preview.g-category-catalogue .cv-catalogue-intro{padding-top:24px}
 body.g-preview.g-category-catalogue .cv-catalogue-categories{gap:8px 20px;padding-bottom:20px}
 body.g-preview.g-category-catalogue .cv-catalogue-categories>a{flex:0 1 auto;max-width:calc(50% - 10px)}
 body.g-preview.g-category-catalogue .cv-catalogue-intro h1{font-size:26px;margin-bottom:18px}
 body.g-preview.g-category-catalogue .cv-catalogue-intro .lede,
 body.g-preview.g-category-catalogue .cv-catalogue-intro>:is(.project-catalogue-heading,.catalogue-heading)>p:not(.eyebrow):not(.g-kicker){font-size:15px;line-height:1.25}
 body.g-preview.g-category-catalogue .cv-catalogue-categories>a{font-size:22px}
}

/* Every catalogue level shares the large category role; nested empty navigation shells are removed server-side. */
body.g-preview.g-category-catalogue .cv-catalogue-intro .section-text-toggle[hidden]{display:none}
body.g-preview.g-category-catalogue .catalogue-results>.catalogue-status{width:100%;text-align:center}
body.g-preview.g-category-catalogue .catalogue-results .catalogue-result-heading{
 position:relative;display:flex;flex-wrap:wrap;justify-content:center;text-align:center;gap:12px;margin:0 0 28px;padding-top:16px;border-top:1px solid var(--line)
}
body.g-preview.g-category-catalogue .catalogue-results .catalogue-result-heading>p[role="status"]{margin:0;text-align:center}
@media(min-width:761px){body.g-preview.g-category-catalogue .catalogue-results .catalogue-result-heading>a{position:absolute;right:0}}

body.g-preview.g-category-catalogue [data-cv-catalogue-count]{display:none!important}
body.g-preview.g-category-catalogue .cv-catalogue-paging{display:flex;justify-content:center;gap:32px;margin:32px 0}
body.g-preview.g-category-catalogue .cv-catalogue-paging a{font-size:24px;padding:8px 16px}
body.g-preview.g-category-catalogue .catalogue-sidebar{align-self:start}

/* Double the native column tracks so a single card keeps its width and centers exactly. */
body.g-preview .neolith-model-grid:has(>.collection-card:only-child){--cv-single-tracks:8;--cv-single-start:4;grid-template-columns:repeat(var(--cv-single-tracks),minmax(0,1fr))}
body.g-preview .neolith-model-grid>.collection-card:only-child{grid-column:var(--cv-single-start)/span 2}
@media(min-width:1800px){body.g-preview .neolith-model-grid:has(>.collection-card:only-child){--cv-single-tracks:10;--cv-single-start:5}}
@media(max-width:1100px){body.g-preview .neolith-model-grid:has(>.collection-card:only-child){--cv-single-tracks:6;--cv-single-start:3}}
@media(max-width:760px){body.g-preview .neolith-model-grid:has(>.collection-card:only-child){--cv-single-tracks:4;--cv-single-start:2}}
@media(max-width:600px){body.g-preview .neolith-model-grid>.collection-card:only-child{grid-column:1/-1}}

/* Center the three Timber models as a group, retaining native responsive card widths. */
body.g-preview .neolith-model-grid:has(>a[href*="/neolith/produse/pasadena/"]):has(>.collection-card:nth-child(3):last-child){--cv-timber-columns:4;display:flex;flex-wrap:wrap;justify-content:center}
body.g-preview .neolith-model-grid:has(>a[href*="/neolith/produse/pasadena/"]):has(>.collection-card:nth-child(3):last-child)>.collection-card{flex:0 0 calc((100% + 8px)/var(--cv-timber-columns) - 8px);min-width:0}
@media(min-width:1800px){body.g-preview .neolith-model-grid:has(>a[href*="/neolith/produse/pasadena/"]):has(>.collection-card:nth-child(3):last-child){--cv-timber-columns:5}}
@media(max-width:1100px){body.g-preview .neolith-model-grid:has(>a[href*="/neolith/produse/pasadena/"]):has(>.collection-card:nth-child(3):last-child){--cv-timber-columns:3}}
@media(max-width:760px){body.g-preview .neolith-model-grid:has(>a[href*="/neolith/produse/pasadena/"]):has(>.collection-card:nth-child(3):last-child){--cv-timber-columns:2}}
@media(max-width:600px){body.g-preview .neolith-model-grid:has(>a[href*="/neolith/produse/pasadena/"]):has(>.collection-card:nth-child(3):last-child){--cv-timber-columns:1}}

/* The reviewed HoReCa catalogue rail uses the same compact row rhythm as its overview. */
@media(min-width:761px){
 body.g-preview.g-category-catalogue .cv-catalogue-categories:is([aria-label="Categorii de pardoseli"],[aria-label="Категории покрытий"]){row-gap:clamp(4px,.35vw,7px)}
 body.g-preview.g-category-catalogue .cv-catalogue-categories:is([aria-label="Categorii de pardoseli"],[aria-label="Категории покрытий"])>a{padding-block:0;line-height:1.05}
}

/* Multi-level catalogue: long localized breadcrumbs wrap within the mobile frame. */
@media(max-width:760px){body.g-preview:is(:has(.cv-catalogue-section-rail),.cv-commercial-material) .project-contextbar>div{flex-wrap:wrap;white-space:normal;overflow:visible;min-width:0}body.g-preview:is(:has(.cv-catalogue-section-rail),.cv-commercial-material) .project-contextbar>div>:is(a,span){min-width:0;max-width:100%;overflow-wrap:anywhere}}

@media(max-width:760px){body.g-preview:is(:has(.cv-catalogue-section-rail),.cv-commercial-material) .cv-catalogue-categories>a{overflow-wrap:anywhere;flex:0 0 auto;width:auto;max-width:100%}}

/* Shared material rows follow the agreed slim gallery navigation. */
body.g-preview.g-category-catalogue .cv-catalogue-categories,
body.g-preview.g-category-catalogue .cv-catalogue-categories[data-cv-large-categories]{display:flex;flex-wrap:nowrap;justify-content:safe center;gap:clamp(6px,.75vw,14px);overflow-x:auto;padding:8px 12px 20px}
body.g-preview.g-category-catalogue .cv-catalogue-categories>a{flex:0 0 auto;max-width:none;white-space:nowrap;padding:5px 2px;font:400 clamp(12px,1.02vw,18.3px)/1.1 var(--font-ui);letter-spacing:-.012em}
@media(max-width:760px){body.g-preview.g-category-catalogue .cv-catalogue-categories{justify-content:flex-start;gap:20px}body.g-preview.g-category-catalogue .cv-catalogue-categories>a{font-size:15.4px;min-height:44px;display:flex;align-items:center}}

/* Owner 11 Nov: catalogue page titles share the description text role. */
body.g-preview.g-category-catalogue .cv-catalogue-intro h1{
 font:300 16px/1.25 var(--font-ui);letter-spacing:normal;text-transform:uppercase
}
@media(max-width:760px){
 body.g-preview.g-category-catalogue .cv-catalogue-intro h1{font-size:15px;line-height:1.25}
}
