.boat-gallery{width:100%;color:var(--deep);min-width:0}
.boat-gallery-stage{position:relative;width:100%;aspect-ratio:4/5;background:#dce4df;touch-action:pan-y}
.boat-gallery-slide{display:block;position:absolute;inset:0;border:0;padding:0;background:transparent;width:100%;height:100%;cursor:zoom-in;color:white}
.boat-gallery-slide[hidden]{display:none}
.boat-gallery-slide img{display:block;width:100%;height:100%;object-fit:cover}
.boat-gallery-expand{position:absolute;right:15px;bottom:15px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:rgba(18,59,64,.7);font-size:25px}
.boat-gallery-thumbs{display:flex;flex-wrap:nowrap;gap:10px;padding:14px 0 0;align-items:flex-start;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none}
.boat-gallery-thumbs::-webkit-scrollbar{display:none}
.boat-gallery-thumb{flex:0 0 calc((100% - 30px)/4);scroll-snap-align:start;min-width:0;border:0;padding:0 0 7px;background:transparent;color:#527372;cursor:pointer;border-bottom:2px solid transparent;font:400 11px/1.4 var(--sans)}
.boat-gallery-thumb img{display:block;width:100%;height:auto;min-height:0;max-width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center 60%;margin-bottom:7px;opacity:.68;transition:opacity .2s}
.boat-gallery-thumb[aria-pressed=true]{color:var(--deep);border-bottom-color:var(--deep)}
.boat-gallery-thumb[aria-pressed=true] img,.boat-gallery-thumb:hover img{opacity:1}
.boat-gallery button:focus-visible,.boat-photo-dialog button:focus-visible{outline:2px solid #85b2bc;outline-offset:3px}
.boat-photo-dialog{border:0;padding:0;background:#102a30;color:white;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;overflow:hidden}
.boat-photo-dialog::backdrop{background:#102a30}
.boat-photo-dialog[open]{display:grid;grid-template-rows:1fr auto;align-items:center}
.boat-photo-dialog img{width:100%;height:calc(100dvh - 86px);object-fit:contain;touch-action:pan-y}
.boat-photo-toolbar{display:flex;align-items:center;justify-content:center;gap:20px;padding:12px 62px 24px;font:400 13px var(--sans)}
.boat-photo-dialog button{border:1px solid #ffffff66;border-radius:50%;background:#143c43;color:white;cursor:pointer;width:42px;height:42px;font-size:23px;flex-shrink:0}
.boat-photo-close{position:absolute;right:16px;top:16px;z-index:2}
body.boat-photo-open{overflow:hidden}
@media(max-width:700px){.boat-gallery-thumbs{padding:14px 6vw 0;gap:9px;scroll-padding-inline:6vw}.boat-gallery-thumb{flex-basis:calc((100% - 27px)/4);font-size:10px}.boat-gallery-stage{aspect-ratio:4/5}.boat-photo-toolbar{gap:12px;padding-right:20px;padding-left:20px}}
@media(max-height:500px) and (orientation:landscape){.boat-gallery-stage{aspect-ratio:16/9}}

/* Read the boat section in the same order on every screen. */
.option-detail.boat-spec-section>.option-detail-inner{display:flex;flex-direction:column;align-items:stretch;gap:30px;max-width:1160px}
.boat-spec-section>.boat-spec-heading{max-width:1160px;padding:0;margin:0 auto 24px}
.boat-spec-heading .kicker{color:#718b87}
.boat-spec-section .boat-description{width:100%;max-width:900px;margin:0 auto;align-self:auto}
.boat-spec-section .boat-gallery-stage{width:min(100%,600px);margin-inline:auto;aspect-ratio:4/5;max-height:none}
.boat-spec-section .boat-gallery-thumbs{width:min(100%,600px);margin-inline:auto}
@media(max-width:700px){
 .boat-spec-section>.boat-spec-heading{width:88%;margin:0 auto 24px;padding:0}
 .option-detail.boat-spec-section>.option-detail-inner{gap:26px}
 .boat-spec-section .boat-gallery-stage{width:100%;aspect-ratio:4/5;max-height:none}
 .boat-spec-section .boat-gallery-thumbs{width:100%}
 .boat-spec-section .boat-description{width:88%;margin:0 auto}
}
@media(max-height:500px) and (orientation:landscape){.boat-spec-section .boat-gallery-stage{aspect-ratio:16/9}}

.boat-description>.boat-consult-action{margin-top:24px}
.boat-consult-action .pill{max-width:100%;box-sizing:border-box;text-align:center;justify-content:center}
