/* The photo route reuses the live showroom and 360 controls above the originals. */
body.photos-page:not(.keyboard-open){display:block;height:auto;min-height:100dvh;max-height:none;overflow:visible}
body.photos-page>main{display:block;height:auto;min-height:0;overflow:visible}
body.photos-page>header{position:sticky;top:0;z-index:8;background:#fff}
body.photos-page .eyebrow-row,body.photos-page .selector-heading,body.photos-page .collection-rail,body.photos-page #inlineCollection,body.photos-page #detailPhotos{display:none}
body.photos-page .showroom{height:clamp(340px,48vh,520px);min-height:340px;max-height:none;overflow:visible;padding-top:10px}
body.photos-page .showroom>.stage{height:100%;max-height:100%;transform:none}
body.photos-page .stage-tool-row{display:none}
body.photos-page .stage-controls{height:auto;min-height:24px;flex:0 0 24px}
#galleryRoot{padding:8px 0 32px}
#galleryRoot .original-photo-intro{font-size:14px;line-height:1.7;color:#777;max-width:850px;margin:0 0 16px}
#galleryRoot .original-photo-categories{grid-template-columns:1fr;gap:30px}
#galleryRoot .original-photo-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
#galleryRoot .original-photo-heading h3{font-size:17px;margin:0}
#galleryRoot .original-photo-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
#galleryRoot .original-photo-empty{min-height:70px}
body.photos-page.photo-viewer-open{overflow:hidden}
body.photos-page.photo-viewer-open>header,body.photos-page.photo-viewer-open>main,body.photos-page.photo-viewer-open>footer{filter:blur(7px);pointer-events:none}
@media(max-width:1100px){#galleryRoot .original-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){
 body.photos-page:not(.keyboard-open) .showroom{height:auto;min-height:0;grid-template-rows:auto auto auto;padding-top:10px}
 body.photos-page .showroom>.stage{height:clamp(195px,calc((100vw - 100px)*.72 + 24px),330px)}
 #galleryRoot .original-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 #galleryRoot .original-photo-heading h3{font-size:15px}
}
@media(pointer:coarse) and (orientation:landscape) and (max-height:650px){
 body.photos-page:not(.keyboard-open)>main{display:block}
 body.photos-page:not(.keyboard-open) .showroom{height:clamp(240px,75dvh,440px);min-height:240px;grid-template-rows:minmax(0,1fr)}
 body.photos-page .showroom>.stage{height:100%}
 #galleryRoot .original-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* Photo page has a simple logo header; search/navigation belong to the showroom. */
body.photos-page>header{display:flex;align-items:center;height:64px;min-height:64px;gap:0;padding:8px 0;position:static}
body.photos-page>header .header-search,body.photos-page>header nav{display:none}
body.photos-page .showroom{gap:6px}
body.photos-page .showroom .stage-controls{min-height:18px;flex-basis:18px;padding:0;gap:0}
body.photos-page .stage .visual-note{height:auto;min-height:0;line-height:16px;padding:0;margin:0}
@media(max-width:700px) and (orientation:portrait){
 body.photos-page:not(.keyboard-open) .showroom{padding-top:8px;gap:2px}
 body.photos-page .vehicle-info .specs{margin-top:8px;padding-bottom:0}
}

body.photos-page>header .advanced-search{display:none}
