/* Product preview layout only. Shared header, navigation and footer live in style.css. */
.product-page{padding:0 5% 65px;background:var(--paper)}
.product-breadcrumb{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:26px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.product-breadcrumb>a{border-bottom:1px solid #c1a782;padding-bottom:6px}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:50px;margin-top:34px;align-items:start}
.product-preview-column{min-width:0}
.product-view-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:20px}
.product-view-tabs button{border:0;background:none;color:var(--muted);padding:0 0 17px;font-size:13px;border-bottom:2px solid transparent;line-height:1.5}
.product-view-tabs button[aria-selected=true]{color:var(--ink);border-color:var(--brown)}
.product-view-panel{position:relative;overflow:hidden;min-height:400px;background:#eee3cf}
.product-view-panel[hidden]{display:none}
.single-product-view{height:585px;display:flex;align-items:center;justify-content:center;padding:25px 25px 55px}
.single-product-view>img{height:100%;width:100%;object-fit:contain;max-width:620px}
.preview-caption{position:absolute;bottom:0;left:0;right:0;background:#fff9edeb;border-top:1px solid #ddcbb0;padding:15px 20px;font-size:11px;color:#655748;line-height:1.6}
.tiled-product-view{height:585px;display:flex;align-items:center;justify-content:center;perspective:1000px;background:radial-gradient(ellipse,#dfcfaf,#eadfc9 70%)}
.tiled-perspective{width:72%;transform:rotateX(28deg) rotateZ(-15deg);box-shadow:8px 12px 0 #a59170,12px 20px 40px #72583a44}
.tiled-perspective canvas{display:block;width:100%;height:auto}
.room-product-view{aspect-ratio:3/2;min-height:0;padding-bottom:43px;background:#e8ddca}
.room-product-view canvas{display:block;width:100%;height:auto}
.product-detail-copy{position:sticky;top:28px;padding-top:8px;min-width:0}
.product-detail-copy h1{font:44px/1.2 var(--serif);letter-spacing:-1px;margin:20px 0}
.product-detail-copy>p{font-size:14px;line-height:1.9;color:#5e5144}
.product-detail-copy dl{padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:26px 0}
.product-detail-copy dl>div{display:flex;justify-content:space-between;gap:20px;font-size:13px;line-height:1.7;margin:9px 0}
.product-detail-copy dt{color:#5e5144}.product-detail-copy dd{margin:0;text-align:right;color:#5e5144}
.product-detail-copy>.detail-sample-note{font-size:12px;line-height:1.8}
.product-detail-copy>.button{width:100%;font-size:12px;justify-content:center;gap:10px;margin-top:23px}
.detail-instagram{font-size:12px;margin-top:17px;color:#655748}.detail-instagram .social-icon{width:18px;height:18px}
.preview-controls{display:flex;flex-wrap:wrap;align-items:center;gap:18px 25px;padding:22px 0;border-bottom:1px solid var(--line)}
.preview-controls[hidden]{display:none}
.scale-control{display:flex;align-items:center;gap:15px;font-size:12px;color:#655748}.scale-control input{width:100px;accent-color:#967347}
.preview-action,.grout-options button{border:1px solid #d6c29f;background:#fffaf1;padding:9px 12px;font-size:12px;color:#655748}
.preview-action[aria-pressed=true],.grout-options button.selected{background:#e9d7b8;color:#634b2c;border-color:#b89662}
.grout-options{display:flex;gap:6px}
.preview-explanation{font-size:13px;line-height:1.85;color:#655748;margin-top:20px}.preview-disclaimer{font-size:11px;line-height:1.8;color:#655748;margin-top:14px}
.download-preview{border:0;border-bottom:1px solid #b89c6f;padding:9px 0;color:var(--brown);background:transparent;font-size:12px;margin-top:14px}
.download-preview[hidden]{display:none}
.related-products{margin-top:32px;padding-top:22px;border-top:1px solid var(--line)}.related-products>.eyebrow{font-size:10px;color:var(--muted)}
.related-products>div{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}.related-products a{width:calc(33.333% - 8px);font-size:11px;line-height:1.6;color:#655748}.related-products img{width:100%;aspect-ratio:1;object-fit:cover;margin-bottom:7px}
@media(max-width:1050px) and (min-width:761px){.product-detail-layout{grid-template-columns:minmax(0,1fr) 270px;gap:30px}.single-product-view,.tiled-product-view{height:500px}.product-detail-copy h1{font-size:39px}.preview-controls{gap:15px}}
@media(max-width:760px){.product-page{padding:0 6% 45px}.product-breadcrumb{font-size:11px;padding:22px 0}.product-detail-layout{display:flex;flex-direction:column;gap:30px;margin-top:25px}.product-preview-column{width:100%}.product-view-tabs{gap:12px;justify-content:space-between;margin-bottom:17px}.product-view-tabs button{font-size:12px;padding-bottom:14px;min-height:44px}.single-product-view{height:440px;padding:20px 12px 50px}.tiled-product-view{height:390px}.preview-caption{font-size:11px;padding:12px 14px}.room-product-view{padding-bottom:43px}.product-detail-copy{position:static;padding:0;width:100%}.product-detail-copy h1{font-size:40px;margin:16px 0}.product-detail-copy dl{margin:22px 0}.preview-controls{gap:13px;padding:18px 0}.scale-control{width:100%;justify-content:space-between}.scale-control input{width:140px}.preview-action,.grout-options button{font-size:12px;padding:10px;min-height:42px}.related-products a{width:calc(33.333% - 8px)}.product-view-panel{min-height:0}.product-detail-copy>.button span{display:inline}}
/* Keep the full room canvas visible when its caption wraps on a phone. */
.room-product-view{aspect-ratio:auto;padding-bottom:0}.room-product-view .preview-caption{position:static;display:block}

.product-gallery{display:flex;flex-wrap:wrap;gap:12px;margin:15px 0 22px}.product-gallery[hidden],.detail-instagram[hidden],.detail-catalog[hidden]{display:none!important}.product-gallery button{width:100px;min-height:80px;padding:9px;border:1px solid #c6b8a1;background:#eee8de;color:var(--ink);font:11px var(--sans);cursor:pointer}.product-gallery button[aria-pressed=true]{border:2px solid var(--brown);padding:8px}.product-gallery img{width:100%;height:56px;object-fit:contain;margin-bottom:8px}.product-gallery span{display:block;line-height:1.5}.detail-catalog{margin-bottom:16px}.related-products img{object-fit:contain;background:#eee9e0;padding:6px}.single-product-view{background:#eee9e0}.single-product-view .preview-caption{background:#f4efe6}.product-detail-copy dd{overflow-wrap:anywhere}
@media(max-width:760px){.product-gallery{gap:10px}.product-gallery button{width:calc(33.333% - 7px);min-height:90px}.product-breadcrumb{align-items:flex-start}.product-breadcrumb>span{text-align:right;max-width:45%}.single-product-view{height:420px}}
