/* Wabi Sabi: space, natural surfaces and legible details. */
.wabi-intro{max-width:1320px;margin:auto;padding:110px 5vw 70px;color:var(--green)}
.wabi-intro h1{font:400 clamp(5rem,11vw,10rem)/1 var(--serif);letter-spacing:-.055em;margin:30px 0 60px}
.wabi-intro-bottom{display:flex;justify-content:space-between;gap:50px;align-items:end}.wabi-intro-bottom p{font-size:clamp(1.2rem,2vw,1.65rem);line-height:1.5;margin:0}.wabi-intro-bottom>span{font-size:.85rem;line-height:1.7;color:#69746b}
.wabi-opening{max-width:1440px;margin:0 auto;padding:0 4vw}.wabi-opening img{width:100%;height:70vh;max-height:760px;object-fit:cover}
.wabi-note{max-width:920px;margin:130px auto 170px;padding:0 5vw;display:grid;grid-template-columns:1fr 2fr;gap:50px}.wabi-note p{font:400 clamp(1.3rem,2.2vw,2rem)/1.55 var(--serif);margin:0}
.wabi-model{max-width:1320px;padding:0 5vw;margin:0 auto 170px;scroll-margin-top:85px}.wabi-model-heading{max-width:650px;margin:0 0 48px}.wabi-model-heading h2{font:400 clamp(3rem,6vw,5rem)/1.1 var(--serif);letter-spacing:-.035em;margin:18px 0 22px}.wabi-model-heading p{max-width:540px;line-height:1.7;font-size:1.05rem}
.wabi-model-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(220px,1fr);gap:7vw;align-items:start}.wabi-model-notes{padding-top:30px}.wabi-model-notes>p{line-height:1.7;color:#657065;font-size:.95rem;max-width:300px;margin:15px 0 45px}.wabi-colors .swatches{margin:18px 0}.wabi-colors .selected-color{display:block;font-size:.8rem;color:#657065;line-height:1.5;min-height:3em}.wabi-model-notes .quote-entry{margin-top:36px}.wabi-ending{max-width:1320px;padding:80px 5vw 140px;margin:auto;border-top:1px solid #dddcd4}.wabi-ending h2{font:400 clamp(3rem,6vw,5rem)/1.15 var(--serif);margin:0 0 30px}.wabi-ending p{margin-bottom:35px}
.product-photo-gallery{min-width:0;width:100%;position:relative}[data-photo-stage]{position:relative;min-width:0}.photo-zoom{display:block;width:100%;border:0;padding:0;background:#eeece5;cursor:zoom-in;overflow:hidden}.photo-zoom img{display:block;width:100%;height:100%;object-fit:contain}.catalog-card .photo-zoom{aspect-ratio:4/5}.wabi-model .photo-zoom{aspect-ratio:1.1}.wabi-curtain .photo-zoom{aspect-ratio:2/3}.wabi-curtain .product-photo-gallery{max-width:650px}.photo-zoom-hint{position:absolute;right:14px;bottom:14px;font:500 11px/1 var(--sans);padding:8px 11px;background:rgba(250,248,243,.94);border-radius:999px;pointer-events:none;color:var(--green)}
.photo-gallery-controls{display:flex;justify-content:space-between;align-items:center;padding:14px 0}.photo-gallery-controls[hidden],.detail-arrows[hidden]{display:none}.photo-gallery-controls button,.detail-arrows button{width:40px;height:40px;border:1px solid #d7d8ce;border-radius:50%;background:#fbfaf7;color:var(--green);font-size:20px;cursor:pointer}.photo-gallery-controls>span{font-size:12px;color:#657065}.detail-arrows{position:absolute;left:12px;right:12px;top:50%;display:flex;justify-content:space-between;pointer-events:none}.detail-arrows button{pointer-events:auto}.detail-main-photo .photo-zoom{height:100%}.detail-main-photo{overflow:visible}
.image-viewer{padding:64px 24px 24px;width:95vw;height:94svh;max-width:1600px;max-height:96svh;border:0;background:#faf9f5;color:var(--green);overflow:hidden}.image-viewer::backdrop{background:rgba(20,28,22,.75)}.viewer-close{position:absolute;right:16px;top:10px;border:0;background:none;font-size:32px;cursor:pointer;width:44px;height:44px}.viewer-tools{position:absolute;left:50%;top:12px;transform:translateX(-50%);display:flex;gap:8px}.viewer-tools button{height:38px;min-width:40px;background:white;border:1px solid #d8d8cd;border-radius:999px;cursor:pointer}.viewer-scroll{height:100%;width:100%;overflow:auto;cursor:grab;touch-action:pan-x pan-y}.viewer-scroll img{display:block;width:100%;height:100%;object-fit:contain;max-width:none;user-select:none;-webkit-user-drag:none}.zoom-open{overflow:hidden}.photo-zoom:focus-visible{outline:2px solid var(--green);outline-offset:4px}
.collection-chapters{gap:18px!important}.collection-chapters a{font-size:11px!important}.collection-toolbar-inner{max-width:1440px!important}.collection-title{margin-right:12px!important}.collection-chapters{margin-left:auto}.collection-listing{flex-shrink:0}
@media(max-width:760px){.wabi-intro{padding:65px 24px 45px}.wabi-intro h1{font-size:clamp(4.3rem,17vw,7rem);margin:25px 0 40px}.wabi-intro-bottom{display:block}.wabi-intro-bottom>span{display:block;margin-top:25px}.wabi-opening{padding:0 20px}.wabi-opening img{height:48vh}.wabi-note{margin:65px 0 90px;padding:0 24px;grid-template-columns:1fr;gap:20px}.wabi-model{padding:0 24px;margin-bottom:90px;scroll-margin-top:112px}.wabi-model-heading{margin-bottom:30px}.wabi-model-layout{grid-template-columns:1fr;gap:24px}.wabi-model-notes{padding-top:0}.wabi-model-notes>p{margin-bottom:25px}.wabi-ending{padding:55px 24px 90px}.collection-chapters{margin-left:0}.image-viewer{width:100vw;height:100svh;max-width:100vw;max-height:100svh;padding:65px 8px 12px}}

/* Each model fits the available viewport, with the photograph beside its copy. */
@media(min-width:761px){
 .wabi-model{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);grid-template-rows:auto 1fr;column-gap:6vw;row-gap:22px;height:calc(100svh - 102px);margin-bottom:72px;scroll-margin-top:78px}
 .wabi-model-layout{display:contents}
 .wabi-model .product-photo-gallery{grid-column:1;grid-row:1/3;max-width:none;align-self:start}
 .wabi-model .photo-zoom{height:calc(100svh - 166px);aspect-ratio:auto;background:transparent}
 .wabi-model-heading{grid-column:2;grid-row:1;max-width:none;margin:0;padding-top:16px}
 .wabi-model-heading h2{font-size:clamp(2.8rem,4vw,4rem);margin:12px 0 18px}
 .wabi-model-heading p{font-size:.97rem;line-height:1.55;margin:0}
 .wabi-model-notes{grid-column:2;grid-row:2;padding-top:0}
 .wabi-model-notes>p{margin:10px 0 24px}
 .wabi-colors .swatches{margin:12px 0}
 .wabi-model-notes .quote-entry{margin-top:18px}
 .wabi-note{margin:70px auto 90px}
}
.viewer-scroll img{object-fit:fill;margin:auto;max-width:none;flex:none}
.viewer-tools{align-items:center;gap:6px;max-width:calc(100% - 100px)}
.viewer-tools input{width:clamp(90px,18vw,220px);accent-color:var(--green)}
@media(max-width:760px){
 .wabi-model{margin-bottom:48px;scroll-margin-top:100px}
 .wabi-model-heading{margin-bottom:16px}.wabi-model-heading h2{font-size:2.5rem;margin:8px 0 10px}.wabi-model-heading p{font-size:.88rem;line-height:1.4;margin:0}
 .wabi-model-layout{gap:12px}.wabi-model .photo-zoom{height:32svh;aspect-ratio:auto;background:transparent}
 .photo-gallery-controls{padding:6px 0}.photo-gallery-controls button{width:32px;height:32px}
 .wabi-model-notes{display:grid;grid-template-columns:1fr auto;gap:6px 14px}
 .wabi-model-notes>.eyebrow{display:none}.wabi-model-notes>p{grid-column:1/-1;margin:0;font-size:.78rem;line-height:1.35;max-width:none}
 .wabi-colors{grid-column:1}.wabi-colors>.eyebrow{display:none}.wabi-colors .swatches{margin:6px 0}.wabi-colors .selected-color{min-height:0;font-size:.7rem}
 .wabi-model-notes .quote-entry{grid-column:2;align-self:center;font-size:.75rem;margin:0;white-space:nowrap}
}
@media(min-width:761px) and (max-height:740px){.wabi-model-heading h2{font-size:2.8rem;margin:8px 0 12px}.wabi-model-heading{padding-top:4px}.wabi-model{row-gap:14px}.wabi-model-notes>p{margin-bottom:16px}.wabi-model-notes .quote-entry{margin-top:12px}}

/* Catalog cards share one image format and matching text rows. */
.photo-zoom{border-radius:18px}
.photo-gallery-controls{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:0 12px;pointer-events:none;opacity:0;transition:opacity .18s}
.photo-gallery-controls button{pointer-events:auto;background:rgba(251,250,247,.94);box-shadow:0 2px 10px #00000012}
.photo-gallery-controls>span{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:rgba(251,250,247,.94);padding:5px 10px;border-radius:999px}
.product-photo-gallery:hover .photo-gallery-controls,.product-photo-gallery:focus-within .photo-gallery-controls{opacity:1}
.catalog-intro-simple{padding-top:24px;padding-bottom:22px}
.catalog-intro-simple h1{font-size:clamp(2.5rem,3.5vw,3.4rem)}
.catalog-grid,.catalog-grid-curtains{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:48px}
.catalog-card .product-photo-gallery{width:min(100%,calc((100svh - 430px)*.8));margin:0 auto}
.catalog-card .photo-zoom{aspect-ratio:4/5;background:#e6e2d9}
.catalog-card .catalog-body{display:grid;grid-template-rows:56px auto 4.5em auto auto;justify-items:start;align-content:start;padding:10px 0 0;flex:0}
.catalog-card .card-colorline{height:56px;min-height:0;gap:6px;line-height:1.3}
.catalog-card .card-colorline .swatches{margin:0}
.catalog-card .card-colorline .selected-color{min-height:2.6em;display:flex;align-items:center;justify-content:center}
.catalog-card h2{font-size:1.6rem;line-height:1.2;margin:8px 0}
.catalog-card .catalog-desc{font-size:.82rem;line-height:1.5;min-height:0;margin:0;max-width:22rem}
.catalog-card .catalog-price{margin:12px 0;font-size:.84rem}
.catalog-card .catalog-actions{gap:10px}
.catalog-card .catalog-actions .button-primary{min-height:36px;padding:8px 14px;font-size:.7rem}
.catalog-card .catalog-actions .text-link{font-size:.7rem}
@media(min-width:761px) and (max-height:650px){.catalog-card .product-photo-gallery{width:min(100%,calc((100svh - 340px)*.8))}.catalog-intro-simple{padding:16px 4vw}.catalog-card .catalog-body{grid-template-rows:48px auto 4.5em auto auto;padding-top:6px}.catalog-card .card-colorline{height:48px}.catalog-card h2{font-size:1.35rem;margin:5px 0}.catalog-card .catalog-price{margin:8px 0}}
@media(max-width:760px){.catalog-grid,.catalog-grid-curtains{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 16px}.catalog-card .product-photo-gallery{width:100%}.catalog-card .catalog-body{grid-template-rows:70px auto 6em auto auto}.catalog-card .card-colorline{height:70px}.catalog-card h2{font-size:1.2rem}.catalog-card .catalog-desc{font-size:.75rem}.catalog-card .catalog-actions{flex-direction:column;gap:10px}.photo-gallery-controls{padding:0 7px}}
@media(hover:none){.photo-gallery-controls{opacity:1}}
/* Collection presentation: a visual story, with eight distinct product chapters. */
.wabi-story{background:#f8f7f3;color:var(--green)}
.ws-hero{max-width:1600px;margin:auto;padding:32px 4vw 22px;text-align:center}
.ws-hero-copy h1{font:400 clamp(4rem,8.8vw,8rem)/1 var(--serif);letter-spacing:-.05em;margin:12px 0}
.ws-hero-copy>p{font-size:clamp(1.1rem,2vw,1.6rem);margin:12px 0 24px}
.ws-hero figure{margin:0;overflow:hidden;border-radius:22px;height:clamp(300px,56svh,700px)}
.ws-hero figure img{width:100%;height:100%;object-fit:cover;object-position:center 58%}
.ws-explore{display:inline-block;font-size:.78rem;margin:18px 0 0}
.ws-overview{max-width:1440px;margin:0 auto;padding:70px 5vw 90px;scroll-margin-top:80px}
.ws-overview-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:32px}
.ws-overview h2{font:500 clamp(2rem,3.5vw,3.6rem)/1.1 var(--sans);letter-spacing:-.04em;margin:0}
.ws-overview-heading p{font-size:.95rem;line-height:1.55;margin:0;color:#687269}
.ws-previews{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:16px}
.ws-preview img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:12px;transition:transform .25s}
.ws-preview:hover img{transform:translateY(-4px)}
.ws-preview span,.ws-preview small{display:block}.ws-preview span{font-size:.85rem;font-weight:700;margin-top:10px}.ws-preview small{font-size:.68rem;color:#6a746c;margin-top:4px}
.wabi-story .wabi-model{display:block;max-width:1440px;padding:30px 5vw 24px;height:auto;min-height:calc(100svh - 78px);margin:0 auto 52px;scroll-margin-top:78px}
.ws-heading{margin-bottom:24px}.ws-heading h2{font:500 clamp(2rem,3.6vw,3.5rem)/1.05 var(--sans);letter-spacing:-.04em;margin:12px 0 0;max-width:900px}
.ws-composition{display:grid;grid-template-columns:1.35fr 1fr;gap:5vw;align-items:center}
.ws-main .product-photo-gallery{max-width:none}
.wabi-story .wabi-model .ws-main .photo-zoom{height:clamp(280px,calc(100svh - 310px),600px);aspect-ratio:auto;background:#eeece5;border-radius:18px}
.ws-main .photo-zoom img{object-fit:contain}
.ws-aside{display:grid;grid-template-columns:1fr;gap:18px}
.ws-detail{margin:0;min-width:0}.ws-detail .photo-zoom{height:clamp(140px,calc((100svh - 310px)*.48),280px);background:#eeece5;border-radius:16px}
.ws-detail img{object-position:var(--focal);object-fit:cover}
.ws-detail-crop img{width:100%;height:100%;object-fit:cover;scale:1.65}
.ws-detail-view img{object-fit:cover}
.ws-detail figcaption{font-size:.65rem;color:#788077;margin-top:8px}
.ws-copy h3{font:700 clamp(1.1rem,1.7vw,1.7rem)/1.2 var(--sans);letter-spacing:-.025em;margin:0 0 10px}
.ws-copy p{font-size:.9rem;line-height:1.55;margin:0;max-width:440px;color:#667166}
.ws-bottom{display:flex;gap:26px;align-items:center;justify-content:space-between;margin-top:20px;padding-top:16px;border-top:1px solid #dedfd6;min-height:50px}
.ws-material{font-size:.72rem;color:#71796f;max-width:33%}
.ws-colors{position:relative;font-size:.78rem;margin-left:auto}.ws-colors summary{cursor:pointer;list-style:none;font-weight:500;display:flex;gap:20px;align-items:center}.ws-colors summary::-webkit-details-marker{display:none}.ws-colors[open] summary>span{rotate:45deg}.ws-color-options{position:absolute;z-index:5;top:32px;right:0;width:280px;padding:20px;background:#fffefa;border:1px solid #d9ddd3;border-radius:14px;box-shadow:0 10px 32px #24342916}.ws-color-options .swatches{margin:4px 0 16px}.ws-color-options .selected-color{display:block;font-size:.72rem;line-height:1.45;color:#637063;min-height:2.9em}
.ws-bottom .text-link{font-size:.8rem;white-space:nowrap;margin:0}
.ws-right .ws-composition{grid-template-columns:1fr 1.35fr}.ws-right .ws-main{order:2}.ws-right .ws-aside{order:1}
.ws-wide .ws-composition{grid-template-columns:1.7fr 1fr;gap:4vw}.ws-wide .ws-main .photo-zoom img{object-fit:cover;object-position:50% 65%}
.ws-ending{padding:60px 5vw 80px;max-width:1440px;margin:auto;display:grid;grid-template-columns:1fr 1.4fr;gap:5vw;align-items:center}
.ws-ending h2{font:500 clamp(2.4rem,4vw,4.2rem)/1.05 var(--sans);letter-spacing:-.04em;margin:24px 0}.ws-ending p{font-size:.95rem;line-height:1.6;color:#697369;margin-bottom:28px}.ws-ending figure{margin:0;height:430px;border-radius:22px;overflow:hidden}.ws-ending img{width:100%;height:100%;object-fit:cover;object-position:70% center}
@media(min-width:761px) and (max-height:700px){.wabi-story .wabi-model{padding-top:20px}.ws-heading{margin-bottom:16px}.ws-heading h2{font-size:2.2rem}.ws-aside{gap:12px}.ws-copy p{font-size:.8rem}.ws-bottom{margin-top:16px}.wabi-story .wabi-model .ws-main .photo-zoom{height:calc(100svh - 275px)}.ws-detail .photo-zoom{height:calc((100svh - 275px)*.45)}}
@media(max-width:1000px){.ws-previews{grid-template-columns:repeat(4,minmax(0,1fr))}.ws-composition,.ws-right .ws-composition,.ws-wide .ws-composition{gap:3vw;grid-template-columns:1.2fr 1fr}.ws-right .ws-main{order:0}.ws-right .ws-aside{order:0}}
@media(max-width:760px){.ws-hero{padding:30px 20px 20px}.ws-hero-copy h1{font-size:4rem}.ws-hero figure{height:42svh}.ws-overview{padding:45px 24px 50px}.ws-overview-heading{display:block}.ws-overview-heading p{margin-top:18px;font-size:.85rem}.ws-previews{gap:18px 12px}.ws-preview span{font-size:.7rem}.ws-preview small{font-size:.6rem}.wabi-story .wabi-model{padding:24px 24px 30px;margin-bottom:20px;scroll-margin-top:100px;min-height:0}.ws-heading h2{font-size:2rem}.ws-heading{margin-bottom:18px}.ws-composition,.ws-right .ws-composition,.ws-wide .ws-composition{display:block}.wabi-story .wabi-model .ws-main .photo-zoom{height:38svh}.ws-aside{display:grid;grid-template-columns:.8fr 1fr;gap:16px;align-items:center;margin-top:18px}.ws-detail .photo-zoom{height:130px}.ws-copy h3{font-size:.95rem}.ws-copy p{font-size:.76rem;line-height:1.45}.ws-detail figcaption{font-size:.6rem}.ws-bottom{flex-wrap:wrap;gap:16px;margin-top:18px}.ws-material{max-width:none;width:100%;font-size:.65rem}.ws-colors{margin-left:0;margin-right:auto}.ws-bottom .text-link{font-size:.74rem}.ws-color-options{left:0;right:auto}.ws-ending{display:flex;flex-direction:column;padding:45px 24px 60px;gap:30px;align-items:stretch}.ws-ending figure{height:260px}}
@media(prefers-reduced-motion:reduce){.ws-preview img{transition:none}}

.wabi-story .ws-wide[data-category="Tende"] .ws-main .photo-zoom img{object-fit:contain}
.wabi-story .ws-color-options{top:auto;bottom:32px}

/* Catalog photographs navigate to the selected product without image zoom. */
.catalog-photo-link{display:block;width:100%;aspect-ratio:4/5;background:#e6e2d9;border-radius:18px;overflow:hidden;cursor:pointer}
.catalog-photo-link img{display:block;width:100%;height:100%;object-fit:contain}
.catalog-photo-link:focus-visible{outline:2px solid var(--green);outline-offset:4px}
/* Touch-first product shelves: the next card peeks into view. */
.mobile-quote-bar{display:none}
@media(max-width:760px){
 .home-page .featured-section{padding:30px 0 32px;overflow:hidden}
 .featured-section .section-heading{padding-inline:20px;margin-bottom:20px}
 .featured-section .section-heading h2{font-size:30px;line-height:1.1}
 .home-products,.catalog-grid,.catalog-grid-curtains{display:flex;align-items:stretch;gap:16px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:20px;padding:0 20px 16px;margin:0;max-width:none;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .home-products::-webkit-scrollbar,.catalog-grid::-webkit-scrollbar{display:none}
 .home-products>.catalog-card,.catalog-grid>.catalog-card{display:flex;flex:0 0 min(82vw,330px);min-width:0;margin:0;scroll-snap-align:start;scroll-snap-stop:normal}
 .catalog-section{padding-inline:0;overflow:hidden}
 .catalog-intro-simple{padding:24px 20px 20px}
 .catalog-intro-simple h1{font-size:34px}
 .catalog-card .product-photo-gallery{width:100%;margin:0}
 .catalog-card .catalog-photo-link{height:clamp(240px,40svh,320px);aspect-ratio:auto;border-radius:20px}
 .catalog-card .catalog-body{width:100%;display:grid;grid-template-rows:auto auto minmax(4.5em,auto) auto auto;gap:0;padding-top:10px;align-items:center;justify-items:start}
 .catalog-card .card-colorline{height:64px;gap:3px}
 .catalog-card .card-colorline .selected-color{font-size:11px;line-height:1.25;max-width:100%;min-height:28px;padding-inline:4px}
 .catalog-card .swatch{width:22px;height:22px;position:relative}
 .catalog-card .swatch::before{content:'';position:absolute;inset:-11px}
 .catalog-card h2{font-size:24px;line-height:1.15;margin:0}
 .catalog-card .catalog-desc{font-size:16px;line-height:1.5;display:block;max-width:100%;min-height:0;margin:0;padding-inline:0}
 .catalog-card .catalog-price{font-size:14px;margin:0}
 .catalog-card .catalog-actions{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:10px;width:100%;padding:0;border:0;margin:0}
 .catalog-card .catalog-actions .button-primary{min-height:44px;padding:11px 14px;font-size:11px;white-space:nowrap}
 .catalog-card .catalog-actions .text-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;white-space:nowrap}
 .catalog-footnote{padding:16px 20px 0}
 .detail-main-photo{height:48svh;min-height:280px;max-height:430px}
 .detail-panel .detail-quote{min-height:48px;justify-content:center}
 .mobile-quote-bar:not([hidden]){position:fixed;z-index:30;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8f5eef5;border-top:1px solid #dedbd2;padding:10px 20px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #00000008}
 .mobile-quote-bar span{font-size:17px;font-weight:700}
 .mobile-quote-bar .button-primary{font-size:13px;min-height:44px;padding:11px 18px}
 body:has(.mobile-quote-bar) footer{padding-bottom:100px}
}
@media(max-width:760px){.catalog-card .card-colorline .swatches{gap:22px}}
@media(max-width:760px){html{overflow-x:clip}}

/* Keep WebKit's layout viewport separate from horizontally scrolling shelves. */
html{overflow-x:hidden;overscroll-behavior-y:auto}
body{width:100%;min-width:0;overflow-x:hidden}
@supports(overflow:clip){html,body{overflow-x:clip}}
#main-content,.site-header,.site-footer{min-width:0;max-width:100%}
.mobile-menu{overflow:hidden}
.catalog-card .catalog-body{align-items:flex-start;text-align:left;padding-inline:0;gap:12px}
.catalog-card .card-colorline{align-items:flex-start;justify-content:flex-start;height:auto;min-height:64px}
.catalog-card .selected-color{padding-inline:0;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.catalog-card .catalog-desc{font-size:1rem;line-height:1.5;max-width:100%;text-wrap:pretty}
.catalog-card .catalog-actions{justify-content:flex-start;flex-wrap:wrap}
.catalog-card .catalog-price{margin-top:auto}
@media(max-width:760px){
 .home-products,.catalog-grid,.catalog-grid-curtains{width:100%;max-width:100%;min-width:0;contain:inline-size}
 .catalog-card .catalog-body{gap:12px;align-items:start}
 .catalog-card .card-colorline .selected-color{font-size:14px;line-height:1.4;padding:0;min-height:0}
 .catalog-card .catalog-desc{padding:0;min-height:4.5em}
 .catalog-card .catalog-price{font-size:16px;margin:0}
 .catalog-card .catalog-actions{gap:6px 14px}
 .catalog-card .catalog-actions .button-primary{font-size:12px}
}

/* Absolute accessibility labels must stay inside their scrolling product card,
   including after the reveal removes its transform and containing block. */
.catalog-card{position:relative}

.catalog-card[id]{scroll-margin-top:100px}

/* [Codex] Foto card 1:1: lo sfondo è già esteso nel file, senza zoom/crop. */
.catalog-card .catalog-photo-link{height:auto;aspect-ratio:1 / 1}
.catalog-card .catalog-photo-link img{object-fit:contain;transform:none}

/* [Codex] Collection images stay still on hover; explicit click opens the viewer. */
.collection-page .ws-preview:hover img,
.collection-page .photo-zoom:hover img,
.collection-showcase-card:hover .collection-showcase-image img,
.collection-card:hover .collection-image img{transform:none;filter:none}
