/* Responsive refinements shared by the home, catalogue and product pages. */
@media(max-width:1100px){
 .site-theme .muf-header-actions>a{min-width:44px;min-height:44px;justify-content:center}
}
@media(max-width:900px){
 .site-theme .muf-home-scene .muf-scene-canvas{width:100%;min-width:0;aspect-ratio:2048/683}
 .site-theme .muf-home-scene .muf-scene-panorama{overflow:visible}
 .site-theme .muf-home-scene .muf-scene-hint span{display:none}
 .site-theme .muf-home-scene .muf-scene-point{left:clamp(24px,var(--point-x),calc(100% - 24px))}
 .site-theme .muf-home-scene .muf-scene-point>b{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .site-theme .muf-home-scene .muf-scene-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}
 .site-theme .muf-home-scene .muf-scene-tabs label{min-height:52px;padding:10px 5px;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
 .site-theme .muf-home-scene .muf-scene-popover{max-width:calc(100% - 24px)}
}
@media(max-width:600px){
 .site-theme .muf-header .sheet-nav{grid-template-columns:minmax(0,1fr) auto;gap:10px 8px}
 .site-theme .muf-header .sheet-nav>a{grid-row:1;grid-column:1;min-width:0}
 .site-theme .muf-header .sheet-logo{width:clamp(96px,32vw,154px);max-width:100%;height:48px}
 .site-theme .muf-header-actions{grid-row:1;grid-column:2;gap:4px}
 .site-theme .muf-header-actions>a{width:44px;padding:6px;position:relative;flex-shrink:0}
 .site-theme .muf-header-actions .muf-quote{gap:0}
 .site-theme .muf-header-actions .muf-quote>svg{display:block}
 .site-theme .muf-header-actions .muf-quote b{position:absolute;top:-5px;right:-3px;min-width:18px;height:18px;font-size:10px}
 .site-theme .muf-header-search{grid-row:2;grid-column:1/-1;min-width:0;width:calc(100% - 54px);justify-self:start}
 .site-theme .muf-mobile-menu{grid-row:2;grid-column:2;justify-self:end}
 .site-theme .muf-header-search input{font-size:16px}
 .site-theme .muf-scene-intro>.wrap{padding-top:14px;padding-bottom:14px;gap:10px}
 .site-theme .muf-scene-intro h1{font-size:clamp(26px,7vw,32px);line-height:1.15}
 .site-theme .muf-scene-intro .button{width:100%;justify-content:space-between}
 .site-theme .muf-home-scene .muf-scene-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-theme .muf-home-scene .muf-scene-tabs label{flex-direction:row;gap:8px}
 .site-theme .muf-scene-caption{font-size:11px;line-height:1.5}
 .site-theme main :is(input,select,textarea){font-size:16px}
 .site-theme main :is(.variant-option-grid,.variant-specs){grid-template-columns:minmax(0,1fr)}
 .site-theme .catalog-sort{flex-wrap:wrap;justify-content:flex-start}
 .site-theme .catalog-pagination{gap:8px}
 .site-theme .catalog-pagination a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
 .site-theme .quote-fields{min-width:0}
}
/* Featured products keep a usable text column at every mobile width. */
@media(max-width:1100px){
 .site-theme .commerce-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-theme .commerce-product{display:flex;flex-direction:column;align-items:stretch}
 .site-theme .commerce-product-image{width:100%;height:200px;min-height:0;flex-shrink:0}
 .site-theme .commerce-product>div{width:100%;min-width:0;box-sizing:border-box}
}
@media(max-width:600px){
 .site-theme .commerce-product-grid{grid-template-columns:minmax(0,1fr);gap:18px}
 .site-theme .commerce-product-image{height:210px;padding:16px}
 .site-theme .commerce-product>div{padding:18px}
 .site-theme .commerce-product h3{font-size:18px;line-height:1.4}
 .site-theme .commerce-product :is(button,.commerce-configure){width:100%;white-space:normal}
 .site-theme .commerce-selection-head{align-items:stretch}
}

/* Catalogue cards shown alongside the product being viewed. */
.site-theme .comparison-family-link {
 display: inline-flex;
 min-height: 44px;
 align-items: center;
 box-sizing: border-box;
 max-width: 100%;
 white-space: normal;
 text-decoration: none;
}
.site-theme .product-comparison {
 max-width: none;
}
.site-theme .product-comparison .catalog-grid {
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 18px;
}
.site-theme .product-comparison .catalog-image {
 aspect-ratio: 1.3;
 padding: 14px;
 box-sizing: border-box;
 background: #fafbf9;
 border-bottom: 1px solid #e1e6e8;
}
.site-theme .product-comparison .catalog-image img {
 display: block;
 width: 100%;
 height: 100%;
 object-fit: contain;
}
.site-theme .product-comparison .catalog-copy h3 {
 font-size: 17px;
 line-height: 1.4;
 margin: 9px 0;
}
.site-theme .product-comparison .catalog-copy h3 a {
 color: inherit;
 text-decoration: none;
}
.site-theme .product-comparison .catalog-actions > :is(a, button) {
 min-height: 44px;
 width: 100%;
 box-sizing: border-box;
}
.site-theme .product-comparison .catalog-configure {
 display: grid;
 place-items: center;
 background: #c5a366;
 color: #173345;
 border-radius: 4px;
 padding: 8px;
}
@media (max-width: 1050px) {
 .site-theme .product-comparison .catalog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
 }
}
@media (max-width: 640px) {
 .site-theme .product-comparison .catalog-grid {
  grid-template-columns: minmax(0, 1fr);
 }
 .site-theme .comparison-family-link {
  width: 100%;
 }
}
