/* Custom tour booking. Gravity Forms 98, drawn in the homepage shell. */

.book { background: var(--sand-50); padding-block: clamp(1.35rem, 3vw, 2.5rem) 3rem; }
.book-layout { max-width: 42rem; margin-inline: auto; }

.book-crumb { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .85rem; color: var(--muted); font-size: .875rem; }
.book-crumb a { color: var(--muted); text-decoration: none; font-weight: 650; }
.book-crumb a:hover { color: var(--ocean-600); }
.book-title { font-size: clamp(2rem, 1.3rem + 2vw, 2.75rem); font-weight: 850; }
.book-lead { margin-top: .7rem !important; color: var(--muted); font-size: 1.05rem; }
.book-thanks p { margin: 0 0 .8rem; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.book-thanks p:last-child { margin-bottom: 0; }

.book-form {
	margin-top: 1.35rem;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(7, 26, 46, .04);
	padding: 1.45rem 1.2rem 1.35rem;
}
.book-note {
	margin-top: .85rem !important;
	padding: .9rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	font-size: .9rem;
	font-weight: 450;
	line-height: 1.55;
}

.cda-booking .gform_wrapper,
.cda-booking .gform_wrapper form { margin: 0; max-width: none; }
.cda-booking .gform_heading,
.cda-booking .gform_validation_container,
.cda-booking .gform_required_legend { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cda-booking .gfield_visibility_hidden { display: none !important; }

.cda-booking .gform_fields { display: grid; gap: 1.15rem; }
.cda-booking .gfield { min-width: 0; margin: 0 !important; padding: 0; border: 0; }
.cda-booking .gform_fields > .gfield.gsection,
.cda-booking .gform_fields > .gfield--type-section {
	margin-top: .85rem !important;
	margin-bottom: -.2rem !important;
}
.cda-booking .gfield_label,
.cda-booking legend.gfield_label,
.cda-booking .ginput_container,
.cda-booking .gfield_description {
	float: none !important; width: 100% !important; max-width: none !important;
}

.cda-booking #field_98_77,
.cda-booking #field_133_77 {
	margin: 0 !important;
	padding: 0 0 .15rem;
	background: transparent;
}
.cda-booking #field_98_77 .gfield_label,
.cda-booking #field_133_77 .gfield_label {
	margin: 0 0 .4rem; color: var(--muted); font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
}
.cda-booking #field_98_77 .gfield_description,
.cda-booking #field_133_77 .gfield_description { margin: .4rem 0 0; padding: 0; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.cda-booking .gform_wrapper.gravity-theme #field_98_77 input,
.cda-booking .gform_wrapper.gravity-theme #field_133_77 input {
	width: 100%; min-height: 3.15rem; margin: 0; padding: .4rem .85rem;
	border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy-800);
	font-family: var(--heading); font-size: 1.7rem; font-weight: 650; letter-spacing: -.02em;
}

.cda-booking .gform_wrapper.gravity-theme .gsection {
	border: 0 !important;
	padding: 0 !important;
}
.cda-booking #field_98_85,
.cda-booking #field_133_85 { display: none; }
.cda-booking .gform_wrapper.gravity-theme .gsection_title {
	display: flex; align-items: center; gap: .55rem;
	margin: 0; padding: 1.2rem 0 .15rem;
	border-top: 1px solid var(--line);
	font-family: var(--heading); font-size: 1.02rem; font-weight: 650; line-height: 1.3;
	letter-spacing: .01em; color: var(--navy-800);
}
.cda-booking .gform_wrapper.gravity-theme .gsection_title::before {
	content: ""; flex: none; width: 2px; height: .85em; border-radius: 99px; background: var(--ocean-600);
}
.cda-booking .gform_wrapper.gravity-theme .gfield_label,
.cda-booking .gform_wrapper.gravity-theme legend.gfield_label {
	display: block; margin: 0 0 .45rem; padding: 0;
	font-family: var(--font); font-size: .92rem; font-weight: 550; line-height: 1.35; color: var(--ink);
}
.cda-booking .gfield_required { margin-left: .35rem; color: var(--coral-600); font-size: .78rem; font-weight: 600; }
.cda-booking #field_98_82 { container-type: inline-size; }
.cda-booking #field_98_82 .gfield_label,
.cda-booking #field_98_82 .gform-field-label__text {
	font-family: var(--heading); font-size: min(1.02rem, 5.3cqi); font-weight: 600;
	letter-spacing: 0; line-height: 1.25; white-space: nowrap;
}
.cda-booking .gform_wrapper.gravity-theme .gfield_description,
.cda-booking .gform_wrapper.gravity-theme .instruction {
	display: block; margin: .35rem 0 0; padding: 0; color: var(--muted); font-size: .9rem; font-weight: 450; line-height: 1.4;
}
.cda-booking .gfield_description b,
.cda-booking .gfield_description strong { font-weight: 500; }

.cda-booking .gfield_html { color: var(--ink); font-size: 1rem; font-weight: 450; line-height: 1.65; }
.cda-booking .gfield_html font,
.cda-booking .gfield_html b,
.cda-booking .gfield_html strong { color: inherit !important; font-weight: 500; }
.cda-booking .gfield_html img { width: 7.5rem; height: auto; }

.cda-booking input.large,
.cda-booking input.medium,
.cda-booking textarea,
.cda-booking select,
.cda-booking .ginput_container input[type="text"],
.cda-booking .ginput_container input[type="email"],
.cda-booking .ginput_container input[type="tel"],
.cda-booking .ginput_container input[type="number"] {
	width: 100%; min-height: 46px; margin: 0;
	padding: .6rem .8rem; border: 1px solid var(--line); border-radius: 10px;
	background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
	box-sizing: border-box;
}
.cda-booking .gform_wrapper.gravity-theme .gfield input.small,
.cda-booking .gform_wrapper.gravity-theme .gfield input.medium,
.cda-booking .gform_wrapper.gravity-theme .gfield input.large,
.cda-booking .gform_wrapper.gravity-theme .gfield select.small,
.cda-booking .gform_wrapper.gravity-theme .gfield select.medium,
.cda-booking .gform_wrapper.gravity-theme .gfield select.large {
	width: 100%; max-width: none;
}
.cda-booking textarea { min-height: 6.25rem; resize: vertical; }
.cda-booking input:focus,
.cda-booking textarea:focus,
.cda-booking select:focus { border-color: var(--ocean-600); outline: 2px solid rgba(22, 137, 209, .18); outline-offset: 1px; }

.cda-booking .ginput_complex { display: flex; flex-wrap: wrap; gap: .75rem; }
.cda-booking .ginput_full,
.cda-booking .ginput_left,
.cda-booking .ginput_right { display: block; min-width: 0; margin: 0; padding: 0; }
.cda-booking .ginput_full { flex: 1 1 100%; }
.cda-booking .ginput_left,
.cda-booking .ginput_right { flex: 1 1 12rem; }
.cda-booking .ginput_complex label,
.cda-booking .gform-field-label--type-sub {
	display: block; margin: 0 0 .35rem; color: var(--muted); font-size: .82rem; font-weight: 600;
}
.cda-booking .ginput_complex span.ginput_full input,
.cda-booking .ginput_complex span.ginput_left input,
.cda-booking .ginput_complex span.ginput_right input,
.cda-booking .ginput_complex select { width: 100%; }

.cda-booking .ginput_container_date { position: relative; }
.cda-booking .ginput_container_date input { padding-right: 3rem; }
.cda-booking .gform-datepicker-toggle {
	position: absolute; right: .35rem; bottom: .3rem;
	width: 2.4rem; height: 2.4rem; padding: 0; border: 0; border-radius: 8px;
	background: var(--ocean-50); color: var(--ocean-600); cursor: pointer;
}
.cda-booking .gform-datepicker-toggle .dashicons { display: none !important; }
.cda-booking .gform-datepicker-toggle::before {
	content: ""; display: block; width: .95rem; height: .85rem; margin: .15rem auto 0;
	border: 2px solid currentColor; border-radius: 2px; box-shadow: inset 0 .28rem 0 currentColor;
}

.cda-booking .gfield_radio { display: grid; gap: .5rem; }
.cda-booking .gchoice { position: relative; }
.cda-booking .gfield-choice-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.cda-booking .gchoice label {
	display: block; margin: 0; padding: .7rem .85rem;
	border: 1px solid var(--line); border-radius: 10px; background: var(--white);
	color: var(--ink); font-weight: 500; line-height: 1.45; cursor: pointer;
}
.cda-booking .gfield-choice-input:checked + label {
	border-color: var(--ocean-600); background: var(--ocean-50);
}

.cda-booking #field_98_84,
.cda-booking #field_133_84 { padding: 0; background: transparent; }
.cda-booking .gform_wrapper.gravity-theme #field_98_84 .gfield_label,
.cda-booking .gform_wrapper.gravity-theme #field_133_84 .gfield_label {
	margin: 0 0 .4rem; color: var(--muted); font-family: var(--font);
	font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
}
.cda-booking #field_98_84 .ginput_product_price_label,
.cda-booking #field_133_84 .ginput_product_price_label {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.cda-booking #field_98_84 .ginput_product_price_wrapper,
.cda-booking #field_133_84 .ginput_product_price_wrapper {
	display: flex; align-items: center; box-sizing: border-box;
	width: 100%; min-height: 3.15rem; padding: .4rem .85rem;
	border: 1px solid var(--line); border-radius: 12px; background: var(--white);
}
.cda-booking .gform_wrapper.gravity-theme #field_98_84 .ginput_product_price,
.cda-booking .gform_wrapper.gravity-theme #field_133_84 .ginput_product_price {
	color: var(--navy-800) !important; font-family: var(--heading);
	font-size: 1.7rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.2;
}

.cda-booking #field_98_86,
.cda-booking #field_133_86 {
	margin-top: .25rem !important;
	padding: 1.05rem 0 1.15rem;
	border-top: 1px solid var(--line);
	background: transparent;
}
.cda-booking #field_98_86 .gfield_creditcard_warning_message,
.cda-booking #field_133_86 .gfield_creditcard_warning_message {
	margin: 0 0 .9rem !important;
	border-radius: 10px;
}
.cda-booking #field_98_86 .gfield_label,
.cda-booking #field_98_86 .gform-field-label,
.cda-booking #field_133_86 .gfield_label,
.cda-booking #field_133_86 .gform-field-label {
	margin: 0 0 .55rem;
	color: var(--navy-800);
	font-weight: 600;
}
.cda-booking #field_98_86 .ginput_container_creditcard,
.cda-booking #field_133_86 .ginput_container_creditcard {
	padding: 0;
	background: transparent;
}
.cda-booking .book-secure {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: .75rem 1rem; margin-top: .9rem;
}
.cda-booking .book-secure p {
	flex: 1 1 14rem; margin: 0; color: var(--muted);
	font-size: .9rem; font-weight: 450; line-height: 1.45;
}
.cda-booking .book-secure__badge {
	display: inline-flex; flex: none; line-height: 0;
}
.cda-booking .book-secure__badge img { display: block; width: 150px; height: 34px; }

.cda-booking .gfield_checkbox { display: grid; }
.cda-booking .gfield_checkbox .gchoice label {
	border: 0; background: transparent; box-shadow: none; padding: .15rem 0 .15rem 1.7rem; font-weight: 500;
}
.cda-booking .gfield_checkbox .gfield-choice-input {
	position: absolute; left: 0; top: .35rem; width: 1.05rem; height: 1.05rem; opacity: 1;
}
.cda-booking .gchoice a { color: var(--ocean-600); font-weight: 700; }

.cda-booking #field_98_88 {
	padding: .8rem .9rem .85rem;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
}
.cda-booking #field_98_88 .gfield_label {
	margin-bottom: .45rem;
	font-family: var(--heading);
	font-size: .95rem;
	font-weight: 600;
}
.cda-booking #field_98_88 .gchoice { min-height: 1.4rem; }
.cda-booking #field_98_88 .gchoice label {
	color: #111;
	font-weight: 500;
	line-height: 1.45;
}

.cda-booking .validation_message { margin-top: .4rem !important; color: var(--coral-700); font-size: .9rem; }
.cda-booking .gform_validation_errors {
	margin: 0 0 .8rem; padding: .7rem .8rem; border-radius: 12px;
	background: #fff4f0; color: var(--coral-700); font-size: .92rem;
}

.cda-booking .gform_wrapper.gravity-theme .gform_footer { display: block; margin: 1.15rem 0 0; padding: 0; }
.cda-booking .gform_wrapper.gravity-theme .gform_footer > b { display: block; }
.cda-booking .gform_wrapper.gravity-theme .gform_footer .gform_button {
	display: block; width: 100%; box-sizing: border-box; min-height: 48px; border: 0; border-radius: 999px;
	background: var(--coral-600); color: var(--white); font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.cda-booking .gform_wrapper.gravity-theme .gform_footer .gform_button:hover { background: var(--coral-700); }
.cda-booking .gform_ajax_spinner { display: none; }

.cda-booking .StripeElement,
.cda-booking .gform-stripe-payment-element { min-height: 2.5rem; }
.cda-booking .StripeElement--card {
	box-sizing: border-box; min-height: 46px; padding: .75rem .8rem;
	border: 1px solid var(--line); border-radius: 10px; background: var(--white);
}
.cda-booking #field_133_86 .ginput_container_creditcard > .gform-grid-col { display: flex; flex-direction: column; }
.cda-booking #field_133_86 .ginput_container_creditcard .gform-field-label--type-sub { order: -1; margin: .15rem 0 .4rem; }
.cda-booking #field_133_86 #input_133_86_1_label {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.cda-booking .StripeElement--card.StripeElement--focus {
	border-color: var(--ocean-600); outline: 2px solid rgba(22, 137, 209, .18); outline-offset: 1px;
}

/* Ocean Quest price list. Four trip lengths, no payment form. */
.oq { max-width: 52.375rem; }
.oq-body { margin-top: 1.5rem; display: grid; gap: 1rem; }
.oq-body > h2 { font-size: 1.45rem; font-weight: 800; }
.oq-body > p { color: var(--muted); }
.oq-body section {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(7, 26, 46, .04);
	padding: 1.15rem 1.15rem 1rem;
}
.oq-body section h2 { margin: 0; font-size: 1.25rem; font-weight: 800; }
.oq-body section > p,
.oq-body section h3 + p { margin: .35rem 0 0; color: var(--muted); }
.oq-body section > a.btn { margin-top: .9rem; }
.oq-body table { width: 100%; margin-top: .85rem; border-collapse: collapse; }
.oq-body th,
.oq-body td { padding: .7rem .35rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.oq-body thead th {
	color: var(--muted);
	font-size: .75rem;
	font-weight: 750;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.oq-body tbody th { font-weight: 750; }
.oq-body td:nth-child(n+3) { font-weight: 750; font-variant-numeric: tabular-nums; }
.oq-note { margin: .75rem 0 0; color: var(--muted); font-size: .9rem; }
.oq-body h3 { margin: 1rem 0 .3rem; font-size: 1.05rem; }
.oq-body ul { margin: .25rem 0 .8rem; padding-left: 1.15rem; }
.oq-body li { margin: .25rem 0; }
@media (min-width: 700px) {
	.oq-body section:has(> a.btn) {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 1rem;
		align-items: center;
	}
	.oq-body section:has(> a.btn) > h2,
	.oq-body section:has(> a.btn) > p { grid-column: 1; }
	.oq-body section:has(> a.btn) > a.btn { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
	.oq-body section:has(> a.btn) > table,
	.oq-body section:has(> a.btn) > .oq-note { grid-column: 1 / -1; }
}
@media (max-width: 699px) {
	.oq-body section > a.btn { display: flex; justify-content: center; width: 100%; }
	.oq-body thead { display: none; }
	.oq-body table,
	.oq-body tbody,
	.oq-body tr { display: block; }
	.oq-body tr { padding: .8rem 0; border-bottom: 1px solid var(--line); }
	.oq-body tr:last-child { border-bottom: 0; }
	.oq-body tbody th,
	.oq-body td { display: flex; justify-content: space-between; gap: .75rem; padding: .2rem 0; border: 0; }
	.oq-body tbody th { display: block; padding-bottom: .35rem; font-size: 1.05rem; }
	.oq-body td::before { content: attr(data-label); color: var(--muted); font-weight: 550; }
}
