/* One outer image rule: image-bearing rows use the page width; reading areas
   keep their gutter. Swatches, logos, controls and image proportions are not reset. */
body.g-preview{--image-copy-gutter:var(--gutter,24px)}

/* Product gallery and reading column. No viewport units: avoid scrollbar overflow. */
body.g-preview.pd-product :is(.product-overview,.vp-overview,.pa-overview,.ensemble-product,.nc-palette-section){width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important}
body.g-preview.pd-product :is(.product-summary,.vp-selection,.pa-panel,.ensemble-panel,.nc-palette-panel){padding-inline:0 var(--image-copy-gutter);box-sizing:border-box}
body.g-preview.pd-product :is(.product-media,.vp-media,.pa-media,.ensemble-media,.nc-preview){padding-inline:0;margin-inline:0;min-width:0}
body.g-preview.pd-product :is(.gallery-main,.vp-stage,.vp-enlarge,.pa-stage,.nc-official-preview,.cc-sample-stage,.texture-preview-image){border-radius:0;border-inline:0;padding-inline:0;box-sizing:border-box}
body.g-preview.pd-product .vp-stage{width:100%;max-width:none}
body.g-preview.pd-product :is(.gallery-track,.nc-gallery-track,.vp-gallery-thumbs){padding-inline:16px;box-sizing:border-box}
body.g-preview.pd-product :is(.credit,.nc-gallery-caption,.vp-image-meta,.vp-image-code){padding-inline:16px;box-sizing:border-box}

/* Inspiration: category controls remain in the header, images have their own
   full-width rows below it. No sticky sidebar covers a photograph. */
body.g-preview .pb-shell{padding-inline:0;column-gap:var(--gutter);row-gap:24px;grid-template-columns:calc(220px + var(--gutter)) minmax(0,1fr)}
body.g-preview .pb-shell>.pb-sidebar{grid-column:1;grid-row:span 2;position:static;padding-left:var(--gutter);box-sizing:border-box}
body.g-preview .pb-content{display:contents}
body.g-preview .pb-content>:is(.pb-heading,.pb-count){grid-column:2;padding-right:var(--gutter);box-sizing:border-box}
body.g-preview .pb-content>:not(.pb-heading):not(.pb-count){grid-column:1/-1;min-width:0}
body.g-preview .pb-commercial-nav{margin-inline:var(--gutter)}
body.g-preview .pb-project-grid{column-gap:8px}
body.g-preview .pb-project>summary>:not(figure),body.g-preview .pb-project-content{margin-inline:0;padding-inline:var(--gutter);box-sizing:border-box}
body.g-preview .pb-content>:is(.pb-library-note,.section-text-toggle,.pb-material-guide,.pb-empty),body.g-preview .pb-more>summary{margin-inline:var(--gutter)}

/* Collection/product grids also occupy the full image row. Filters stay above,
   in their original order, and retain every native link and form. */
body.g-preview .catalogue-shell:has(:is(.product-grid,.collection-grid,.category-banners)),body.g-preview .brand-catalogue:has(:is(.product-grid,.collection-grid,.category-banners)){padding-inline:0}
body.g-preview .catalogue-layout:has(:is(.product-grid,.collection-grid,.category-banners)){column-gap:var(--gutter);row-gap:24px;grid-template-columns:calc(220px + var(--gutter)) minmax(0,1fr)}
body.g-preview .catalogue-layout:has(:is(.product-grid,.collection-grid,.category-banners))>.catalogue-sidebar{grid-column:1;grid-row:1/span 2;position:static;padding-left:var(--gutter);box-sizing:border-box}
body.g-preview .catalogue-layout>.catalogue-results{display:contents}
body.g-preview .catalogue-results>*{grid-column:2;margin-right:var(--gutter);min-width:0}
body.g-preview .catalogue-results>:is(.product-grid,.collection-grid,.category-banners){grid-column:1/-1;margin-inline:0;column-gap:8px}
body.g-preview :is(.product-grid,.collection-grid)>:is(.product-card,.collection-card)>:not(.product-image):not(.collection-image):not(figure):not(img){margin-inline:0;padding-inline:var(--gutter);box-sizing:border-box}
body.g-preview .category-banners>figure{margin-inline:0}
body.g-preview .category-banners figcaption{padding-inline:var(--gutter)}

/* Other photographic rows and associated-project galleries. */
body.g-preview :is(.mc-projects,.vp-related,.pa-project-preview,.altro-projects):has(img){max-width:none;padding-inline:0}
body.g-preview :is(.mc-projects,.vp-related,.pa-project-preview,.altro-projects)>:is(header,h2,p,.ap-heading,.ap-filters){padding-inline:var(--gutter)}
body.g-preview :is(.mc-project-grid,.pa-project-preview-grid,.ap-grid){column-gap:8px;max-width:none}
body.g-preview .mc-project>summary>:not(figure),body.g-preview .mc-project-body{padding-inline:var(--gutter)}
body.g-preview .ap-card>:not(img):not(picture):not(figure){padding-inline:var(--gutter)}
body.g-preview .g-category-editorial{padding-inline:0}
body.g-preview .g-category-editorial>.g-category-copy{padding-inline:var(--gutter)}
body.g-preview .ce-showroom{margin-inline:0}
body.g-preview .ce-showroom>.ce-photo{margin-inline:calc(-1 * var(--gutter));width:calc(100% + 2 * var(--gutter));max-width:none}

@media(max-width:760px){
 body.g-preview{--image-copy-gutter:20px}
 body.g-preview.pd-product :is(.product-summary,.vp-selection,.pa-panel,.ensemble-panel,.nc-palette-panel){padding-inline:var(--image-copy-gutter)}
 body.g-preview.pd-product .ensemble-panel{padding:0}
 body.g-preview.pd-product .ensemble-panel>:not(.product-summary),body.g-preview.pd-product .ensemble-media>.texture-preview>div{padding-inline:var(--image-copy-gutter)}
 body.g-preview .pb-shell{display:block;padding-inline:0}
 body.g-preview .pb-shell>.pb-sidebar{padding-inline:var(--image-copy-gutter)}
 body.g-preview .pb-content>:is(.pb-heading,.pb-count){padding-inline:var(--image-copy-gutter)}
 body.g-preview .catalogue-layout:has(:is(.product-grid,.collection-grid,.category-banners)){display:block}
 body.g-preview .catalogue-layout:has(:is(.product-grid,.collection-grid,.category-banners))>.catalogue-sidebar{padding-inline:var(--image-copy-gutter)}
 body.g-preview .catalogue-results>*{margin-inline:var(--image-copy-gutter)}
 body.g-preview .catalogue-results>:is(.product-grid,.collection-grid,.category-banners){margin-inline:0}
 body.g-preview .ce-showroom>.ce-photo{margin-inline:calc(-1 * var(--gutter));width:calc(100% + 2 * var(--gutter))}
}
/* Let the original photo determine its height instead of letterboxing it in a
   square frame. The sample viewer keeps its native texture proportions. */
body.g-preview.pd-product :is(.gallery-main,.vp-stage,.nc-official-preview):has(img){height:auto!important;aspect-ratio:auto!important;min-height:0}
body.g-preview.pd-product :is(.gallery-main,.vp-enlarge,.nc-official-preview)>img{display:block;width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important}
body.g-preview.pd-product .vp-enlarge{height:auto}
/* Photo and chosen texture share a top edge; the media defines the stage's
   height. No square/fixed-height shell around a landscape or portrait asset. */
body.g-preview.pd-product :is(.gallery-main,.vp-stage,.vp-enlarge,.nc-main-stage,.nc-official-preview,.cc-sample-stage):has(img){height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;padding:0!important;background:transparent!important;align-items:flex-start!important;justify-content:flex-start!important}
body.g-preview.pd-product :is(.gallery-main,.vp-enlarge,.nc-main-stage,.nc-official-preview,.cc-sample-stage)>img:not([hidden]){display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center top!important;margin:0!important}
body.g-preview.pd-product :is(.gallery-main,.vp-enlarge,.nc-main-stage,.nc-official-preview,.cc-sample-stage)>img[hidden]{display:none!important}
body.g-preview .pb-shell{row-gap:24px}
body.g-preview .pb-content>.pb-heading{align-self:start;margin-bottom:0}
body.g-preview .pb-content>.pb-count{align-self:end;margin-bottom:0}
/* Compact category controls above the edge-to-edge photographs. */
@media(min-width:761px){
 body.g-preview .pb-shell{grid-template-columns:minmax(0,1fr)}
 body.g-preview .pb-shell>.pb-sidebar{grid-column:1;grid-row:auto;display:grid;grid-template-columns:220px minmax(0,1fr);gap:14px 32px;padding-inline:var(--gutter);align-items:start}
 body.g-preview .pb-sidebar>.pb-direction-back{grid-column:1/-1}
 body.g-preview .pb-sidebar>h1{margin:0;min-height:0!important}
 body.g-preview .pb-sidebar>.pb-desktop-categories{display:flex;flex-flow:row wrap;gap:4px 20px;border:0;align-items:start}
 body.g-preview .pb-desktop-categories>a{border:0;margin:0;padding:8px 0;min-height:36px}
 body.g-preview .pb-desktop-categories>a[aria-current]{box-shadow:inset 0 -1px currentColor}
 body.g-preview .pb-sidebar>:is(.pb-group-switch,.pb-direct){grid-column:1/-1;margin-top:0}
 body.g-preview .pb-content>:is(.pb-heading,.pb-count){grid-column:1;padding-inline:var(--gutter)}
}
/* Native LVT uses display:contents on mobile: put reading gutters on its
   visible children, while the sample stage remains edge-to-edge. */
@media(max-width:760px){
 body.g-preview.pd-product .ensemble-panel>.product-summary>:not(header){padding-inline:var(--image-copy-gutter);box-sizing:border-box}
 body.g-preview.pd-product .ensemble-media>p,body.g-preview.pd-product .cc-original-resources>div,body.g-preview.pd-product .cc-sample-download{padding-inline:var(--image-copy-gutter);box-sizing:border-box}
 body.g-preview .pb-content>.pb-count{display:block;padding-block:12px 0}
}
/* Related collections use the same outer edge as the primary gallery. */
body.g-preview .wrap:has(>.collection-grid,>.product-grid,>.category-banners){max-width:none;padding-inline:0}
body.g-preview .wrap:has(>.collection-grid,>.product-grid,>.category-banners)>:is(h1,h2,h3,p,header,nav){padding-inline:var(--gutter)}
body.g-preview .wrap>:is(.collection-grid,.product-grid){column-gap:8px}
body.g-preview.pd-product :is(.pa-material-caption,.pa-option-row,.pa-media-actions){padding-inline:16px;box-sizing:border-box}
@media(max-width:760px){
 body.g-preview.pd-product .ensemble-panel>.product-summary>.pd-identity,body.g-preview.pd-product .ensemble-media>p,body.g-preview.pd-product .cc-original-resources>div,body.g-preview.pd-product .cc-sample-download{padding-inline:var(--image-copy-gutter)!important}
}
@media(max-width:760px){
 body.g-preview :is(.product-grid,.collection-grid)>:is(.product-card,.collection-card)>:not(.product-image):not(.collection-image):not(figure):not(img){padding-inline:12px}
}

/* Material choices are the category heading: one visible navigation, no repeated
   section/category titles. The original h2 type role is retained. */
body.g-preview .pb-focused-shell>.pb-sidebar{display:block;padding-inline:var(--gutter);margin-bottom:0}
body.g-preview .pb-focused-shell .pb-page-title{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body.g-preview .pb-focused-shell .pb-direction-back{display:inline-block;margin-bottom:24px}
body.g-preview .pb-focused-shell .pb-promoted-categories{display:flex;flex-flow:row wrap;align-items:baseline;gap:12px 32px;border:0;margin:0}
body.g-preview .pb-focused-shell :is(.pb-promoted-categories>a,.pb-material-title){font:500 34px/1.2 var(--font-heading);letter-spacing:var(--tracking-heading,normal);border:0;margin:0;padding:0 0 7px;min-height:0;color:var(--muted);background:none;text-decoration:none;box-shadow:none;position:relative;max-width:100%;overflow-wrap:break-word}
body.g-preview .pb-focused-shell .pb-promoted-categories>a[aria-current]{color:var(--ink);font-weight:600}
body.g-preview .pb-focused-shell .pb-material-title{color:var(--ink)}
body.g-preview .pb-focused-shell .pb-promoted-categories>a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
body.g-preview .pb-focused-shell .pb-promoted-categories>a:is([aria-current],:hover,:focus-visible)::after{transform:scaleX(1)}
body.g-preview .pb-focused-shell .pb-heading{align-items:center}
@media(max-width:760px){
 body.g-preview .pb-focused-shell>.pb-sidebar{margin-bottom:22px}
 body.g-preview .pb-focused-shell .pb-direction-back{margin-bottom:20px}
 body.g-preview .pb-focused-shell .pb-promoted-categories{gap:10px 24px}
 body.g-preview .pb-focused-shell :is(.pb-promoted-categories>a,.pb-material-title){font-size:28px;line-height:1.2}
}
@media(prefers-reduced-motion:reduce){body.g-preview .pb-focused-shell .pb-promoted-categories>a::after{transition:none}}

/* Parent directions are subdued while the current category carries the emphasis. */
body.g-preview[data-direction="comerciale"] .g-header .g-directions>a[href$="/comerciale/"],
body.g-preview[data-direction="rezidentiale"] .g-header .g-directions>a[href$="/rezidentiale/"],
body.g-preview[data-direction="fatade"] .g-header .g-directions>a[href$="/fatade/"]{
 color:#dcdad7;
 background-image:none
}
body.g-preview[data-direction="rezidentiale"] .pb-focused-shell .pb-promoted-categories>a::after{content:none}
body.g-preview[data-direction="rezidentiale"] .pb-focused-shell .pb-promoted-categories>a[aria-current]{color:#111}

/* Direction and material rows sit above the full-width gallery. */
body.g-preview .pb-editorial-shell{display:block;padding-top:0}
body.g-preview .pb-editorial-shell .pb-content{display:block}
body.g-preview .pb-business-nav-editorial{
 --sector-muted:#dcdad7;
 margin:0;
 padding:clamp(20px,3vw,48px) var(--gutter) 0
}
body.g-preview .pb-business-nav-editorial>h1{
 margin:0 0 4px;
 color:var(--sector-muted);
 text-align:center;
 text-transform:uppercase!important
}
body.g-preview .pb-business-nav nav{gap:0 clamp(12px,2.2vw,36px)}
body.g-preview .pb-business-nav.pb-business-nav-editorial nav{
 justify-content:center;
 flex-wrap:wrap;
 column-gap:clamp(8px,1vw,16px)
}
body.g-preview .pb-business-nav nav>a{
 padding:6px 0;
 color:var(--muted);
 font:400 13px/1.35 var(--font-ui);
 text-transform:uppercase!important
}
body.g-preview .pb-business-nav nav>a:is(:hover,:focus-visible,[aria-current]){
 color:var(--ink);
 background-color:transparent
}
body.g-preview .pb-business-nav nav>a[aria-current]{font-weight:600}

body.g-preview .pb-business-nav-editorial>h1,
body.g-preview .pb-business-nav.pb-business-nav-editorial nav>a{
 font:700 clamp(14px,2vw,32px)/1.15 var(--font-heading);
 letter-spacing:var(--tracking-heading,normal)
}
body.g-preview .pb-business-nav.pb-business-nav-editorial nav>a{
 flex:none;
 max-width:100%;
 overflow-wrap:anywhere;
 color:var(--sector-muted)
}
body.g-preview .pb-business-nav.pb-business-nav-editorial nav>a:is([aria-current],:hover,:focus-visible){
 color:#111;
 text-decoration:none;
 background-image:none
}
body.g-preview .pb-business-nav-editorial nav>a:not(:last-child)::after{
 content:"/" / "";
 flex:none;
 color:var(--sector-muted);
 margin-inline-start:clamp(8px,1vw,16px)
}

body.g-preview .pb-shell.pb-editorial-shell>.pb-sidebar{
 display:block;
 --divider-inset:clamp(12px,1vw,18px);
 margin:0 0 calc(clamp(20px,3vw,44px) - var(--divider-inset));
 padding:clamp(12px,1.4vw,24px) var(--gutter) var(--divider-inset);
 border-bottom:1px solid var(--line)
}
body.g-preview .pb-editorial-shell .pb-category-nav{
 display:flex;
 flex-flow:row nowrap;
 justify-content:safe center;
 column-gap:clamp(8px,calc(6.4vw - 66px),48px);
 overflow-x:auto;
 border:0;
 margin:0
}
body.g-preview .pb-editorial-shell .pb-category-nav>a{
 position:relative;
 flex:none;
 display:inline-flex;
 align-items:center;
 min-height:44px;
 margin:0;
 padding:0;
 border:0;
 background-color:transparent;
 color:#dcdad7;
 font:400 clamp(11px,1vw,14px)/1.35 var(--font-ui);
 text-transform:uppercase;
 white-space:nowrap;
 text-decoration:none;
 transition:color .32s ease,font-weight .32s ease
}
body.g-preview .pb-editorial-shell .pb-category-nav>a::after{
 content:"";
 position:absolute;
 inset-inline:0;
 bottom:5px;
 height:1px;
 background:currentColor;
 transform:scaleX(0);
 transform-origin:left center;
 transition:transform .32s cubic-bezier(.22,1,.36,1);
 pointer-events:none
}
body.g-preview .pb-editorial-shell .pb-category-nav>a:is(:hover,:focus-visible,[aria-current]){
 color:#111;
 text-decoration:none;
 background-image:none
}
body.g-preview .pb-editorial-shell .pb-category-nav>a[aria-current]{font-weight:400}
body.g-preview .pb-editorial-shell .pb-category-nav>a:is(:hover,:focus-visible,[aria-current])::after{transform:scaleX(1)}
@media(prefers-reduced-motion:reduce){
 body.g-preview .pb-editorial-shell .pb-category-nav>a,
 body.g-preview .pb-editorial-shell .pb-category-nav>a::after{transition:none}
}
body.g-preview .pb-editorial-shell>.pb-business-nav-editorial{border-bottom:0}
body.g-preview .pb-editorial-shell .pb-content>.pb-heading{padding-inline:var(--gutter);margin-bottom:18px}
body.g-preview .pb-editorial-shell .pb-heading>:is(.pb-catalogue-link,.pb-floor-shortcuts):only-child{margin-inline-start:auto}
body.g-preview .pb-business-shell .pb-business-title{
 margin:0 0 12px;
 font:600 clamp(27px,3vw,42px)/1.12 var(--font-heading);
 letter-spacing:var(--tracking-heading,normal)
}
body.g-preview .pb-editorial-shell .pb-project-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:clamp(22px,3vw,46px) 8px
}
body.g-preview .pb-editorial-shell .pb-project-grid>.pb-project{min-width:0;grid-column:auto}
body.g-preview .pb-editorial-shell .pb-content>.pb-project-grid>.pb-project:first-child:not(:only-child){grid-column:span 2}
body.g-preview .pb-editorial-shell .pb-project-grid>.pb-project figure{
 height:clamp(240px,28vw,520px);
 aspect-ratio:auto!important
}
@media(max-width:1000px){
 body.g-preview .pb-editorial-shell .pb-project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.g-preview .pb-editorial-shell .pb-content>.pb-project-grid>.pb-project:first-child:not(:only-child){grid-column:auto}
}
@media(max-width:600px){
 body.g-preview .pb-editorial-shell .pb-project-grid{grid-template-columns:minmax(0,1fr)}
 body.g-preview .pb-editorial-shell .pb-project-grid>.pb-project figure{height:auto;aspect-ratio:5/4!important}
 body.g-preview .pb-business-nav nav>a{font-size:12px}
}

/* Audit fixes: readable search previews and a continuation cue for the existing material row. */
body.g-preview .collection-card>.search-result-description{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
 overflow:hidden;line-height:1.5;max-height:4.5em;
}
body.g-preview .pb-shell.pb-editorial-shell>.pb-sidebar{position:relative;top:auto}
body.g-preview .pb-shell.pb-editorial-shell>.pb-sidebar[data-pb-more-materials=true]::after{
 content:"›" / "";position:absolute;right:var(--gutter);bottom:var(--divider-inset);
 display:flex;align-items:center;justify-content:flex-end;width:32px;height:44px;
 background:linear-gradient(90deg,transparent,var(--paper,#f7f6f3) 65%);
 color:var(--ink,#222);font:400 24px/1 var(--font-ui,sans-serif);pointer-events:none;
}

/* Catalogue action uses the owner-selected Scrie-ne button model. */
body.g-preview .pb-editorial-shell .pb-content>.pb-products-action{
 display:flex;justify-content:center;align-items:center;
 padding:12px var(--gutter) 24px;margin:0;grid-column:1/-1
}
body.g-preview .pb-editorial-shell .pb-products-action>.pb-catalogue-link{
 display:inline-flex;align-items:center;justify-content:center;gap:22px;
 margin:0;min-height:34px;min-width:174px;padding:4px 6px 4px 22px;border:0;border-radius:999px;
 background:#171717;color:#fff!important;box-sizing:border-box;
 font:400 14px/1.2 var(--font-ui);text-decoration:none!important;
 transition:background-color .22s ease,color .22s ease
}
body.g-preview .pb-products-action .pb-catalogue-link>.pb-catalogue-arrow{
 display:grid;place-items:center;width:24px;height:24px;flex:none;border-radius:50%;
 background:#ffffff24;font:400 21px/1 var(--font-ui);
 transition:transform .2s ease,background-color .22s ease
}
body.g-preview .pb-products-action .pb-catalogue-link:is(:hover,:focus-visible,:active){background:#dedede;color:#595959!important}
body.g-preview .pb-products-action .pb-catalogue-link:is(:hover,:focus-visible,:active)>.pb-catalogue-arrow{background:#0000000d}
body.g-preview .pb-products-action .pb-catalogue-link:hover>.pb-catalogue-arrow{transform:rotate(45deg)}
body.g-preview .pb-products-action .pb-catalogue-link:focus-visible{outline:2px solid var(--ink);outline-offset:5px}
@media(prefers-reduced-motion:reduce){body.g-preview .pb-products-action .pb-catalogue-link,body.g-preview .pb-products-action .pb-catalogue-arrow{transition:none}}

body.g-preview .pb-editorial-shell .pb-heading.pb-products-action>.pb-catalogue-link:only-child{margin-inline:0}
body.g-preview .pb-products-action .pb-catalogue-link>span:first-child{font:inherit}

/* Centre the selected category on the same axis as the catalogue action. */
body.g-preview .pb-editorial-shell .pb-category-nav{
 justify-content:flex-start;
 box-sizing:border-box;
 padding-inline:50%;
 scroll-padding-inline:50%
}

body.g-preview .pb-editorial-shell .pb-category-nav{scrollbar-width:none}
body.g-preview .pb-editorial-shell .pb-category-nav::-webkit-scrollbar{display:none}

/* Owner reference: full-width divider above the larger material category row. */
body.g-preview .pb-shell.pb-editorial-shell>.pb-sidebar{
 border-top:1px solid var(--line);border-bottom:0;
 padding:clamp(16px,1.5vw,28px) var(--gutter) clamp(24px,2.4vw,44px);
 margin:clamp(24px,3vw,64px) 0 0;--divider-inset:clamp(24px,2.4vw,44px)
}
body.g-preview .pb-editorial-shell .pb-category-nav{
 column-gap:clamp(28px,4.5vw,88px)
}
body.g-preview .pb-editorial-shell .pb-category-nav>a{
 font-size:clamp(16px,1.6vw,28px);line-height:1.2;
 min-height:44px;text-decoration:none
}
body.g-preview .pb-editorial-shell .pb-category-nav>a::after{content:none}

/* Measured Yodezeen proportions: 37.33 / 17.42 at a 1792px viewport. */
body.g-preview .pb-business-nav-editorial>h1,
body.g-preview .pb-business-nav.pb-business-nav-editorial nav>a{
 font-size:clamp(22px,2.083333vw,40px);line-height:.9;letter-spacing:-.032em
}
body.g-preview .pb-business-nav-editorial>h1{margin-bottom:clamp(6px,.555556vw,11px)}
body.g-preview .pb-business-nav.pb-business-nav-editorial nav{row-gap:clamp(6px,.555556vw,11px)}
body.g-preview .pb-business-nav.pb-business-nav-editorial nav>a{padding-block:0}
body.g-preview .pb-shell.pb-editorial-shell>.pb-sidebar{
 margin-top:clamp(24px,3.333333vw,64px);
 padding:clamp(6px,.416667vw,8px) var(--gutter) 0;
 --divider-inset:0px
}
body.g-preview .pb-editorial-shell .pb-category-nav{column-gap:clamp(20px,1.666667vw,32px)}
body.g-preview .pb-editorial-shell .pb-category-nav>a{
 font-size:clamp(15.4px,1.0694442vw,19.8px);font-weight:400;line-height:.857143;letter-spacing:-.012em;
 min-height:35px;padding:clamp(8px,.555556vw,11px);box-sizing:border-box
}
body.g-preview .pb-editorial-shell .pb-content>.pb-products-action{padding:12px var(--gutter) 24px}
@media(max-width:760px){
 body.g-preview .pb-business-nav-editorial>h1,
 body.g-preview .pb-business-nav.pb-business-nav-editorial nav>a{font-size:18px;line-height:1.15}
 body.g-preview .pb-editorial-shell .pb-category-nav>a{line-height:1.2;min-height:44px}
}

/* Centre the complete row; three equal slots keep the middle label on axis. */
body.g-preview .pb-editorial-shell .pb-category-nav{
 padding-inline:0;scroll-padding-inline:0;justify-content:safe center
}
body.g-preview .pb-editorial-shell .pb-category-nav.pb-balanced-row{
 display:grid;grid-auto-flow:column;grid-auto-columns:1fr;
 width:max-content;max-width:100%;margin-inline:auto;
 overflow:visible;justify-content:normal;align-items:center
}
body.g-preview .pb-editorial-shell .pb-category-nav.pb-balanced-row>a{
 min-width:0;justify-content:center;text-align:center;white-space:normal
}

/* Shared capsule actions: owner-selected slim, elongated proportions. */
body.g-preview :is(.cv-invitation-link,.pb-products-action>.pb-catalogue-link),
body.g-preview.pd-product main .pd-primary-offer a.button,
body.g-preview.g-quote-page .quote-buttons button[type=submit]{
 display:inline-flex!important;align-items:center;justify-content:center;
 gap:22px!important;min-height:34px!important;min-width:174px!important;
 width:auto!important;max-width:100%;padding:4px 6px 4px 22px!important;
 border:0!important;border-radius:999px!important;box-sizing:border-box;
 font:400 14px/1.2 var(--font-ui)!important;text-transform:lowercase;
 text-decoration:none!important
}
body.g-preview .cv-invitation-link{margin-top:18px}
body.g-preview.pd-product main .pd-primary-offer{margin-top:18px!important}
body.g-preview.g-quote-page .quote-buttons button[type=submit]{margin-top:18px}
body.g-preview :is(.cv-invitation-arrow,.pb-catalogue-arrow),
body.g-preview.pd-product main .pd-primary-offer a.button::after,
body.g-preview.g-quote-page .quote-buttons button[type=submit]::after{
 display:grid;place-items:center;width:24px;height:24px;flex:none;
 border-radius:50%;background:#ffffff24;font:400 21px/1 var(--font-ui);
 transition:transform .2s ease,background-color .22s ease
}
body.g-preview.pd-product main .pd-primary-offer a.button::after,
body.g-preview.g-quote-page .quote-buttons button[type=submit]::after{content:"↗"}
body.g-preview.pd-product main .pd-primary-offer a.button:hover::after,
body.g-preview.g-quote-page .quote-buttons button[type=submit]:hover::after{transform:rotate(45deg)}
@media(prefers-reduced-motion:reduce){
 body.g-preview :is(.cv-invitation-arrow,.pb-catalogue-arrow),
 body.g-preview.pd-product main .pd-primary-offer a.button::after,
 body.g-preview.g-quote-page .quote-buttons button[type=submit]::after{transition:none}
}

/* Invitation only: align the capsule bottom to the Inter ghost word baseline. */
body.g-preview .cv-project-invitation{--invitation-ghost-size:clamp(90px,15vw,260px)}
body.g-preview .cv-invitation-ghost{font-size:var(--invitation-ghost-size)}
body.g-preview .cv-invitation-content{
 position:absolute;inset-inline:24px;bottom:calc(50% - var(--invitation-ghost-size) * .3636)
}
body.g-preview .cv-invitation-link{
 display:flex!important;width:max-content!important;margin-inline:auto;
 text-transform:uppercase!important
}
@media(max-width:760px){body.g-preview .cv-project-invitation{--invitation-ghost-size:24vw}}

/* Lower only the invitation heading; the capsule keeps its established baseline. */
@media(min-width:761px){
 body.g-preview .cv-project-invitation #cv-invitation-title{transform:translateY(calc(var(--invitation-ghost-size) * .07))}
}

/* Category navigation shares one inactive grey and no decorative underline. */
body.g-preview .pb-editorial-shell .pb-category-nav>a,
body.g-preview .pb-business-nav.pb-business-nav-editorial nav>a{
 text-decoration:none!important;background-image:none!important;box-shadow:none!important;border-bottom:0!important
}
body.g-preview .pb-editorial-shell .pb-category-nav>a::after{content:none!important}

/* Commercial solution sections are a complete level above material subtypes. */
body.g-preview .pb-business-shell .pb-sidebar>.pb-category-nav:first-child:not(:last-child){flex-wrap:wrap;overflow:visible;justify-content:center;row-gap:4px;margin-bottom:8px}

/* Owner: use the side space for concise commercial section labels. */
body.g-preview .pb-shell.pb-editorial-shell.pb-business-shell>.pb-sidebar{padding-inline:12px}
body.g-preview .pb-business-shell .pb-sidebar>.pb-category-nav:first-child:not(:last-child){column-gap:clamp(8px,.555556vw,12px)}

/* Same concise category spacing for the residential section row. */
body.g-preview[data-direction="rezidentiale"] .pb-business-nav-editorial{padding-inline:12px}
body.g-preview[data-direction="rezidentiale"] .pb-business-nav.pb-business-nav-editorial nav{column-gap:clamp(8px,.555556vw,12px)}

/* Equal gaps between label edges, rather than unequal whitespace in equal cells. */
body.g-preview .pb-editorial-shell .pb-category-nav.pb-balanced-row{
 display:flex;justify-content:center;column-gap:clamp(24px,2.5vw,48px)
}
body.g-preview .pb-editorial-shell .pb-category-nav.pb-balanced-row>a{flex:0 1 auto}
body.g-preview .pb-editorial-shell .pb-content>.pb-products-action{padding-bottom:44px}

/* Keep the middle label on the page axis while both text-edge gaps stay equal. */
@media(min-width:761px){
 body.g-preview .pb-editorial-shell .pb-category-nav.pb-balanced-row:has(>a:nth-child(3)):not(:has(>a:nth-child(4))){
  display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-auto-columns:auto;width:100%
 }
 body.g-preview .pb-editorial-shell .pb-category-nav.pb-balanced-row:has(>a:nth-child(3)):not(:has(>a:nth-child(4)))>a:first-child{justify-self:end}
 body.g-preview .pb-editorial-shell .pb-category-nav.pb-balanced-row:has(>a:nth-child(3)):not(:has(>a:nth-child(4)))>a:last-child{justify-self:start}
}

/* Neolith: one viewport-fitted frame for photographs and complete slab drawings.
   Reserve the visible thumbnail strip and caption below the main image. */
body.g-preview.pd-product .neolith-product .product-media .gallery-main:has(img){
 height:max(120px,calc(100svh - var(--header,84px) - var(--contextbar-height,54px) - 156px))!important;
 align-items:center!important;justify-content:center!important
}
body.g-preview.pd-product .neolith-product .product-media .gallery-main>img:not([hidden]){
 width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important
}
body.g-preview.pd-product .neolith-product .product-media .gallery-track{display:flex;flex-wrap:nowrap;overflow-x:auto;padding:0 16px;margin-top:12px;gap:8px}
body.g-preview.pd-product .neolith-product .gallery-track button{height:54px;min-width:54px;width:54px;max-width:54px;box-sizing:border-box;flex:0 0 54px}
body.g-preview.pd-product .neolith-product .collection-gallery>.credit{margin:8px 16px 0}
@media(max-width:760px){
 body.g-preview.pd-product .neolith-product .product-media .gallery-main:has(img){height:max(120px,calc(100svh - var(--header,64px) - var(--contextbar-height,60px) - 330px))!important}
}
.neolith-lightbox .cv-gallery-zoom{width:auto!important;height:44px!important;min-width:110px;white-space:nowrap;font:400 14px/1.4 Arial,sans-serif;opacity:1!important;background:#fff!important;color:#171717!important;position:fixed;top:20px;left:20px;z-index:4;padding:10px 16px;border:1px solid #ddd;background:#fff;color:#171717;border-radius:999px;cursor:pointer}
.neolith-lightbox.cv-gallery-zoomed{overflow:auto}
.neolith-lightbox.cv-gallery-zoomed>img{max-width:none!important;max-height:none!important;width:auto!important;height:160vh!important;object-fit:contain}

/* All section headings: equal compact rows without the inherited 44px desktop link floor. */
@media(min-width:761px){
 body.g-preview .pb-business-nav-editorial>h1{line-height:1.05;margin-bottom:clamp(4px,.35vw,7px)}
 body.g-preview .pb-business-nav.pb-business-nav-editorial nav{row-gap:clamp(4px,.35vw,7px)}
 body.g-preview .pb-business-nav.pb-business-nav-editorial nav>a{min-height:0;line-height:1.05;padding-block:0}
}

/* Residential stone uses the same capsule spacing as the other gallery entries. */
body.g-preview .pb-editorial-shell[data-browse-group="placi-ceramice"]:has(>.pb-business-nav-editorial nav>a[href$="/rezidentiale/finisaje-decorative/"])>.pb-content>.pb-products-action{border-top:0;margin-top:clamp(20px,2vw,40px)}

/* Reviewed HoReCa microcement covers retain the floor in the lower part of the photo. */
body.g-preview .pb-editorial-shell[data-browse-group="pardoseli"][data-browse-active="microciment"]:has(nav>a[href$="/comerciale/horeca/"][aria-current]) .pb-project img:is([src="/gold/horeca-bosgaurus-wall2floor.jpg"],[src="/media/project-images/deuces-cafe-3.jpg"],[src="/media/project-images/official-769419-2.jpg"]){object-position:center bottom}

/* Ensemble reading guides: text uses the header gutter even when native wrappers use display:contents. */
body.g-preview.pd-product .ensemble-media .cc-original-resources>div{padding-inline:0!important}
body.g-preview.pd-product .ensemble-media :is([data-texture-dimensions],.texture-downloads,.note),
body.g-preview.pd-product .ensemble-media>p{padding-inline:var(--gutter)!important;margin-inline:0;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
body.g-preview.pd-product .ensemble-media .cc-sample-caption{left:var(--gutter);max-width:calc(100% - 2 * var(--gutter));box-sizing:border-box;overflow-wrap:anywhere}
body.g-preview.pd-product .ensemble-panel{padding-right:var(--gutter);box-sizing:border-box;min-width:0}

/* Ensemble: collection introduction precedes the decor palette. */
body.g-preview.pd-product .ensemble-description{margin-top:20px;margin-bottom:24px}
body.g-preview.pd-product [data-ensemble-projects],body.g-preview.pd-product .ensemble-product .mc-text-link{border-bottom:0!important;text-decoration:none!important;background-image:none!important}
body.g-preview.pd-product [data-ensemble-projects]::after,body.g-preview.pd-product .ensemble-product .mc-text-link::after{display:none!important}
@media(max-width:760px){body.g-preview.pd-product .ensemble-product .ensemble-description{order:5}body.g-preview.pd-product .ensemble-description+.section-text-toggle{order:5}}

/* Ensemble material sample follows the same outer guide as its resource text. */
body.g-preview.pd-product .ensemble-media .cc-sample-stage{margin-left:var(--gutter)!important;width:calc(100% - var(--gutter))!important;max-width:calc(100% - var(--gutter))!important}
body.g-preview.pd-product .ensemble-media .cc-sample-caption{left:0;max-width:calc(100% - var(--gutter))}
@media(max-width:760px){body.g-preview.pd-product .ensemble-media .cc-sample-stage{margin-right:var(--gutter)!important;width:calc(100% - 2 * var(--gutter))!important;max-width:calc(100% - 2 * var(--gutter))!important}}

/* LVT editorial introduction uses the established catalogue heading and prose roles. */
body.g-preview.pd-product .cv-lvt-intro{padding:clamp(28px,3.333333vw,64px) var(--gutter) 28px;text-align:center;box-sizing:border-box}
body.g-preview.pd-product .cv-lvt-intro h1{margin:0 auto 40px;max-width:1200px;font:600 clamp(26px,2.083333vw,40px)/1.1 var(--font-ui);letter-spacing:-.032em;text-transform:uppercase}
body.g-preview.pd-product .cv-lvt-intro p{margin:0 auto;max-width:800px;font:300 16px/1.25 var(--font-ui);color:var(--muted);text-transform:uppercase}
body.g-preview.pd-product .cv-lvt-intro .section-text-toggle{display:flex;margin:12px auto 0;align-items:center;justify-content:center}
@media(max-width:760px){body.g-preview.pd-product .cv-lvt-intro h1{margin-bottom:24px}body.g-preview.pd-product .cv-lvt-intro p{font-size:15px}}
body.g-preview.pd-product .cv-lvt-intro h1{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;padding:0!important}
body.g-preview.pd-product .cv-lvt-intro h1{margin:0 auto 40px!important}
@media(max-width:760px){body.g-preview.pd-product .cv-lvt-intro h1{margin-bottom:24px!important}}

body.g-preview.pd-product .ensemble-product .cv-lvt-identity{flex-wrap:wrap;gap:6px 10px}
body.g-preview.pd-product .ensemble-product .cv-lvt-identity [data-ensemble-code]{font:400 16px/1.4 var(--font-ui);overflow-wrap:anywhere;min-width:0}
body.g-preview.pd-product .ensemble-product .ensemble-palette{margin-top:24px!important}
body.g-preview.pd-product .ensemble-product .product-summary>header,body.g-preview.pd-product .ensemble-product [data-parquet-offer-slot]:empty{display:none!important}

/* Ensemble identity: one light typographic role for collection and selected code. */
body.g-preview.pd-product .ensemble-product .cv-lvt-identity,body.g-preview.pd-product .ensemble-product .cv-lvt-identity :is(strong,span,[data-ensemble-code]){font:300 16px/1.4 var(--font-ui)!important;letter-spacing:0!important}

body.g-preview.pd-product .ensemble-product .material-action-row{align-items:center!important}
body.g-preview.pd-product .ensemble-product [data-ensemble-projects]{display:inline-flex!important;align-items:center;align-self:center!important;font:300 14px/1.2 var(--font-ui)!important;min-height:34px;padding:0!important;margin:0!important;box-sizing:border-box}

/* Keep collection and finish codes in continuous inline text. */
body.g-preview.pd-product .ensemble-product .cv-lvt-identity{display:block!important}
body.g-preview.pd-product .ensemble-product .cv-lvt-identity> :is(strong,span){display:inline!important}
body.g-preview.pd-product .ensemble-product .cv-lvt-identity{width:100%!important;max-width:none!important}

/* LVT identity is shown once, beside the palette. */
body.g-preview.pd-product .ensemble-media .cc-sample-caption{display:none!important}

/* Shared photographic card grids: equal seams along both axes. */
body.g-preview{--banner-grid-gap:8px}
body.g-preview :is(.pb-project-grid,.mc-project-grid,.pa-project-preview-grid,.ap-grid,.product-grid,.collection-grid,.category-banners,.g-floor-grid,.neolith-model-grid){row-gap:var(--banner-grid-gap)!important;column-gap:var(--banner-grid-gap)!important}

/* Card margins must not add a second seam to the shared grid gap. */
body.g-preview .pb-project-grid>.pb-project{margin:0!important}
body.g-preview .pb-project-grid>.pb-project figure{margin-bottom:0!important}

/* Compact shared thin category rows, including wrapped and nested rows. */
body.g-preview .pb-editorial-shell .pb-sidebar .pb-category-nav{row-gap:4px;margin-block:0}
body.g-preview .pb-editorial-shell .pb-sidebar .pb-category-nav>a{min-height:28px;padding-block:5px;line-height:1.1}
body.g-preview .pb-business-shell .pb-sidebar>.pb-category-nav:first-child:not(:last-child){margin-bottom:0}

/* The empty gallery sidebar remains a stable target for in-page navigation. */
body.g-preview .pb-shell.pb-editorial-shell>.pb-sidebar:empty{height:0;padding:0;margin:0;border:0}
body.g-preview .pb-shell.pb-editorial-shell>.pb-sidebar:empty+.pb-content>.pb-products-action{margin-top:clamp(20px,2vw,40px)}

/* Owner restoration: commercial materials form one continuous row below the divider. */
body.g-preview .pb-business-shell>.pb-sidebar{border-top:1px solid var(--line);border-bottom:0}
body.g-preview .pb-business-shell>.pb-sidebar>.pb-category-nav>a{font-weight:400;text-transform:uppercase}

@media(min-width:761px){body.g-preview .pb-business-shell>.pb-sidebar>.pb-category-nav{flex-wrap:wrap;overflow:visible;justify-content:center;row-gap:4px}body.g-preview .pb-business-shell>.pb-sidebar>.pb-category-nav::after{display:none}}

/* Shared desktop material navigation: one row and one type scale across pages. */
@media(min-width:761px){
 body.g-preview .pb-editorial-shell .pb-sidebar .pb-category-nav{column-gap:clamp(6px,.75vw,14px)}
 body.g-preview .pb-editorial-shell .pb-sidebar .pb-category-nav>a{font-size:clamp(12px,1.02vw,18.3px);padding-inline:2px;white-space:nowrap}
 body.g-preview .pb-business-shell>.pb-sidebar>.pb-category-nav{flex-wrap:nowrap;overflow:auto;justify-content:safe center}
}

/* Shared entry architecture: primary categories above, material choices below divider. */
body.g-preview .pb-shared-entry-shell>.pb-sidebar{border-top:1px solid var(--line);border-bottom:0;padding-inline:12px}

/* The repeated stone name uses Iluminat's existing material row and action spacing. */
body.g-preview .pb-editorial-shell .pb-sidebar .pb-category-nav>.pb-stone-label{display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:28px;margin:0;padding:0;font:300 16px/1.25 var(--font-ui);letter-spacing:normal;text-transform:uppercase;color:var(--muted)}
body.g-preview .pb-editorial-shell[data-browse-group="placi-ceramice"]:has(>.pb-business-nav-editorial nav>a[href$="/rezidentiale/finisaje-decorative/"]):has(>.pb-sidebar .pb-stone-label)>.pb-content>.pb-products-action{margin-top:0}
@media(max-width:760px){body.g-preview .pb-editorial-shell .pb-sidebar .pb-category-nav>.pb-stone-label{height:44px;font-size:15px}}

/* Windows: equal-width columns, complete photographs at their natural proportions. */
body.g-preview .pb-editorial-shell[data-browse-group="vitrate"][data-browse-active="ferestre"] .pb-project-grid{display:block;columns:3;column-gap:8px!important}
body.g-preview .pb-editorial-shell[data-browse-group="vitrate"][data-browse-active="ferestre"] .pb-project-grid>.pb-project{display:inline-block;vertical-align:top;width:100%;break-inside:avoid;margin:0 0 8px!important}
body.g-preview .pb-editorial-shell[data-browse-group="vitrate"][data-browse-active="ferestre"] .pb-project-grid>.pb-project figure{height:auto!important;aspect-ratio:auto!important}
body.g-preview .pb-editorial-shell[data-browse-group="vitrate"][data-browse-active="ferestre"] .pb-project img{display:block;position:static;width:100%;height:auto!important;max-height:none;object-fit:contain}
body.g-preview .pb-editorial-shell[data-browse-group="vitrate"]:not(:has(>.pb-business-nav-editorial))>.pb-sidebar{margin-top:20px}
body.g-preview.g-category-catalogue .cv-catalogue-intro.cv-vitrate-intro{padding-top:20px}
body.g-preview.g-category-catalogue .cv-vitrate-intro>.cv-catalogue-categories{padding:0 0 12px}
body.g-preview.g-category-catalogue .cv-vitrate-intro>:is(.project-catalogue-heading,.catalogue-heading){padding-top:0;padding-bottom:24px}
@media(max-width:1000px){body.g-preview .pb-editorial-shell[data-browse-group="vitrate"][data-browse-active="ferestre"] .pb-project-grid{columns:2}}
@media(max-width:600px){body.g-preview .pb-editorial-shell[data-browse-group="vitrate"][data-browse-active="ferestre"] .pb-project-grid{columns:1}}

body.g-preview .pb-editorial-shell[data-browse-group="vitrate"][data-browse-active="ferestre"] .pb-project img[src^="/media/systems/wicona/"]{aspect-ratio:1}

/* Project browsing uses the existing complete-photo layout for every material. */
body.g-preview .pb-editorial-shell .pb-project-grid{display:block;columns:3;column-gap:8px!important}
body.g-preview .pb-editorial-shell .pb-project-grid>.pb-project{display:inline-block;vertical-align:top;width:100%;break-inside:avoid;margin:0 0 8px!important}
body.g-preview .pb-editorial-shell .pb-project-grid>.pb-project figure{height:auto!important;aspect-ratio:auto!important}
body.g-preview .pb-editorial-shell .pb-project-grid>.pb-project figure img{display:block;position:static;width:100%;height:auto!important;max-height:none;object-fit:contain}
body.g-preview .pb-project-hub>.pb-business-nav-editorial{padding:20px var(--gutter) 12px;min-height:0;height:auto}
body.g-preview .pb-project-hub>.pb-business-nav-editorial>h1{font:400 16px/1.3 var(--font-ui);margin:0 0 16px}
body.g-preview .pb-project-hub>.pb-business-nav-editorial nav>a{font:400 clamp(16px,1.6vw,28px)/1.2 var(--font-ui);padding:0;min-height:0}
body.g-preview .pb-shell.pb-project-hub>.pb-sidebar{margin:8px 0 12px;padding-top:0;border:0}
body.g-preview .pb-project-hub .pb-content>.pb-products-action{margin:0;padding-top:8px;padding-bottom:24px}
@media(max-width:1000px){body.g-preview .pb-editorial-shell .pb-project-grid{columns:2}}
@media(max-width:600px){body.g-preview .pb-editorial-shell .pb-project-grid{columns:1}}
