/* All In Nautic - Boats Catalog styles
   Base palette: dark navy + gold, inspired by the official catalogs.
   Typography: Bricolage Grotesque (headings) + Work Sans (body), enqueued
   from the main plugin file alongside this stylesheet.
   Any variable can be overridden from the theme's CSS. */

:root {
	--ain-navy: #0f2438;
	--ain-navy-light: #16344f;
	--ain-gold: #b9944c;
	--ain-gold-dark: #8f7239;
	--ain-cream: #f7f5f0;
	--ain-text: #23303b;
	--ain-muted: #6b7885;
	--ain-border: #e6e1d4;
	--ain-radius: 10px;
	--ain-font-heading: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
	--ain-font-body: 'Work Sans', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Prevent mobile browsers from auto-inflating font size on these pages,
   which can visually throw off the layout on first load. */
.ain-boat-single,
.ain-boats-archive {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-family: var(--ain-font-body);
	color: var(--ain-text);
	-webkit-font-smoothing: antialiased;
}

.ain-boat-single h1,
.ain-boat-single h2,
.ain-boat-single h3,
.ain-boats-archive h1,
.ain-boats-archive h2,
.ain-boats-archive h3 {
	font-family: var(--ain-font-heading);
}

.ain-boats-grid,
.ain-boat-specs-grid__columns,
.ain-boat-terms__columns {
	display: grid;
	gap: 24px;
}

.ain-boats-grid {
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
}

/* ---- Card ---- */
.ain-boat-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid var(--ain-border);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(15, 36, 56, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ain-boat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(15, 36, 56, 0.14);
}
.ain-boat-card__image {
	aspect-ratio: 4 / 3;
	background: var(--ain-cream);
}
.ain-boat-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ain-boat-card__body {
	padding: 20px 22px 24px;
}
.ain-boat-card__body h3 {
	margin: 0 0 6px;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ain-navy);
}
.ain-boat-card__meta {
	margin: 0 0 10px;
	font-size: 0.85rem;
	color: var(--ain-muted);
}
.ain-boat-card__price {
	margin: 0;
	font-weight: 700;
	color: var(--ain-navy);
}

/* ---- Archive ---- */
.ain-boats-archive__header {
	text-align: center;
	padding: 96px 24px 64px;
	background: linear-gradient(135deg, #0f2438 0%, #16344f 100%);
	color: #fff;
}
.ain-boats-archive__header h1 {
	color: #fff;
	font-size: 2.4rem;
	font-weight: 700;
	margin: 0 0 12px;
}
.ain-boats-archive__header p {
	color: #cfd8e0;
	font-size: 1.02rem;
	max-width: 560px;
	margin: 0 auto;
}
.ain-boats-archive__chips {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 28px 0 0;
	padding: 0;
}
.ain-boats-archive__chips a {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 600;
	color: #fff;
	text-decoration: none;
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.06);
	transition: background 0.15s ease, border-color 0.15s ease;
}
.ain-boats-archive__chips a:hover {
	background: var(--ain-gold);
	border-color: var(--ain-gold);
	color: var(--ain-navy);
}
.ain-boats-archive__family {
	max-width: 1200px;
	margin: 0 auto;
	padding: 64px 24px 0;
	scroll-margin-top: 24px;
}
.ain-boats-archive__family h2 {
	border-bottom: 2px solid var(--ain-gold);
	display: inline-block;
	padding-bottom: 6px;
	margin-bottom: 28px;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--ain-navy);
}

/* ---- Single boat hero ---- */
.ain-boat-hero {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 0;
	background: var(--ain-navy);
	color: #fff;
}
.ain-boat-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	min-height: 360px;
}
.ain-boat-hero__content {
	padding: 48px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ain-boat-hero__back {
	position: fixed !important;
	left: 22px;
	bottom: 22px;
	z-index: 2147483000;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	background: rgba(15, 36, 56, 0.95);
	backdrop-filter: blur(10px) saturate(150%);
	-webkit-backdrop-filter: blur(10px) saturate(150%);
	padding: 14px 24px;
	border-radius: 999px;
	box-shadow: 0 8px 22px rgba(15, 36, 56, 0.4);
	transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
	pointer-events: auto;
}
.ain-boat-hero__back:hover {
	background: var(--ain-gold);
	color: var(--ain-navy);
	transform: translateY(-2px);
}
@media (max-width: 560px) {
	.ain-boat-hero__back {
		left: 14px;
		bottom: 14px;
		padding: 12px 18px;
		font-size: 0.92rem;
	}
}
/* Once JS moves this link to be a direct child of <body> (see
   ain-boats.js), this rule guarantees it sits above every other fixed
   element on the page regardless of the active theme/page builder. */
body > .ain-boat-hero__back {
	z-index: 2147483000;
}
.ain-boat-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--ain-gold);
	font-size: 0.75rem;
	font-weight: 600;
	margin: 0 0 8px;
}
.ain-boat-hero__title {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 6px;
}
.ain-boat-hero__subtitle {
	color: #cfd8e0;
	margin: 0 0 24px;
}
.ain-boat-hero__specs {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	padding: 0;
	margin: 0 0 28px;
}
.ain-boat-hero__specs li {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ain-boat-hero__specs span {
	font-size: 0.75rem;
	text-transform: uppercase;
	color: #9fb0bd;
}
.ain-boat-hero__specs strong {
	font-size: 1.1rem;
}
.ain-boat-hero__price {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid var(--ain-gold);
	border-radius: var(--ain-radius);
	padding: 16px 20px;
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 24px;
	max-width: fit-content;
}
.ain-boat-hero__price-note {
	font-size: 0.8rem;
	color: #cfd8e0;
}
.ain-boat-hero__price-amount {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--ain-gold);
}
.ain-boat-hero__build-time {
	font-size: 0.8rem;
	color: #9fb0bd;
}
.ain-boat-cta {
	display: inline-block;
	background: var(--ain-gold);
	color: var(--ain-navy);
	font-weight: 700;
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 6px;
	width: fit-content;
	transition: opacity 0.2s ease;
	border: none;
	font-family: inherit;
	font-size: 1rem;
	cursor: pointer;
	appearance: none;
}
.ain-boat-cta:hover {
	opacity: 0.85;
}

/* ---- Sections ---- */
.ain-boat-section {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 24px;
}
.ain-boat-section h2 {
	color: var(--ain-navy);
	border-bottom: 2px solid var(--ain-gold);
	display: inline-block;
	padding-bottom: 6px;
	margin-bottom: 24px;
	font-size: 1.5rem;
	font-weight: 700;
}
.ain-boat-highlights ul {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.ain-boat-highlights li {
	background: var(--ain-cream);
	border-left: 3px solid var(--ain-gold);
	padding: 18px 20px;
	border-radius: 4px;
	font-size: 1.18rem;
	line-height: 1.55;
	transition: transform 0.2s ease;
}
.ain-boat-highlights li:hover {
	transform: translateY(-2px);
}

.ain-boat-3d__frame {
	position: relative;
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--ain-radius);
	overflow: hidden;
	background: #000;
}
.ain-boat-3d__frame iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	border: 0;
}

/* ---- Photo carousel ---- */
.ain-boat-carousel {
	position: relative;
}
.ain-boat-carousel__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	gap: 16px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	border-radius: var(--ain-radius);
}
.ain-boat-carousel__track::-webkit-scrollbar {
	display: none;
}
.ain-boat-carousel__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
}
.ain-boat-carousel__slide img {
	width: 100%;
	height: 460px;
	object-fit: contain;
	background: var(--ain-cream);
	border-radius: var(--ain-radius);
	display: block;
}
.ain-boat-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(15, 36, 56, 0.7);
	color: #fff;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.15s ease;
	padding: 0;
	appearance: none;
}
.ain-boat-carousel__arrow:hover {
	background: var(--ain-navy);
}
.ain-boat-carousel__arrow--prev {
	left: 12px;
}
.ain-boat-carousel__arrow--next {
	right: 12px;
}
.ain-boat-carousel__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
}
.ain-boat-carousel__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: #d5dbe1;
	padding: 0;
	cursor: pointer;
	appearance: none;
	transition: background 0.15s ease, transform 0.15s ease;
}
.ain-boat-carousel__dot.is-active {
	background: var(--ain-gold);
	transform: scale(1.25);
}

.ain-boat-specs-grid {
	background: #fff;
	border-top: 1px solid var(--ain-border);
	border-bottom: 1px solid var(--ain-border);
	max-width: 100%;
	padding: 56px 0;
}
.ain-boat-specs-grid > * {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}
.ain-boat-specs-grid__columns {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 28px;
}
.ain-boat-specs-group h3 {
	color: var(--ain-navy);
	font-size: 1.32rem;
	font-weight: 700;
	border-bottom: 2px solid var(--ain-gold);
	display: inline-block;
	padding-bottom: 8px;
	margin: 0 0 16px;
}
.ain-boat-specs-group ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
	color: var(--ain-text);
}
.ain-boat-specs-group li {
	margin-bottom: 12px;
	font-size: 1.22rem;
	line-height: 1.65;
}

.ain-boat-options__table {
	width: 100%;
	border-collapse: collapse;
}
.ain-boat-options__table td {
	padding: 10px 12px;
	border-bottom: 1px solid #e4e4e4;
}
.ain-boat-options__table td:last-child {
	text-align: right;
	font-weight: 600;
	color: var(--ain-navy);
	white-space: nowrap;
}

/* ---- Combined 3D + options configurator ---- */
.ain-boat-configurator-wrap--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}
.ain-boat-configurator-wrap--split .ain-boat-3d__frame {
	position: sticky;
	top: 24px;
}

/* ---- Options configurator ---- */
.ain-boat-options__hint {
	color: var(--ain-muted);
	margin: -8px 0 20px;
	max-width: 640px;
}
.ain-boat-options__list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 28px;
}
.ain-boat-option {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 14px;
	border-bottom: 1px solid #e4e4e4;
	cursor: pointer;
	transition: background 0.15s ease;
}
.ain-boat-option:hover {
	background: var(--ain-cream);
}
.ain-boat-option__checkbox {
	width: 18px;
	height: 18px;
	accent-color: var(--ain-gold);
	flex-shrink: 0;
	cursor: pointer;
}
.ain-boat-option__name {
	flex: 1;
	color: var(--ain-text);
}
.ain-boat-option__price {
	font-weight: 600;
	color: var(--ain-navy);
	white-space: nowrap;
}
.ain-boat-option__price--quote {
	font-weight: 500;
	font-style: italic;
	color: var(--ain-muted);
}

/* ---- Passenger capacity stepper (optional, per boat) ---- */
.ain-boat-pax {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 14px;
	margin-bottom: 28px;
	background: var(--ain-cream);
	border-radius: var(--ain-radius);
}
.ain-boat-pax__label {
	font-weight: 600;
	color: var(--ain-navy);
}
.ain-boat-pax__input {
	width: 90px;
	padding: 8px 10px;
	border: 1px solid #cfd8e0;
	border-radius: 6px;
	font-size: 1rem;
	color: var(--ain-text);
}
.ain-boat-pax__hint {
	color: var(--ain-muted);
	font-size: 0.92rem;
}

.ain-boat-configurator-summary {
	background: var(--ain-navy);
	color: #fff;
	border-radius: var(--ain-radius);
	padding: 24px 28px;
}
.ain-boat-configurator-summary__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 6px 0;
}
.ain-boat-configurator-summary__row--base {
	color: #cfd8e0;
	font-size: 0.95rem;
}
.ain-boat-configurator-summary__row--total {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin-top: 8px;
	padding-top: 14px;
	font-size: 1.2rem;
}
.ain-boat-configurator-summary__row--total strong {
	color: var(--ain-gold);
	font-size: 1.4rem;
}
.ain-boat-configurator-summary__selected {
	list-style: none;
	margin: 4px 0;
	padding: 0;
}
.ain-boat-configurator-summary__selected li {
	font-size: 0.9rem;
	color: #cfd8e0;
	padding: 3px 0;
}
.ain-boat-configurator-summary__selected li::before {
	content: '+ ';
	color: var(--ain-gold);
}
.ain-boat-configurator-summary__note {
	margin: 14px 0 0;
	font-size: 0.78rem;
	color: #9fb0bd;
}
.ain-boat-configurator-summary__cta {
	margin-top: 18px;
	width: 100%;
	text-align: center;
}

/* ---- Payment terms calculator ---- */
.ain-boat-payment-plan {
	max-width: 720px;
}
.ain-payment-plan__controls {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	margin-bottom: 24px;
}
.ain-payment-plan__group {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.ain-payment-plan__label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--ain-muted);
}
.ain-payment-plan__choices {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ain-payment-plan__choice {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1.5px solid var(--ain-border);
	border-radius: 999px;
	cursor: pointer;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--ain-text);
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.ain-payment-plan__choice:hover {
	border-color: var(--ain-gold);
}
.ain-payment-plan__choice input {
	accent-color: var(--ain-gold);
	margin: 0;
}
.ain-payment-plan__choice.is-selected,
.ain-payment-plan__choice:has(input:checked) {
	background: var(--ain-navy);
	border-color: var(--ain-navy);
	color: #fff;
}
.ain-payment-plan__schedule {
	width: 100%;
	border-collapse: collapse;
	background: var(--ain-cream);
	border-radius: var(--ain-radius);
	overflow: hidden;
}
.ain-payment-plan__schedule tr td {
	padding: 11px 18px;
	font-size: 0.95rem;
	color: var(--ain-text);
	border-bottom: 1px solid #ffffff;
}
.ain-payment-plan__schedule tr td:first-child {
	color: var(--ain-navy);
}
.ain-payment-plan__schedule tr td:last-child {
	text-align: right;
	font-weight: 700;
	color: var(--ain-navy);
	white-space: nowrap;
}
.ain-payment-plan__schedule tr:first-child td {
	background: var(--ain-navy);
	color: #fff;
}
.ain-payment-plan__schedule tr:first-child td:last-child {
	color: var(--ain-gold);
}
.ain-payment-plan__schedule tr:last-child td {
	border-bottom: none;
}

.ain-boat-terms__columns {
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}
.ain-boat-terms__columns h3 {
	color: var(--ain-navy);
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 14px;
}
.ain-boat-terms__columns ul {
	padding-left: 18px;
	color: var(--ain-text);
	font-size: 1.18rem;
	line-height: 1.7;
}
.ain-boat-terms__columns li {
	margin-bottom: 8px;
}

/* A "Not Included" item the client has specifically selected (and will
   pay for) as an option above - see initNotIncludedSync() in
   ain-boats.js - is struck through with a short note instead of being
   silently removed, so the page never says both "included" (in the
   options list) and "not included" (here) about the same thing. */
.ain-not-included__note {
	display: none;
	margin-left: 6px;
	font-size: 0.72em;
	font-style: italic;
	color: var(--ain-gold-dark);
}
#ain-not-included-list li.is-resolved .ain-not-included__text {
	text-decoration: line-through;
	color: var(--ain-muted);
}
#ain-not-included-list li.is-resolved .ain-not-included__note {
	display: inline;
}

/* ---- Quote form ---- */
.ain-boat-quote {
	background: var(--ain-cream);
	border-radius: var(--ain-radius);
}
.ain-quote-form p {
	margin-bottom: 16px;
}
/* Honeypot spam trap (see AIN_Quote_Form::render_form): kept off-screen
   rather than display:none, since some bots skip fields they can detect
   are hidden that way - real visitors never see or reach this field. */
.ain-quote-form .ain-quote-hp-field {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: 0;
}
.ain-quote-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
	color: var(--ain-navy);
}
.ain-quote-form input[type="text"],
.ain-quote-form input[type="email"],
.ain-quote-form textarea {
	width: 100%;
	max-width: 480px;
	padding: 10px 12px;
	border: 1px solid #cfd8e0;
	border-radius: 6px;
	font-family: inherit;
}
.ain-quote-submit {
	background: var(--ain-navy);
	color: #fff;
	border: none;
	padding: 14px 28px;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
}
.ain-quote-submit:hover {
	background: var(--ain-navy-light);
}
.ain-quote-submit.is-submitting,
.ain-quote-submit:disabled {
	opacity: 0.65;
	cursor: default;
}
.ain-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.ain-quote-errors {
	background: #fdeaea;
	border: 1px solid #d98686;
	color: #7a2020;
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
}
.ain-quote-errors__title {
	margin: 0 0 4px;
	font-weight: 700;
}
.ain-quote-errors ul {
	margin: 0;
	padding-left: 18px;
}
.ain-quote-success {
	text-align: center;
	padding: 12px 8px 8px;
}
.ain-quote-success__icon {
	width: 68px;
	height: 68px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: #e7f6ea;
	color: #2f9e52;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ain-quote-success__title {
	font-family: var(--ain-font-heading);
	color: var(--ain-navy);
	font-size: 26px;
	margin: 0 0 12px;
}
.ain-quote-success__message {
	color: var(--ain-navy);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 10px;
}
.ain-quote-success__submessage {
	color: #5a6b7a;
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0 0 22px;
}
.ain-quote-success__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: stretch;
	max-width: 320px;
	margin: 0 auto;
}
.ain-quote-success__whatsapp {
	background: #25d366;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	padding: 12px 20px;
	border-radius: 6px;
	text-align: center;
}
.ain-quote-success__whatsapp:hover {
	background: #1fb958;
}
.ain-quote-success__close {
	background: transparent;
	color: var(--ain-navy);
	border: 1px solid var(--ain-navy);
	font-weight: 600;
	padding: 12px 20px;
	border-radius: 6px;
	cursor: pointer;
}
.ain-quote-success__close:hover {
	background: var(--ain-navy);
	color: #fff;
}

/* ---- Quote modal ---- */
.ain-quote-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
	font-family: var(--ain-font-body);
}
.ain-quote-modal h2 {
	font-family: var(--ain-font-heading);
}
.ain-quote-modal.is-open {
	display: flex;
}
body.ain-modal-open {
	overflow: hidden;
}
.ain-quote-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 36, 56, 0.72);
}
.ain-quote-modal__panel {
	position: relative;
	background: var(--ain-cream);
	border-radius: var(--ain-radius);
	padding: 40px;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.ain-quote-modal__panel h2 {
	color: var(--ain-navy);
	border-bottom: 2px solid var(--ain-gold);
	display: inline-block;
	padding-bottom: 6px;
	margin: 0 0 24px;
}
.ain-quote-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--ain-navy);
	cursor: pointer;
}
.ain-quote-modal__close:hover {
	color: var(--ain-gold);
}

@media (max-width: 900px) {
	.ain-boat-specs-grid__columns {
		grid-template-columns: 1fr 1fr;
	}
	.ain-boat-highlights ul {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.ain-boats-archive__header h1 {
		font-size: 1.9rem;
	}
	.ain-boat-specs-grid__columns {
		grid-template-columns: 1fr;
	}
	.ain-boat-highlights ul {
		grid-template-columns: 1fr;
	}
	.ain-boat-hero__title {
		font-size: 1.9rem;
	}
}

@media (max-width: 782px) {
	.ain-boat-hero {
		grid-template-columns: 1fr;
	}
	.ain-boat-terms__columns {
		grid-template-columns: 1fr;
	}
	.ain-boat-configurator-wrap--split {
		grid-template-columns: 1fr;
	}
	.ain-boat-configurator-wrap--split .ain-boat-3d__frame {
		/* Cancel the desktop sticky behavior on mobile (single-column
		   layout has no need for it), but keep `position: relative` --
		   the Sketchfab iframe inside is absolutely positioned
		   (`inset: 0`) and needs this element as its positioning
		   context. Switching to `static` here breaks that: the iframe
		   falls back to the nearest positioned ancestor up the page,
		   which is why the 3D model rendered oversized/zoomed on
		   mobile. */
		position: relative;
		top: auto;
	}
	.ain-quote-modal__panel {
		padding: 28px 22px;
	}
	.ain-boat-carousel__slide img {
		height: 260px;
	}
	.ain-boat-carousel__arrow {
		width: 36px;
		height: 36px;
		font-size: 1.3rem;
	}
}
