/* Boat details; all colors reuse the shared CRDM palette. */
.boat-page { margin: 0; }
#BoatDetails { color: var(--crdm-text); font: 15px/1.6 var(--crdm-font-ui); }
#BoatDetails *, #BoatDetails *::before, #BoatDetails *::after, .boat-lightbox * { box-sizing: border-box; }
.boat-page :where(#BoatDetails) :where(h1, h2, h3, p, dl, dd) { margin: 0; padding: 0; }
.boat-page :where(#BoatDetails) :where(h1, h2, h3) { color: var(--crdm-text-strong); font-family: var(--crdm-font-brand); font-style: normal; font-weight: normal; }
#BoatDetails a:not(.crdm-button) { color: inherit; text-decoration: none; }
#BoatDetails a:not(.crdm-button):hover { color: var(--crdm-brand-gold); }
#BoatDetails svg { width: 22px; height: 22px; flex: none; vertical-align: middle; }
#BoatDetails button { font-family: var(--crdm-font-ui); }
#BoatDetails a:focus-visible, #BoatDetails button:focus-visible, #BoatDetails summary:focus-visible { outline: 2px solid var(--crdm-info); outline-offset: 5px; }
.boat-wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.boat-skip { position: fixed; z-index: 6000; top: 8px; left: 8px; padding: 10px 18px; background: var(--crdm-surface-raised); transform: translateY(-200%); }
.boat-skip:focus { transform: none; }
.boat-hero { position: relative; min-height: 480px; isolation: isolate; overflow: hidden; }
.boat-hero-photo { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 55% 52%; }
.boat-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--crdm-background), transparent 76%); opacity: .76; }
.boat-hero-content { justify-content: flex-end; display: flex; flex-direction: column; align-items: flex-start; padding-top: 28px; padding-bottom: 42px; min-height: 480px; }
.boat-back { font-size: 12px; color: var(--crdm-text-strong) !important; margin-bottom: 20px; }
.boat-back span { margin-right: 8px; }
.boat-eyebrow { color: var(--crdm-brand-gold); font: 600 10px/1.4 var(--crdm-font-ui); letter-spacing: .19em; text-transform: uppercase; }
#BoatDetails .boat-hero h1 { font-size: clamp(58px, 6vw, 88px); font-style: normal; color: var(--crdm-text-strong); line-height: 1.1; margin-top: 8px; letter-spacing: -.025em; }
.boat-hero-subtitle { color: var(--crdm-text-strong); font-size: 15px; margin-top: 8px !important; }
.boat-hero-subtitle span { margin-inline: 9px; color: var(--crdm-brand-gold); }
.boat-hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 24px; }
.boat-page .crdm-button { font-size: 13px; gap: 14px; white-space: normal; text-align: center; }
.boat-page .crdm-button svg { width: 18px; height: 18px; }
.boat-photo-link { color: var(--crdm-text-strong) !important; font-size: 12px; }
.boat-photo-link span { margin-left: 8px; color: var(--crdm-brand-gold); }
.boat-facts { border-bottom: 1px solid var(--crdm-border); background: var(--crdm-surface-embedded); }
#BoatDetails .boat-facts dl { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 25px; margin-inline: auto; }
.boat-facts dl > div { position: relative; padding-left: 44px; border-right: 1px solid var(--crdm-border); margin-right: 28px; }
.boat-facts dl > div:last-child { margin: 0; border: 0; }
.boat-facts svg { position: absolute; left: 0; top: 9px; width: 26px; height: 26px; color: var(--crdm-brand-gold); }
.boat-facts dt { color: var(--crdm-text-muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.boat-facts dd { font-size: 14px; color: var(--crdm-text-strong); }
.boat-content { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 65px; padding-block: 60px 70px; align-items: start; }
.boat-story { min-width: 0; }
.boat-story h2 { font-size: 35px; line-height: 1.2; letter-spacing: -.02em; }
.boat-story h2 em { color: var(--crdm-brand-tan); font-weight: normal; }
.boat-intro h2 { margin-block: 12px 22px; }
.boat-story p { max-width: 680px; }
.boat-story .boat-lead { font-size: 17px; line-height: 1.7; color: var(--crdm-text-strong); margin-bottom: 18px; }
.boat-features { list-style: none; padding: 0; margin: 25px 0 0; display: grid; gap: 9px; font-size: 13px; }
.boat-features li { display: flex; align-items: center; gap: 12px; }
.boat-features svg { width: 17px; height: 17px; color: var(--crdm-brand-gold); }
.boat-description ul { list-style: none; padding: 0; margin: 25px 0 0; display: grid; gap: 9px; font-size: 13px; }
.boat-description ul > li { position: relative; padding-left: 29px; }
.boat-description ul > li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 17px; color: var(--crdm-brand-gold); font-size: 18px; line-height: 1.15; }
.boat-photos { padding-block: 40px; scroll-margin-top: 24px; }
.boat-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.boat-section-heading h2 { font-size: 26px; }
.boat-section-heading > span { color: var(--crdm-text-muted); font-size: 11px; white-space: nowrap; }
.boat-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.boat-gallery-photo { position: relative; display: block; overflow: hidden; border-radius: 3px; background: var(--crdm-surface-raised); }
.boat-gallery-photo img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: 50% 50%; transition: transform .25s; }
.boat-gallery-photo:hover img { transform: scale(1.035); }
.boat-gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; font-size: 10px; color: var(--crdm-text-strong); }
.boat-gallery-caption svg { width: 15px; height: 15px; color: var(--crdm-brand-gold); }
.boat-trip { padding-block: 28px; border-top: 1px solid var(--crdm-border); }
.boat-trip h2 { margin-top: 10px; }
.boat-rate { display: flex; justify-content: space-between; gap: 22px; align-items: center; padding-block: 24px; }
.boat-rate h3 { font-size: 23px; margin-bottom: 4px; }
.boat-rate p { font-size: 12px; }
.boat-rate-price { text-align: right; flex: none; }
.boat-rate-price strong { display: block; color: var(--crdm-brand-gold); font: 32px/1.15 var(--crdm-font-brand); }
.boat-rate-price > span { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.boat-specs { border-top: 1px solid var(--crdm-border); }
.boat-specs > div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--crdm-border); padding-block: 11px; font-size: 12px; }
.boat-specs dd { color: var(--crdm-text-strong); text-align: right; }
.boat-fineprint { font-size: 11px; line-height: 1.65; margin-top: 18px !important; }
.boat-closing { padding-block: 34px 0; }
.boat-closing h2 { margin-block: 10px 17px; font-size: 29px; }
.boat-closing p:not(.boat-eyebrow) { font-size: 14px; }
.boat-closing a { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; color: var(--crdm-brand-gold); font-size: 12px; }
.boat-closing a svg { width: 17px; }
.boat-inquiry { position: sticky; top: 20px; border: 1px solid var(--crdm-border-strong); border-top: 3px solid var(--crdm-brand-bronze); border-radius: 5px; padding: 26px; background: var(--crdm-surface-raised); box-shadow: var(--crdm-shadow-raised); scroll-margin-top: 20px; }
.boat-inquiry h2 { font-size: 30px; line-height: 1.3; margin-top: 7px; }
.boat-inquiry-intro { margin-top: 8px !important; font-size: 12px; }
.boat-inquiry-intro strong { color: var(--crdm-text-strong); font-weight: normal; }
.boat-inquiry-rate { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-block: 1px solid var(--crdm-border); padding-block: 13px; margin-block: 22px; font-size: 12px; }
.boat-inquiry-rate strong { color: var(--crdm-brand-gold); font: 24px/1.2 var(--crdm-font-brand); }
.boat-inquiry-rate small { font: 10px var(--crdm-font-ui); }
.boat-inquiry-fields { display: grid; gap: 16px; }
.boat-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.boat-field { min-width: 0; }
.boat-field .crdm-control-label { display: block; font-size: 12px; letter-spacing: .045em; margin-bottom: 7px; color: var(--crdm-text-label); text-transform: uppercase; }
.boat-field .crdm-control-label span { font-size: 9px; text-transform: none; letter-spacing: 0; }
.boat-field .crdm-control { width: 100%; min-width: 0; max-width: 100%; font-size: 16px; }
.boat-inquiry input[type="tel"].crdm-control { width: 100%; max-width: 100%; }
.boat-field .crdm-control::placeholder { font-size: 12px; }
.boat-field textarea { resize: vertical; min-height: 88px; padding: 10px 12px; }
.boat-field .crdm-date-control { width: 100%; max-width: 100%; }
.boat-field .crdm-date-control > input { width: 100%; padding-inline: 9px; font-size: 16px; }
.boat-page .boat-field .crdm-date-control__trigger { width: 35px; min-width: 35px; height: 44px; margin: 0; padding: 0; gap: 0; }
.boat-reservation { font-size: 11px; }
.boat-reservation summary { cursor: pointer; color: var(--crdm-brand-tan); }
.boat-reservation[open] .boat-field { margin-top: 14px; }
.boat-request-button { width: 100%; justify-content: center; }
.boat-request-assurance { font-size: 10px; text-align: center; line-height: 1.7; }
.boat-lightbox { width: min(1100px, calc(100% - 36px)); max-height: calc(100% - 48px); padding: 14px; overflow: auto; border: 1px solid var(--crdm-border-strong); border-radius: 5px; background: var(--crdm-surface); color: var(--crdm-text-strong); box-shadow: var(--crdm-shadow-popover); }
.boat-lightbox::backdrop { background: var(--crdm-background); opacity: .92; }
.boat-lightbox > img { display: block; width: 100%; max-height: 72vh; object-fit: contain; }
.boat-lightbox-close { display: block; margin: 0 0 12px auto; padding: 3px 12px; border: 1px solid var(--crdm-border); background: var(--crdm-surface-control); color: var(--crdm-text-strong); font-size: 24px; cursor: pointer; border-radius: 3px; }
.boat-lightbox-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; text-align: center; }
.boat-lightbox-footer button { border: 1px solid var(--crdm-border); background: var(--crdm-surface-control); color: var(--crdm-brand-gold); padding: 8px 14px; font-size: 20px; cursor: pointer; border-radius: 3px; }
.boat-lightbox-footer p { font-size: 13px; }
.boat-lightbox-footer small { display: block; margin-top: 3px; font-size: 10px; color: var(--crdm-text-muted); }
@media (max-width: 1050px) {
	.boat-content { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; }
	.boat-gallery-photo img { height: 180px; }
}
@media (max-width: 800px) {
	.boat-content { grid-template-columns: 1fr; gap: 44px; }
	.boat-inquiry { position: static; max-width: 560px; width: 100%; margin-inline: auto; }
	#BoatDetails .boat-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
	.boat-facts dl > div:nth-child(2) { border: 0; margin-right: 0; }
	.boat-gallery-photo img { height: 230px; }
}
@media (max-width: 600px) {
	.boat-wrap { width: calc(100% - 40px); }
	.boat-hero { min-height: 0; }
	.boat-hero-photo { position: static; height: auto; aspect-ratio: 16 / 10; object-position: 55% center; display: block; }
	.boat-hero-shade { display: none; }
	.boat-hero-content { min-height: 0; padding-block: 22px 28px; }
	.boat-back { margin-bottom: 20px; font-size: 10px; }
	#BoatDetails .boat-hero h1 { font-size: 56px; }
	.boat-hero-subtitle { font-size: 12px; }
	.boat-hero-subtitle span { margin-inline: 6px; }
	.boat-hero-actions { gap: 20px; width: 100%; flex-wrap: wrap; margin-top: 22px; }
	.boat-page .crdm-button { font-size: 12px; padding-inline: 16px; }
	.boat-photo-link { font-size: 11px; }
	#BoatDetails .boat-facts dl { padding-block: 22px; }
	.boat-facts dl > div { margin-right: 12px; padding-left: 32px; }
	.boat-facts svg { width: 21px; height: 21px; }
	.boat-facts dd { font-size: 12px; }
	.boat-facts dt { font-size: 8px; }
	.boat-content { padding-block: 36px 40px; }
	.boat-story h2 { font-size: 30px; }
	.boat-story .boat-lead { font-size: 16px; }
	.boat-story > section > p:not(.boat-eyebrow):not(.boat-lead) { font-size: 14px; }
	.boat-section-heading h2 { font-size: 24px; }
	.boat-gallery { gap: 10px; }
	.boat-gallery-photo img { height: 150px; }
	.boat-gallery-caption { font-size: 9px; padding: 10px; line-height: 1.5; }
	.boat-gallery-caption svg { width: 12px; height: 12px; }
	.boat-rate h3 { font-size: 21px; }
	.boat-rate-price strong { font-size: 29px; }
	.boat-specs > div { font-size: 11px; }
	.boat-inquiry { padding: 22px; }
	.boat-inquiry h2 { font-size: 29px; }
	.boat-field .crdm-control { font-size: 16px; }
	.boat-field-row:first-child { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
	.boat-field-row { gap: 10px; }
}
@media (max-width: 360px) {
	.boat-wrap { width: calc(100% - 32px); }
	#BoatDetails .boat-hero h1 { font-size: 49px; }
	.boat-field-row, .boat-field-row:first-child { grid-template-columns: 1fr; }
	.boat-inquiry { padding: 20px; }
	.boat-gallery { grid-template-columns: 1fr; }
	.boat-gallery-photo img { height: auto; aspect-ratio: 5 / 3; }
}
@media (prefers-reduced-motion: reduce) {
	.boat-gallery-photo img { transition: none; }
}

.boat-description p + p { margin-top: 16px; }
.boat-description img { max-width: 100%; height: auto; }
.boat-request-status { margin-block: 20px !important; }
