/* New client scans use one 8:5 grid and their original names. */
.v6-slab-wall.wall{height:auto;overflow:visible;cursor:auto;border:0;background:none;mask-image:none;-webkit-mask-image:none}
.wholesale .v6-slab-wall .slabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:34px 22px;width:100%;max-width:100%;padding:0;user-select:auto}
.wholesale .v6-slab-wall .slabs .slab{transform:none;min-width:0;width:100%;max-width:100%}
.v6-slab-wall .slab-open .ph{aspect-ratio:8/5}
.v6-slab-wall img{width:100%;height:auto;aspect-ratio:8/5;object-fit:contain}
.v6-slab-wall .slab-name{font-family:var(--sans);font-size:17px;font-style:normal;line-height:1.5;overflow-wrap:anywhere}
.v6-slab-wall figcaption{display:block}.v6-slab-wall .wa{display:block;margin-block-start:8px;font-size:13px;white-space:normal;overflow-wrap:anywhere;max-width:100%}
.v6-slab-count{color:var(--mute);margin-block:0 24px}
.v6-stone-selector.stone-selector{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));overflow:visible;gap:20px 14px}
.v6-stone-selector .stone-choice{min-width:0}.v6-stone-selector .stone-choice img{block-size:auto;aspect-ratio:8/5;object-fit:contain}
.compare-slab-photos img{aspect-ratio:8/5;object-fit:contain}
.v6-retained{margin-block-start:42px}
.scene-tabs [hidden]{display:none}
@media(max-width:1000px){.wholesale .v6-slab-wall .slabs{grid-template-columns:repeat(3,minmax(0,1fr))}.v6-stone-selector.stone-selector{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:768px){.wholesale .v6-slab-wall .slabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}.v6-slab-wall .slab-name{font-size:14px}.v6-stone-selector.stone-selector{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px}.v6-stone-selector .stone-choice{flex:initial}.scene-tabs button{font-size:15px;padding:10px}.v6-stone-selector .stone-choice img{block-size:auto}}

/* TASK-D: full localized product names wrap in selectors, inquiry and captions. */
.v6-stone-selector .stone-choice span,.v6-stone-selector bdi,.v6-slab-wall bdi,.preview-label,.stone-detail h3,.inquiry-stones label,.lb-cap .slab-name{overflow-wrap:anywhere;white-space:normal;min-width:0}
.inquiry-stones label>span{min-width:0}
#compare-stone{max-width:100%;min-width:0}
