/* Scoped showroom styles. Global design tokens, header and other pages are unchanged. */
.xmj-showroom-section-title{font-size:var(--h2-size);margin:0 0 28px}
.xmj-material-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.xmj-material-card{border:1px solid var(--line);background:var(--white);min-width:0}
.xmj-material-card a{display:block;height:100%}
.xmj-material-cover{aspect-ratio:1;overflow:hidden;background:var(--soft);display:grid;place-items:center}
.xmj-material-cover img{display:block;width:100%;height:100%;object-fit:cover}
.xmj-material-placeholder{font-family:var(--heading-font);font-size:clamp(48px,8vw,100px);color:var(--gold)}
.xmj-material-copy{padding:25px}
.xmj-material-copy h2{font-size:var(--h3-size);margin:0 0 9px}
.xmj-material-copy p{margin:0;color:var(--muted)}
.xmj-pj-entry{margin:24px 0 0}
.xmj-pj-entry a{display:inline-block;border-bottom:1px solid var(--gold);padding-bottom:5px}
.xmj-showroom-results{margin-top:56px;padding-top:40px;border-top:1px solid var(--line)}
.xmj-showroom-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}
.xmj-showroom-filters a{display:inline-flex;align-items:center;padding:10px 15px;min-height:44px;border:1px solid var(--line);background:var(--white);font-size:13px}
.xmj-showroom-filters a[aria-current=page]{background:var(--ink);border-color:var(--ink);color:var(--white)}
.xmj-design-card .gallery-content h3{font-size:clamp(18px,1.7vw,24px)}
.xmj-design-model{font-size:13px;color:var(--muted);overflow-wrap:anywhere;margin:12px 0 0}
.xmj-showroom-empty{grid-column:1/-1;max-width:650px}
.xmj-showroom-empty a{border-bottom:1px solid var(--gold)}
.xmj-product-breadcrumb{font-size:13px;color:var(--muted);padding:28px 0 0;overflow-wrap:anywhere}
.xmj-product-breadcrumb a{border-bottom:1px solid var(--line)}
.xmj-product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:start;padding:32px 0 clamp(56px,7vw,96px)}
.xmj-product-media,.xmj-product-info{min-width:0}
.xmj-media-panel{margin:0 0 14px}
.xmj-media-panel[hidden],.xmj-media-thumbnails[hidden]{display:none}
.xmj-media-panel>img,.xmj-media-panel>video{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:var(--white)}
.xmj-media-panel>video{background:var(--dark)}
.xmj-media-panel figcaption{font-size:13px;color:var(--muted);margin-top:8px}
.xmj-media-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 10px}
.xmj-media-thumbnails button{flex:0 0 clamp(64px,7vw,94px);aspect-ratio:1;border:1px solid var(--line);background:var(--white);padding:0;color:var(--ink);cursor:pointer}
.xmj-media-thumbnails button[aria-pressed=true]{border:2px solid var(--gold)}
.xmj-media-thumbnails button:focus-visible,.xmj-showroom-filters a:focus-visible,.xmj-material-card a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.xmj-media-thumbnails img{display:block;width:100%;height:100%;object-fit:cover}
.xmj-video-thumb{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-size:12px}
.xmj-video-thumb span{font-size:21px}
.xmj-product-info h1{font-size:clamp(30px,3.1vw,46px);line-height:1.15;margin:0 0 20px;overflow-wrap:anywhere}
.xmj-product-model{font-size:14px;color:var(--muted);margin:0 0 22px;overflow-wrap:anywhere}
.xmj-product-excerpt p{color:var(--muted)}
.xmj-product-specs{border-top:1px solid var(--line);margin:24px 0 28px}
.xmj-product-specs>div{display:grid;grid-template-columns:minmax(110px,.7fr) minmax(0,1.3fr);gap:18px;border-bottom:1px solid var(--line);padding:14px 0}
.xmj-product-specs dt{font-weight:600}
.xmj-product-specs dd{margin:0;overflow-wrap:anywhere}
.xmj-product-enquiry{width:100%;text-align:center;white-space:normal}
.xmj-product-enquiry-note{font-size:13px;color:var(--muted);margin:12px 0 28px}
.xmj-product-description{overflow-wrap:anywhere}
.xmj-product-description img,.xmj-product-description video,.xmj-product-description iframe{max-width:100%}
@media(max-width:768px){
 .xmj-product-layout{grid-template-columns:minmax(0,1fr);gap:30px;padding-top:24px}
 .xmj-product-info h1{font-size:clamp(29px,6.5vw,40px)}
 .xmj-media-thumbnails button{flex-basis:76px}
 .xmj-material-grid{gap:16px}
 .xmj-material-copy{padding:18px}
}
@media(max-width:520px){
 .xmj-material-grid{grid-template-columns:minmax(0,1fr)}
 .xmj-product-specs>div{grid-template-columns:minmax(0,1fr);gap:5px}
 .xmj-showroom-results{margin-top:36px;padding-top:28px}
 .xmj-showroom-filters a{padding:9px 12px}
}

/* v1.7.14: compact archive heading and image enlargement, scoped to showroom. */
.xmj-catalogue-heading{padding:28px 0;border-bottom:1px solid var(--line)}.xmj-catalogue-heading h1{font-size:clamp(28px,3vw,36px);line-height:1.2;margin:0}.xmj-catalogue-heading~.content-section{padding-top:36px}
.xmj-image-enlarge{display:block;position:relative;cursor:zoom-in}.xmj-image-enlarge>img{display:block;width:100%;aspect-ratio:1;object-fit:contain;background:var(--white)}.xmj-enlarge-icon{position:absolute;right:14px;top:14px;display:grid;place-items:center;width:44px;height:44px;background:var(--white);color:var(--ink);border:1px solid var(--line);font-size:26px}
.xmj-photo-dialog{border:0;padding:16px;background:var(--white);color:var(--ink);max-width:94vw;max-height:94vh;overflow:auto}.xmj-photo-dialog::backdrop{background:rgba(0,0,0,.82)}.xmj-photo-dialog-image{display:block;max-width:85vw;max-height:78vh;width:auto;height:auto;object-fit:contain;margin:auto}.xmj-photo-dialog-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px}.xmj-photo-dialog button{border:1px solid var(--line);background:var(--white);color:var(--ink);padding:8px 16px;min-height:44px;cursor:pointer}.xmj-photo-dialog button:focus-visible,.xmj-image-enlarge:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.xmj-photo-counter{font-size:13px;color:var(--muted)}

/* Approved four-entry catalogue; scoped to product browsing only. */
.xmj-catalogue-layout .xmj-catalogue-heading{padding:28px 0 0;border:0}.xmj-catalogue-layout .xmj-catalogue-heading h1{font-size:clamp(30px,3.5vw,46px)}.xmj-catalogue-layout .xmj-catalogue-heading p{margin:8px 0 0;color:var(--gold)}.xmj-catalogue-layout .xmj-catalogue-heading~.content-section{padding-top:20px}
.xmj-catalogue-layout .xmj-material-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.xmj-catalogue-layout .xmj-material-cover{aspect-ratio:282/222}.xmj-catalogue-layout .xmj-material-copy{padding:14px 8px;text-align:center}.xmj-catalogue-layout .xmj-material-copy h2{font-size:18px;line-height:1.3;margin:0}.xmj-catalogue-layout .xmj-showroom-results{margin-top:26px;padding-top:20px;border-color:var(--gold)}.xmj-catalogue-layout .xmj-showroom-section-title{font-size:30px;line-height:1.2;margin-bottom:16px}
.xmj-collection-placeholder{padding:16px;text-align:center;color:var(--gold);font-family:var(--heading-font);font-size:clamp(20px,2.5vw,34px)}.xmj-catalogue-layout .xmj-material-placeholder{font-size:clamp(36px,5vw,70px)}
.xmj-catalogue-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.xmj-catalogue-products .gallery-content{padding:12px 14px}.xmj-catalogue-products .gallery-content h3{font-size:18px;line-height:1.4;margin:0}.xmj-catalogue-products .meta{display:none}
.xmj-pj-collections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 26px}.xmj-pj-collections a{padding:22px 14px;border:1px solid var(--line);background:var(--white);text-align:center}.xmj-pj-collections a[aria-current=page]{background:var(--ink);color:var(--white)}
@media(max-width:900px){.xmj-catalogue-layout .xmj-material-grid,.xmj-pj-collections{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.xmj-catalogue-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.xmj-catalogue-layout .xmj-material-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.xmj-catalogue-layout .xmj-material-copy h2{font-size:15px}.xmj-catalogue-products{grid-template-columns:1fr}.xmj-catalogue-layout .xmj-showroom-section-title{font-size:25px}}

/* v1.7.17: compact catalogue cards, only in product result grids. */
.gallery-grid.xmj-catalogue-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 20px}
.xmj-catalogue-products .gallery-card,.xmj-catalogue-products .gallery-card:hover{border:0;background:transparent;box-shadow:none}
.xmj-catalogue-products .gallery-card>a{border:0;background:transparent}
.xmj-catalogue-products .gallery-thumb{aspect-ratio:1;overflow:hidden;background:var(--white)}
.xmj-catalogue-products .gallery-thumb img{width:100%;height:100%;object-fit:contain}
.xmj-catalogue-products .gallery-content{padding:10px 0 0;background:transparent;border:0}
.xmj-catalogue-products .gallery-content h3{font-size:17px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.xmj-catalogue-products .xmj-design-model{margin:6px 0 0;font-size:12px}
@media(max-width:1100px){.gallery-grid.xmj-catalogue-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}}
@media(max-width:520px){.gallery-grid.xmj-catalogue-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.xmj-catalogue-products .gallery-content h3{font-size:15px}}

/* v1.7.18: concise reusable product enquiry layout, scoped to product pages. */
.xmj-product-detail .xmj-product-layout{padding-bottom:48px}
.xmj-product-detail .xmj-product-info>.eyebrow{margin-bottom:16px}
.xmj-product-detail .xmj-product-specs{margin:24px 0 20px}
.xmj-product-detail .xmj-product-specs>div{grid-template-columns:minmax(130px,.65fr) minmax(0,1.35fr);gap:20px;padding:15px 0}
.xmj-product-detail .xmj-product-specs dt{color:var(--ink);font-weight:500}
.xmj-product-detail .xmj-product-specs dd{color:var(--steel);white-space:pre-line;line-height:1.65;overflow-wrap:break-word}
.xmj-product-confirmation{font-size:13px;margin:0 0 20px;color:var(--muted)}
.xmj-product-detail .xmj-product-enquiry{background:#8b6b43;border-color:#8b6b43;color:#fff;min-height:52px}
.xmj-product-detail .xmj-product-enquiry:hover,.xmj-product-detail .xmj-product-enquiry:focus-visible{background:var(--ink);border-color:var(--ink)}
.xmj-product-detail .xmj-product-enquiry:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.xmj-product-details{padding:0 0 40px}
.xmj-product-details h2,.xmj-related-designs h2{font-size:clamp(27px,2.5vw,36px);line-height:1.2;margin:0 0 24px}
.xmj-product-details .xmj-product-description{max-width:850px}
.xmj-product-description table{display:block;max-width:100%;overflow-x:auto}
.xmj-related-designs{padding:28px 0 64px;border-top:1px solid var(--line)}
@media(max-width:1024px) and (min-width:769px){.xmj-product-detail .xmj-product-specs>div{grid-template-columns:1fr;gap:5px}}
@media(max-width:768px){.xmj-product-detail .xmj-product-layout{gap:28px;padding-bottom:38px}.xmj-related-designs{padding-bottom:44px}}
@media(max-width:520px){.xmj-product-detail .xmj-product-specs>div{grid-template-columns:minmax(0,1fr);gap:5px;padding:13px 0}}

/* v1.7.19: product preferences carried into the existing Contact enquiry form. */
.xmj-product-config{margin-top:24px;padding-top:22px;border-top:1px solid var(--line)}
.xmj-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
.xmj-config-field{min-width:0}
.xmj-config-field label{display:block;font-size:14px;font-weight:500;margin-bottom:7px;color:var(--ink)}
.xmj-config-field label span{font-size:12px;font-weight:400;color:var(--muted)}
.xmj-config-full{grid-column:1/-1}
.xmj-config-field input,.xmj-config-field select{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;padding:11px 12px;border:1px solid var(--line);border-radius:0;background:var(--white);color:var(--ink);font-size:16px;line-height:1.4}
.xmj-config-field select{padding-right:30px}
.xmj-config-field input:focus-visible,.xmj-config-field select:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.xmj-config-quantity{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,.45fr);gap:10px}
.xmj-product-customization{font-size:13px;margin:18px 0;color:var(--muted)}
.xmj-product-reference-note{font-size:12px;line-height:1.65;color:var(--muted);margin:12px 0 0}
.xmj-product-config .xmj-product-enquiry{cursor:pointer}
@media(max-width:1024px) and (min-width:769px){.xmj-config-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:380px){.xmj-config-grid{grid-template-columns:minmax(0,1fr)}}
