.photo-open{display:block;width:100%;padding:0;border:0;cursor:zoom-in;border-radius:0;color:#fff;text-align:left;background:var(--theme-20);overflow:hidden}
.photo-open .vehicle-photo{transition:transform .2s ease}.photo-open:hover .vehicle-photo{transform:scale(1.025)}
.photo-open .category-badge{top:12px;bottom:auto;font-size:.875rem}.photo-count{position:absolute;right:12px;bottom:12px;padding:7px 11px;border-radius:6px;background:#101e35e8;color:white;font-size:.875rem;font-weight:600}
.vehicle-title-button{padding:0;background:none;color:inherit;font:inherit;text-align:left;letter-spacing:inherit;line-height:inherit}.vehicle-title-button:hover{text-decoration:underline;text-underline-offset:4px}
.direct-contact{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.direct-contact a{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:6px;font-size:.875rem;font-weight:600;text-decoration:none;color:var(--theme-18);background:white}.direct-contact a:hover{background:var(--theme-24);border-color:var(--theme-19)}
.contact-channel-links{display:flex;flex-wrap:wrap;gap:14px 24px;margin:16px 0 24px;font-size:1rem}.contact-channel-links a{overflow-wrap:anywhere;text-underline-offset:4px}
.footer-brand a{overflow-wrap:anywhere;line-height:1.9}.gallery-is-open{overflow:hidden}
.vehicle-gallery{width:calc(100% - 40px);max-width:1160px;max-height:calc(100dvh - 40px);border:1px solid var(--line);border-radius:18px;padding:28px;background:white;color:var(--ink);overflow:auto;box-shadow:0 24px 90px #07172c60}.vehicle-gallery::backdrop{background:#081323bd}
.gallery-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.gallery-heading .eyebrow{margin-bottom:8px}.gallery-heading h2{font-size:2rem;letter-spacing:-.8px;margin:0 0 8px}.gallery-specs{font-size:.9375rem;color:var(--muted);margin:0}
.gallery-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:26px;align-items:start}.gallery-viewer{min-width:0}.gallery-stage{background:#edf1f6;border-radius:10px;overflow:hidden;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}.gallery-stage img{width:100%;height:100%;object-fit:contain;display:block;touch-action:pan-y}.gallery-stage p{padding:30px;color:#263b55}
.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}.gallery-controls button{padding:10px 16px;min-height:44px;border-radius:6px;font-size:.875rem;background:var(--theme-24);color:var(--theme-18)}.gallery-controls span{font-size:.875rem;font-weight:600;white-space:nowrap}
.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:3px 2px 10px;scrollbar-width:thin;overscroll-behavior-x:contain}.gallery-thumbs button{padding:0;flex:0 0 88px;height:68px;background:#edf1f6;border:2px solid transparent;border-radius:6px;overflow:hidden}.gallery-thumbs img{width:100%;height:100%;object-fit:contain;display:block}.gallery-thumbs button[aria-pressed=true]{border-color:var(--theme-19);box-shadow:0 0 0 1px var(--theme-19)}.gallery-caption{color:var(--muted);font-size:.875rem;line-height:1.5;margin:10px 0 0}
.gallery-contact{background:var(--theme-3);border:1px solid var(--line);border-radius:10px;padding:22px}.gallery-contact .eyebrow{font-size:.875rem;letter-spacing:1px;margin-bottom:12px}.gallery-contact h3{font-size:1.5rem;margin-bottom:14px}.gallery-contact>p:not(.eyebrow){font-size:1rem;line-height:1.55;color:var(--muted)}.gallery-price{display:block;font-size:1.9rem;margin-top:22px;line-height:1.2}.gallery-fees{display:block;font-size:.875rem;color:var(--muted);line-height:1.5;margin:7px 0}.gallery-price-link{display:block;background:none;color:var(--theme-18);padding:4px 0;font-size:.875rem;text-align:left;text-decoration:underline;text-underline-offset:3px;margin-bottom:24px}
.gallery-contact>.button{width:100%;font-size:1rem;text-align:center}.gallery-phone{display:block;text-decoration:none;font-size:1.25rem;font-weight:600;margin-top:20px}.gallery-email{display:block;font-size:.875rem;overflow-wrap:anywhere;text-underline-offset:3px;margin-top:8px}.gallery-history{padding-top:20px;border-top:1px solid var(--line);margin-top:22px;font-size:.875rem!important}.gallery-history.review{color:#74470e!important}.gallery-contact .carfax-link{font-size:.875rem;margin-bottom:0}
@media(max-width:850px){.vehicle-gallery{max-width:680px}.gallery-layout{grid-template-columns:1fr}.gallery-contact{padding:22px}.gallery-heading h2{font-size:1.75rem}}
@media(max-width:480px){.vehicle-gallery{width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:16px;border-radius:12px}.gallery-heading{gap:10px;margin-bottom:16px}.gallery-heading h2{font-size:1.4rem}.gallery-heading .eyebrow{font-size:.75rem;letter-spacing:1px}.gallery-specs{font-size:.875rem}.gallery-controls button{padding:10px 12px}.gallery-thumbs button{flex-basis:76px;height:58px}.gallery-contact{padding:18px}.contact-channel-links{flex-direction:column;gap:12px}}
@media(prefers-reduced-motion:reduce){.photo-open .vehicle-photo{transition:none}}
.gallery-thumbs{position:relative}.gallery-stage{width:100%;height:min(50dvh,480px);aspect-ratio:auto}
.gallery-heading{position:sticky;top:-28px;z-index:3;background:white;padding-top:14px;padding-bottom:14px;margin-top:-14px}
@media(max-width:480px){.gallery-heading{top:-16px}.gallery-stage{height:auto;aspect-ratio:4/3}}
