/* Mobile layout: previews stay visible while the adjacent controls scroll. */
@media(max-width:650px),(max-width:900px) and (max-height:500px){
 body .section{padding-top:40px;padding-bottom:40px}
 body .photo-hero{min-height:72svh;padding-top:102px;padding-bottom:32px}
 body .photo-hero-actions{gap:10px}
 body .approved-journey{padding-top:36px;padding-bottom:36px}
 body .why-grid{gap:14px}
 body .cat-overview{padding-top:100px;padding-bottom:36px}
 body .cat-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 body .cat-overview-image{aspect-ratio:4/3}
 body .cat-overview-copy{min-height:0;padding:12px;gap:6px}
 body .cat-overview-copy strong{font-size:17px}
 body .cat-overview-copy>span{font-size:12px;line-height:1.5}
 body .cat-overview-copy small{font-size:10px;letter-spacing:1px}
 body .cat-overview-copy b{display:none}
 body .cat-panel{padding-top:26px;padding-bottom:36px}
 body .cat-intro{gap:14px;margin-bottom:22px}
 body .cat-turf-product-copy{padding:18px}
 body .cat-turf-specs>div{padding:7px 0}
 body .product-intro.design-intro{padding-top:102px;padding-bottom:24px;gap:16px}
 body .design-intro h1{font-size:40px;line-height:1.05}
 body .design-intro h1 br{display:none}
 body.products-page .studio-heading{margin-bottom:14px}
 body.products-page .studio-heading h2{font-size:25px}
 body.products-page .studio-designs{margin-bottom:14px}
 body #studio-workspace{scroll-margin-top:80px}
 body.products-page .studio-layout{height:calc(100svh - 148px);min-height:0;overflow:hidden;display:flex;flex-direction:column}
 body.products-page .studio-preview{height:auto;position:relative;top:auto;flex:0 0 auto;width:100%}
 body.products-page .studio-picture{min-height:0;height:clamp(120px,27svh,240px);max-height:27svh;aspect-ratio:auto}
 body.products-page .studio-caption{height:auto;min-height:38px;padding:6px 10px;gap:8px}
 body.products-page .studio-caption p{font-size:11px;line-height:1.4}
 body.products-page .studio-caption button{min-height:36px;padding:6px}
 body.products-page .studio-chooser{height:auto;flex:1 1 0;min-height:0;overflow:hidden;display:flex;flex-direction:column}
 body.products-page .studio-tabs{flex:0 0 auto;position:static;padding:0 12px;gap:20px}
 body.products-page .studio-tabs button{min-height:44px;padding:10px 4px}
 body.products-page .studio-options{flex:1 1 auto!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:auto!important;overscroll-behavior-y:contain;padding:12px!important}
 body.products-page .studio-options fieldset{margin-bottom:14px}
 body.products-page .studio-options select{margin-bottom:12px;padding:10px;font-size:16px}
 body.products-page .studio-label,body.products-page .studio-options legend{margin-bottom:8px}
 body.products-page .studio-swatches{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 body.products-page .studio-swatches button{min-height:48px;gap:5px;padding:6px;font-size:10px}
 body.products-page .studio-swatches img,body.products-page .studio-swatches .color-chip{width:24px;height:24px}
 body.products-page .studio-patterns{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 body.products-page .studio-patterns button{padding:5px;min-height:44px}
 body.products-page .studio-patterns img{height:40px;margin-bottom:4px}
 body.products-page .studio-bottom{padding:6px 10px}
 body.products-page .studio-bottom .button{min-height:40px;padding:9px 12px}
 /* The modal has a fixed preview and a separate control pane. */
 body #product-modal{height:100dvh;max-height:100dvh;overflow:hidden}
 body .cat-modal-scroll{display:flex;flex-direction:column;height:100%;max-height:100%;overflow:hidden}
 body .cat-modal-gallery,body .cat-modal-gallery.is-holland{position:relative;top:auto;flex:0 0 auto;min-height:0;background:var(--cat-modal)}
 body .cat-modal-media,body .cat-modal-media.is-paver-sample,body .cat-modal-media.is-paver-empty{height:27svh;max-height:240px;min-height:100px;aspect-ratio:auto!important}
 body .cat-modal-media>img{padding:8px;object-fit:contain}
 body .cat-modal-thumbs{padding:6px 10px;gap:6px}
 body .cat-modal-thumb{flex:0 0 64px}
 body .cat-modal-thumb img{height:38px}
 body .cat-modal-thumb span{font-size:10px}
 body .cat-holland-patterns{padding:8px 12px}
 body .cat-holland-patterns h3{font-size:13px;margin:0 0 6px}
 body .cat-holland-pattern-grid{display:flex;overflow-x:auto;gap:10px;padding-bottom:4px}
 body .cat-holland-pattern-grid figure{flex:0 0 84px}
 body .cat-holland-pattern-grid img{height:50px;aspect-ratio:auto}
 body .cat-holland-pattern-grid figcaption{font-size:10px;margin-top:4px;line-height:1.25}
 body .cat-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;display:flex;flex-direction:column;gap:12px;padding:16px 18px 24px}
 body .cat-modal-body>*{flex-shrink:0}
 body .cat-modal-eyebrow{display:none}
 body .cat-modal-title{order:0;font-size:24px;margin:0}
 body .cat-modal-detail{order:1;margin:0;font-size:12px}
 body .cat-modal-options{order:2;gap:12px}
 body .cat-modal-selection{order:3;margin:0;padding-top:10px;font-size:12px}
 body .cat-modal-cta{order:4;min-height:44px}
 body .cat-modal-about{order:5;font-size:13px}
 body .cat-modal-specs{order:6}
 body .cat-modal-foot{order:7}
 body .cat-row-body{gap:10px 8px}
 body .cat-swatch{width:calc((100% - 40px)/6);min-width:40px;min-height:56px}
 body .cat-swatch span{width:32px;height:32px}
 body .cat-swatch small{font-size:10px}
 body .cat-row-note{font-size:11px;margin-top:8px}
 body .cat-modal-close{top:8px;right:8px}
 body .cat-modal-media.is-paver-empty .cat-modal-empty{padding:10px;height:100%;overflow:auto}
 body.compare-page .compare-hero{padding-top:104px}
 body.compare-page .compare-section{padding-top:32px;padding-bottom:32px}
}
@media(max-width:360px){body.products-page .studio-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}body .cat-swatch{width:44px}}
@media(max-width:650px) and (max-height:600px){body.products-page .studio-picture{min-height:0;height:22svh;max-height:22svh}body .cat-modal-media,body .cat-modal-media.is-paver-sample{height:22svh;min-height:70px}body .cat-holland-pattern-grid img{height:34px}}

@media(max-width:650px),(max-width:900px) and (max-height:500px){
 body.compare-page .compare-left{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:0 14px;margin-bottom:18px}
 body.compare-page .compare-number{font-size:30px;margin:0;flex-shrink:0}
 body.compare-page .compare-left h2{font-size:29px;margin:0}
 body.compare-page .compare-left p{grid-column:1/-1;margin-top:16px}
 body.compare-page .compare-lists{gap:16px}
 body.compare-page .compare-checklist{padding-top:36px;padding-bottom:36px}
 body.compare-page .compare-jump-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.compare-page .compare-jump-nav a{min-height:62px;padding:12px;gap:8px}
 body.compare-page .compare-jump-nav strong{font-size:12px}
}
@media(max-width:650px),(max-width:900px) and (max-height:500px){body.products-page .studio-picture:not(.is-zoomed) .studio-pan-row{display:none}}
@media(max-width:360px){body.compare-page .compare-number{font-size:24px}body.compare-page .compare-left h2{font-size:26px}}
