.product-wrap{width:min(1220px,92%);margin:2.25rem auto 4rem}.back-edit{display:inline-block;margin-bottom:1.5rem}
.product-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(2rem,5vw,5rem);align-items:start}
#product-photo img{display:block;width:100%;max-height:720px;object-fit:contain;background:#f4eeea}
#product-photo img[hidden],#hosted[hidden]{display:none!important}
.gallery-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.gallery-tools button,.product-info select,#photo-zoom button{padding:10px 14px;border:1px solid #a59188;color:#422330;background:#fffaf5;cursor:pointer;font:inherit;border-radius:0}
.gallery-tools [data-image]{padding:2px}.gallery-tools [aria-pressed=true]{outline:2px solid #572539}
.gallery-tools img{display:block;width:44px;height:54px;object-fit:cover}
.product-info h1{font-size:clamp(2.2rem,4.6vw,4.5rem);line-height:1.05;margin:0 0 1.25rem}
.product-info fieldset{display:flex;flex-wrap:wrap;gap:1rem;border:0;padding:0;margin:1.5rem 0}
.product-info legend{margin-bottom:.8rem}.product-info label{display:grid;gap:5px}.product-info .small-note,.product-info #stock-status{font-size:.9rem}
#selection-price{font-size:1.4rem}#product-summary{line-height:1.6;overflow-wrap:anywhere}
#photo-zoom{max-width:96vw;max-height:95dvh;border:0;padding:.75rem;background:#fffaf5}
#photo-zoom::backdrop{background:rgba(37,23,26,.8)}#photo-zoom img{display:block;max-width:100%;max-height:78dvh;object-fit:contain}
.related{margin-top:3rem;border-top:1px solid #baa79c;padding-top:1rem}.related a{display:block;margin:.65rem 0}
@media(max-width:760px){.product-layout{grid-template-columns:1fr;gap:1.75rem}.product-wrap{margin-top:1.25rem}#product-photo img{max-height:65dvh}}
.product-layout:has(#product-photo:empty){grid-template-columns:minmax(0,48rem);justify-content:center}
.product-layout>div:has(>#product-photo:empty){display:none}
.measurements{margin:1.25rem 0;border-block:1px solid #dacdc5;padding:.8rem 0}.measurements summary{cursor:pointer}.measurements div{max-width:100%;overflow-x:auto}.measurements table{width:100%;border-collapse:collapse;text-align:left;font-size:.88rem}.measurements th,.measurements td{padding:.5rem;border-bottom:1px solid #e3d9d2}.measurements caption{text-align:left;padding:.75rem 0}.product-info{min-width:0}

.related{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem}.related h2{grid-column:1/-1}.related a{max-width:22rem}.related img{width:100%;aspect-ratio:4/5;object-fit:cover;display:block;margin-bottom:.7rem}
