/**
 * Lekker Boats: frontend styles (inventory overview + boat detail page).
 *
 * Brand colours, radii and the content width are custom properties, so the
 * look can be tuned from the theme without touching this file, e.g.:
 *   .lkb-shop, .lkb-single, .lkb-filters { --lkb-teal: #0a5671; }
 * Fonts are inherited from the theme.
 */

.lkb-shop,
.lkb-single,
.lkb-filters {
	--lkb-teal: #0b5c79;
	--lkb-orange: #d4511e;
	--lkb-green: #1ea446;
	--lkb-text: #1d2327;
	--lkb-muted: #5d6970;
	--lkb-border: #dfe3e6;
	--lkb-grey: #f1f1f1;
	--lkb-white: #ffffff;
	--lkb-deep: #08394b;

	--lkb-container: 1120px;
	--lkb-pad: 24px;
	--lkb-radius-xl: 72px;
	--lkb-radius-card: 32px;
	--lkb-shadow: 0 12px 40px rgba(8, 57, 75, 0.14);
	--lkb-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	--lkb-in-stock: #1f7a4d;
	--lkb-coming-soon: #d4511e;
	--lkb-used: #4a5568;

	color: var(--lkb-text);
	box-sizing: border-box;
}

.lkb-shop *,
.lkb-single *,
.lkb-filters * {
	box-sizing: inherit;
}

/* Full-bleed sections and bleeding images may poke past the scrollbar.
   Safari only stops sideways swiping when html is cut off too; "hidden" on html
   moves to the viewport, so position: sticky keeps working. */
html:has(.lkb-single),
html:has(.lkb-shop) {
	overflow-x: hidden;
}

body:has(.lkb-single),
body:has(.lkb-shop) {
	overflow-x: clip;
}

html.lkb-no-scroll {
	overflow: hidden;
}

/* Our display rules must never beat the hidden attribute (used by the JS). */
.lkb-shop [hidden],
.lkb-single [hidden],
.lkb-filters [hidden] {
	display: none !important;
}

/* ---------------------------------------------------------------------
 * Layout helpers
 * ------------------------------------------------------------------- */

.lkb-container {
	width: min(var(--lkb-container), 100% - 2 * var(--lkb-pad));
	margin-inline: auto;
}

/* Edge to edge, assuming the parent is centred in the viewport. */
.lkb-full {
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* Lets the right-hand column run to the right edge of the viewport.
   Apply to an element that is as wide as a centred container. */
.lkb-bleed-right {
	margin-right: calc(50% - 50vw);
}

/* ---------------------------------------------------------------------
 * Shared components
 * ------------------------------------------------------------------- */

.lkb-heading {
	margin: 0 0 24px;
	color: var(--lkb-teal);
	font-size: clamp(2rem, 3.6vw, 2.75rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.01em;
}

.lkb-heading__line {
	display: block;
}

.lkb-heading__accent {
	color: var(--lkb-orange);
}

.lkb-upper {
	text-transform: uppercase;
}

.lkb-number {
	margin: 0 0 8px;
	color: var(--lkb-orange);
	font-size: 0.95rem;
	font-weight: 700;
}

.lkb-pill-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 40px;
	padding: 10px 26px;
	border: 1px solid var(--lkb-orange);
	border-radius: 999px;
	background: var(--lkb-orange);
	color: var(--lkb-white);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.lkb-pill-button:hover,
.lkb-pill-button:focus-visible {
	background: var(--lkb-white);
	color: var(--lkb-orange);
}

.lkb-pill-button svg {
	transition: transform 0.2s var(--lkb-ease);
}

.lkb-pill-button:hover svg {
	transform: translateX(3px);
}

.lkb-pill-button--outline {
	background: transparent;
	color: var(--lkb-orange);
}

.lkb-pill-button--outline:hover,
.lkb-pill-button--outline:focus-visible {
	background: var(--lkb-orange);
	color: var(--lkb-white);
}

.lkb-pill-button:disabled {
	opacity: 0.6;
	cursor: wait;
}

.lkb-round-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--lkb-orange);
	color: var(--lkb-white);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	cursor: pointer;
	transition: transform 0.2s var(--lkb-ease);
}

.lkb-round-button:hover {
	transform: scale(1.08);
}

.lkb-round-button[hidden] {
	display: none;
}

.lkb-link-button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--lkb-muted);
	font: inherit;
	font-size: 0.88rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.lkb-link-button:hover {
	color: var(--lkb-teal);
}

.lkb-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--lkb-teal);
	color: var(--lkb-white);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.lkb-badge--in-stock {
	background: var(--lkb-in-stock);
}

.lkb-badge--coming-soon {
	background: var(--lkb-coming-soon);
}

.lkb-badge--used {
	background: var(--lkb-used);
}

.lkb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 240px;
	background: linear-gradient(135deg, var(--lkb-teal), var(--lkb-deep));
}

.lkb-shop .screen-reader-text,
.lkb-single .screen-reader-text,
.lkb-filters .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.lkb-shop :focus-visible,
.lkb-single :focus-visible,
.lkb-filters :focus-visible {
	outline: 2px solid var(--lkb-orange);
	outline-offset: 3px;
}

/* =====================================================================
 * OVERVIEW
 * =================================================================== */

/* Toolbar */

.lkb-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 20px 0 64px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--lkb-border);
}

.lkb-toolbar__count {
	margin: 0 auto 0 0;
	color: var(--lkb-muted);
	font-size: 0.9rem;
}

.lkb-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--lkb-muted);
	font-size: 0.88rem;
}

.lkb-toolbar__sort select,
.lkb-select select {
	min-height: 40px;
	padding: 8px 36px 8px 14px;
	border: 1px solid var(--lkb-border);
	border-radius: 999px;
	background: var(--lkb-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%230b5c79' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--lkb-teal);
	font: inherit;
	font-size: 0.88rem;
	font-weight: 600;
	-webkit-appearance: none;
	appearance: none;
}

.lkb-toolbar__filters-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 18px;
	border: 1px solid var(--lkb-teal);
	border-radius: 999px;
	background: transparent;
	color: var(--lkb-teal);
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
}

@media (min-width: 1024px) {
	.lkb-toolbar__filters-toggle {
		display: none;
	}
}

/* Filter bar (desktop): a row of pills with dropdown panels */

.lkb-filters__header,
.lkb-filters__apply {
	display: none;
}

.lkb-filters__form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.lkb-filter {
	position: relative;
}

.lkb-filter__toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 18px;
	border: 1px solid var(--lkb-border);
	border-radius: 999px;
	background: var(--lkb-white);
	color: var(--lkb-teal);
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color 0.2s;
}

.lkb-filter__toggle:hover,
.lkb-filter.is-open .lkb-filter__toggle,
.lkb-filter.is-active .lkb-filter__toggle {
	border-color: var(--lkb-teal);
}

.lkb-filter__chevron {
	transition: transform 0.2s;
}

.lkb-filter.is-open .lkb-filter__chevron {
	transform: rotate(180deg);
}

.lkb-filter__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--lkb-orange);
	color: var(--lkb-white);
	font-size: 0.7rem;
}

.lkb-filter__badge[hidden] {
	display: none;
}

.lkb-filter__panel {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 50;
	display: none;
	min-width: 280px;
	padding: 16px 20px;
	border-radius: 16px;
	background: var(--lkb-white);
	box-shadow: var(--lkb-shadow);
}

.lkb-filter.is-open .lkb-filter__panel {
	display: block;
}

.lkb-filter__note {
	margin: 12px 0 0;
	color: var(--lkb-muted);
	font-size: 0.75rem;
}

.lkb-filter__pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.lkb-check {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	font-size: 0.92rem;
	cursor: pointer;
}

.lkb-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--lkb-teal);
}

.lkb-check__label {
	flex: 1;
}

.lkb-check__count {
	color: var(--lkb-muted);
	font-size: 0.8rem;
}

.lkb-select {
	display: block;
}

.lkb-select__label {
	display: block;
	margin-bottom: 4px;
	color: var(--lkb-muted);
	font-size: 0.8rem;
}

.lkb-select select {
	width: 100%;
}

.lkb-filters__actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: 8px;
}

/* Dual range slider: two native range inputs stacked on one track. */

.lkb-range__values {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
	color: var(--lkb-teal);
	font-size: 0.9rem;
	font-weight: 700;
}

.lkb-range__track {
	position: relative;
	height: 24px;
}

.lkb-range__track::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(
		to right,
		var(--lkb-border) var(--lkb-from, 0%),
		var(--lkb-teal) var(--lkb-from, 0%),
		var(--lkb-teal) var(--lkb-to, 100%),
		var(--lkb-border) var(--lkb-to, 100%)
	);
	transform: translateY(-50%);
}

.lkb-range__track input[type="range"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 24px;
	margin: 0;
	background: none;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}

.lkb-range__track input[type="range"]::-webkit-slider-runnable-track {
	background: none;
}

.lkb-range__track input[type="range"]::-moz-range-track {
	background: none;
}

.lkb-range__track input[type="range"]::-webkit-slider-thumb {
	width: 20px;
	height: 20px;
	border: 2px solid var(--lkb-teal);
	border-radius: 50%;
	background: var(--lkb-white);
	cursor: grab;
	pointer-events: auto;
	-webkit-appearance: none;
	appearance: none;
}

.lkb-range__track input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: 2px solid var(--lkb-teal);
	border-radius: 50%;
	background: var(--lkb-white);
	cursor: grab;
	pointer-events: auto;
}

.lkb-filters-overlay {
	display: none;
}

/* Filter drawer (mobile): all panels stacked open */

@media (max-width: 1023px) {
	.lkb-filters {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		z-index: 100000;
		width: min(360px, 88vw);
		padding: 16px 20px 0;
		overflow-y: auto;
		background: var(--lkb-white);
		box-shadow: var(--lkb-shadow);
		transform: translateX(-105%);
		visibility: hidden;
		transition: transform 0.3s var(--lkb-ease), visibility 0s 0.3s;
	}

	.lkb-filters.is-open {
		transform: none;
		visibility: visible;
		transition: transform 0.3s var(--lkb-ease);
	}

	.lkb-filters__header {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.lkb-filters__title {
		margin: 0;
		color: var(--lkb-teal);
		font-size: 1.2rem;
	}

	.lkb-filters__close {
		width: 44px;
		height: 44px;
		border: 0;
		background: none;
		color: var(--lkb-teal);
		font-size: 1.8rem;
		line-height: 1;
		cursor: pointer;
	}

	.lkb-filters__form {
		display: block;
	}

	.lkb-filter {
		padding: 16px 0;
		border-bottom: 1px solid var(--lkb-border);
	}

	.lkb-filter__toggle {
		min-height: 0;
		margin-bottom: 8px;
		padding: 0;
		border: 0;
		cursor: default;
	}

	.lkb-filter__chevron {
		display: none;
	}

	.lkb-filter__panel {
		position: static;
		display: block;
		min-width: 0;
		padding: 0;
		box-shadow: none;
	}

	.lkb-filters__actions {
		position: sticky;
		bottom: 0;
		justify-content: space-between;
		margin: 0 -20px;
		padding: 16px 20px;
		border-top: 1px solid var(--lkb-border);
		background: var(--lkb-white);
	}

	.lkb-filters__apply {
		display: inline-flex;
	}

	.lkb-filters-overlay:not([hidden]) {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 99999;
		background: rgba(8, 57, 75, 0.45);
	}
}

/* Filters and toolbar in the LEKKER style, aligned with the 80% column of the rows. */

.lkb-shop .lkb-toolbar,
.lkb-shop .lkb-filters,
.lkb-shop .lkb-filters button,
.lkb-shop .lkb-toolbar button,
.lkb-shop .lkb-toolbar select,
.lkb-shop .lkb-filters select {
	font-family: "Circular-Std-Book", Helvetica, Arial, Lucida, sans-serif;
}

.lkb-shop .lkb-filter__toggle,
.lkb-shop .lkb-toolbar__filters-toggle,
.lkb-shop .lkb-filters__title,
.lkb-shop .lkb-toolbar__sort select {
	font-family: var(--lkb-font-bold);
	font-weight: 500;
}

/* Same column as the rows, centred on the screen rather than on the (possibly
   one-sided padded) page-builder column. Edges come from filters.js. */
.lkb-shop {
	--lkb-align-left: calc((100% + var(--lkb-edge-left, 0px) + var(--lkb-edge-right, 0px) - var(--lkb-row)) / 2 - var(--lkb-edge-left, 0px));
}

.lkb-shop .lkb-toolbar {
	width: var(--lkb-row);
	margin: 30px 0 0 var(--lkb-align-left);
}

@media (min-width: 1024px) {
	.lkb-shop .lkb-filters {
		width: var(--lkb-row);
		margin: 60px 0 0 var(--lkb-align-left);
	}
}

/* Phone and tablet: the toolbar (Filters button + sort) stays in view while scrolling,
   so the filters are always one tap away. */
@media (max-width: 1023px) {
	/* Edge to edge, so nothing scrolls past beside it. */
	.lkb-shop .lkb-toolbar {
		position: sticky;
		top: 0;
		z-index: 50;
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
		gap: 8px 10px;
		box-sizing: border-box;
		width: auto;
		margin: 20px calc(-1 * var(--lkb-edge-right, (50vw - 50%))) 0 calc(-1 * var(--lkb-edge-left, (50vw - 50%)));
		padding: 12px calc((100vw - var(--lkb-row)) / 2);
		background: #ffffff;
	}

	.lkb-shop .lkb-toolbar__filters-toggle {
		justify-content: center;
		min-height: 46px;
		border-color: var(--lkb-orange);
		background: var(--lkb-orange);
		color: #ffffff;
		font-size: 15px;
	}

	.lkb-shop .lkb-toolbar__sort {
		display: block;
	}

	.lkb-shop .lkb-toolbar__sort span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
	}

	.lkb-shop .lkb-toolbar__sort select {
		width: 100%;
		min-height: 46px;
		padding: 8px 30px 8px 14px;
		background-position: right 12px center;
		font-size: 13px;
	}

	.lkb-shop .lkb-toolbar__count {
		grid-column: 1 / -1;
		order: 3;
		margin: 0;
		font-size: 13px;
	}
}

/* Boat rows: mirror the original /available/ page (measured at 1440px). Each row
   runs edge to edge; text sits in the 80% column, the photo bleeds to the right. */

.lkb-shop {
	--lkb-teal: #006786;
	--lkb-orange: #d95710;
	--lkb-font-bold: "Circular-Std-Bold", Helvetica, Arial, Lucida, sans-serif;
	--lkb-row: min(80vw, 1400px);
}

.lkb-list {
	display: flex;
	flex-direction: column;
	transition: opacity 0.2s;
}

.lkb-shop.is-loading .lkb-list {
	opacity: 0.45;
	pointer-events: none;
}

.lkb-row {
	position: relative;
	box-sizing: border-box;
	min-height: 915px;
	/* Edge to edge of the screen. filters.js measures how far the list sits from each
	   edge (the page builder may pad one side only); the fallback assumes it is centred. */
	margin-right: calc(-1 * var(--lkb-edge-right, (50vw - 50%)));
	margin-left: calc(-1 * var(--lkb-edge-left, (50vw - 50%)));
	padding: 100px 0;
}

.lkb-row__content {
	position: relative;
	z-index: 1;
	width: var(--lkb-row);
	margin: 0 auto;
}

.lkb-row__content > * {
	max-width: 423px;
}

.lkb-row__media {
	position: absolute;
	top: 126px;
	right: 0;
	display: block;
	width: 55vw;
	height: 663px;
	overflow: hidden;
	border-radius: 100px 0 0 100px;
	background: #dbdbdb;
}

.lkb-row__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.8s var(--lkb-ease);
}

.lkb-row:hover .lkb-row__image {
	transform: scale(1.03);
}

.lkb-shop .lkb-number {
	margin: 0;
	padding: 0;
	color: var(--lkb-orange);
	font-family: var(--lkb-font-bold);
	font-size: 20px;
	font-weight: 500;
	line-height: 24px;
}

.lkb-shop .lkb-row__title {
	margin: 20px 0 0;
	padding: 0;
	font-family: var(--lkb-font-bold);
	font-size: 55px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
}

.lkb-row__title a {
	color: var(--lkb-teal);
	text-decoration: none;
}

.lkb-row__specs {
	margin: 133px 0 0;
}

.lkb-shop .lkb-row__specs dt {
	padding: 0 0 10px;
	color: var(--lkb-teal);
	font-family: var(--lkb-font-bold);
	font-size: 18px;
	font-weight: 600;
	line-height: 18px;
}

.lkb-shop .lkb-row__specs dd {
	margin: 0 0 13px;
	color: #113344;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 23.8px;
}

.lkb-shop .lkb-row .lkb-pill-button {
	gap: 10px;
	min-height: 44px;
	margin-top: 25px;
	padding: 10px 26px 10px 40px;
	border-color: var(--lkb-orange);
	background: var(--lkb-orange);
	font-family: var(--lkb-font-bold);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}

/* Tablet and phone: photo on top (rounded, bleeding right), text below. */
@media (max-width: 980px) {
	.lkb-row {
		display: flex;
		flex-direction: column;
		min-height: 0;
		padding: 60px 0;
	}

	.lkb-row__media {
		position: relative;
		top: auto;
		order: -1;
		width: auto;
		height: min(78vw, 541px);
		margin: 0 0 40px 40px;
		border-radius: 60px 0 0 60px;
	}

	.lkb-shop .lkb-row__title {
		font-size: 45px;
	}

	.lkb-row__specs {
		margin-top: 40px;
	}
}

@media (max-width: 767px) {
	.lkb-shop .lkb-row__title {
		font-size: 35px;
	}
}

.lkb-load-more {
	display: flex;
	justify-content: center;
	margin-top: 80px;
}

.lkb-empty {
	padding: 64px 24px;
	border-radius: var(--lkb-radius-card);
	background: var(--lkb-grey);
	text-align: center;
}

.lkb-empty__title {
	margin: 0 0 8px;
	color: var(--lkb-teal);
}

.lkb-empty p {
	max-width: 46ch;
	margin: 0 auto 24px;
	color: var(--lkb-muted);
}

/* =====================================================================
 * DETAIL PAGE
 * Mirrors the original Divi boat pages (e.g. /available/111-2/): measurements
 * are taken from that page at 1440px, the stacked layout kicks in at 980px
 * like Divi's tablet breakpoint.
 * =================================================================== */

.lkb-single {
	--lkb-teal: #006786;
	--lkb-orange: #d95710;
	--lkb-text: #3c3c3b;
	--lkb-grey: #f4f4f4;
	--lkb-font-book: "Circular-Std-Book", Helvetica, Arial, Lucida, sans-serif;
	--lkb-font-bold: "Circular-Std-Bold", Helvetica, Arial, Lucida, sans-serif;
	--lkb-font-black: "CircularStd-Black", "Circular-Std-Bold", Helvetica, Arial, Lucida, sans-serif;
	--lkb-row: min(80vw, 1400px);

	margin: 0;
	font-family: var(--lkb-font-book);
	font-weight: 500;
}

.lkb-single section {
	margin: 0;
}

/* The theme adds padding below headings and paragraphs; spacing is set per component here. */
.lkb-single h1,
.lkb-single h2,
.lkb-single h3,
.lkb-single p {
	padding: 0;
}

.lkb-single .lkb-container {
	width: var(--lkb-row);
	max-width: none;
}

.lkb-single .lkb-heading {
	margin: 20px 0 40px;
	color: var(--lkb-teal);
	font-family: var(--lkb-font-bold);
	font-size: 55px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: normal;
}

.lkb-single .lkb-prose {
	color: var(--lkb-text);
	font-size: 16px;
	line-height: 1.4;
}

.lkb-single .lkb-prose p {
	margin: 0 0 1em;
}

.lkb-single .lkb-prose > :last-child {
	margin-bottom: 0;
}

/* Hero */

.lkb-hero {
	min-height: calc(586px + 13.75vw);
	overflow: hidden;
	padding: 150px 0 130px;
	background: #3c3c3b;
	color: #ffffff;
}

.lkb-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lkb-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	/* The original grey overlay, plus a soft shade behind the title so it stays readable on bright photos. */
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0) 70%),
		rgba(60, 60, 59, 0.6);
	pointer-events: none;
}

/* White brand chevrons, cut off at the bottom of the hero. */
.lkb-hero__chevrons {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	width: 135px;
	max-width: none;
	height: auto;
	pointer-events: none;
}

.lkb-hero__scroll {
	position: absolute;
	bottom: 127px;
	left: 20px;
	z-index: 2;
	width: 20px;
	max-width: none;
	height: auto;
	pointer-events: none;
}

.lkb-hero__inner {
	position: relative;
	z-index: 3;
}

.lkb-single .lkb-hero__number {
	margin: 0;
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
	font-family: var(--lkb-font-book);
	font-size: 22px;
	line-height: 1;
}

.lkb-single .lkb-hero__title {
	margin: 20px 0 70px;
	color: inherit;
	/* Keeps the title readable on bright photos (e.g. white yachts behind it). */
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
	font-family: var(--lkb-font-bold);
	font-size: 61px;
	font-weight: 500;
	line-height: 1.4;
}

/* About + carousel */

.lkb-about {
	padding: 159px 0;
	background: #ffffff;
}

.lkb-about__grid {
	display: grid;
	grid-template-columns: 45vw 55vw;
	align-items: center;
}

.lkb-about__text {
	padding: 100px 40px 100px calc((100vw - var(--lkb-row)) / 2);
}

.lkb-about__text .lkb-heading {
	max-width: 423px;
}

.lkb-about__text .lkb-prose {
	max-width: 420px;
}

.lkb-single .lkb-about__more {
	gap: 10px;
	min-height: 44px;
	margin-top: 42px;
	padding: 10px 26px 10px 40px;
	border-color: var(--lkb-orange);
	background: var(--lkb-orange);
	font-family: var(--lkb-font-bold);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}

.lkb-carousel {
	position: relative;
	min-width: 0;
}

.lkb-carousel__track {
	position: relative;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.lkb-carousel__track::-webkit-scrollbar {
	display: none;
}

.lkb-carousel__slide {
	flex: 0 0 auto;
	margin: 0;
	overflow: hidden;
	scroll-snap-align: start;
	cursor: zoom-in;
}

.lkb-carousel__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* "About the boat": one large photo, rounded on the left, bleeding to the right edge.
   On wide screens it grows past the text block (negative margins) without adding height. */
.lkb-carousel--about {
	height: max(526px, 35vw);
	margin: min(30px, (588px - max(526px, 35vw)) / 2) 0;
	overflow: hidden;
	border-radius: 100px 0 0 100px;
}

.lkb-carousel--about .lkb-carousel__track {
	gap: 20px;
	height: 100%;
}

.lkb-carousel--about .lkb-carousel__slide {
	width: 100%;
	height: 100%;
}

.lkb-single .lkb-carousel__nav {
	position: absolute;
	top: 50%;
	right: 40px;
	width: 39px;
	height: 39px;
	background: var(--lkb-orange);
	box-shadow: none;
	transform: translateY(-50%);
}

.lkb-single .lkb-carousel__nav:hover {
	transform: translateY(-50%) scale(1.08);
}

/* Arrows on "The Details" photos: previous on the first photo, next near the right edge. */
.lkb-single .lkb-carousel--details .lkb-carousel__nav--prev {
	right: auto;
	left: 20px;
}

/* "The Details": three rounded photos from the container edge to the right edge. */
.lkb-carousel--details {
	--lkb-slide: calc((90vw - 80px) / 3);

	margin: 174px calc(50% - 50vw) 30px 0;
}

.lkb-carousel--details .lkb-carousel__track {
	gap: 40px;
}

.lkb-carousel--details .lkb-carousel__slide {
	width: var(--lkb-slide);
	height: 450px;
	border-radius: 80px;
}

/* Lightbox */

.lkb-lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.lkb-lightbox::backdrop {
	background: rgba(4, 22, 30, 0.94);
}

.lkb-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.lkb-lightbox__image {
	max-width: 92vw;
	max-height: 88vh;
	object-fit: contain;
}

.lkb-lightbox__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 48px;
	height: 48px;
	border: 0;
	background: none;
	color: var(--lkb-white);
	font-size: 2.2rem;
	line-height: 1;
	cursor: pointer;
}

.lkb-lightbox__nav {
	position: absolute;
	top: 50%;
	margin-top: -18px;
}

.lkb-lightbox__nav--prev {
	left: 24px;
}

.lkb-lightbox__nav--next {
	right: 24px;
}

/* Specs accordion */

.lkb-specs-section {
	padding: 0 0 100px;
	background: #ffffff;
}

.lkb-accordion {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 3%;
	align-items: start;
}

.lkb-acc {
	padding: 20px 20px 20px 0;
}

.lkb-acc__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: var(--lkb-teal);
	font-family: var(--lkb-font-bold);
	font-size: 20px;
	font-weight: 500;
	line-height: 20px;
	list-style: none;
	cursor: pointer;
}

.lkb-acc__summary::-webkit-details-marker {
	display: none;
}

/* "+" that turns into "−" when open. */
.lkb-acc__icon {
	position: relative;
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
}

.lkb-acc__icon::before,
.lkb-acc__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 15px;
	height: 2px;
	margin-top: -1px;
	background: currentColor;
	transition: transform 0.25s var(--lkb-ease);
}

.lkb-acc__icon::after {
	transform: rotate(90deg);
}

.lkb-acc[open] .lkb-acc__icon::after {
	transform: rotate(0deg);
}

.lkb-acc__content {
	padding-top: 20px;
	color: #666666;
	font-size: 14px;
	line-height: 1.7;
}

.lkb-acc__content p {
	margin: 0;
}

/* Boat history */

.lkb-history {
	min-height: 544px;
	background: #ffffff;
}

.lkb-single .lkb-history .lkb-heading {
	margin: 0;
}

.lkb-history__text {
	max-width: 420px;
	margin-top: 40px;
}

/* Boat render on the left, running over the water image like the original. */
.lkb-history__render {
	position: relative;
	z-index: 2;
	display: block;
	width: 64.8%;
	max-width: none;
	height: auto;
	margin-top: 20px;
}

/* Starts a little above the section, like the original. */
.lkb-history__media {
	position: absolute;
	top: -59px;
	right: 0;
	bottom: 0;
	z-index: 1;
	width: 55vw;
	overflow: hidden;
	border-radius: 100px 0 0 100px;
	background: #dbdbdb;
}

.lkb-history__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.lkb-single .lkb-history__tagline {
	position: absolute;
	top: 56.5%;
	left: 38.6%;
	margin: 0;
	color: #ffffff;
	font-family: var(--lkb-font-bold);
	font-size: 35px;
	line-height: 1;
	transform: translateY(-50%);
}

/* USPs */

.lkb-usps {
	position: relative;
	padding: 40px 0 100px;
	background: #ffffff;
}

.lkb-usps__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px 3%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lkb-usp {
	display: flex;
	align-items: flex-start;
	gap: 21px;
	margin: 0;
	padding: 0 0 0 40px;
	border-left: 1px solid var(--lkb-orange);
}

.lkb-usp__icon {
	flex: 0 0 26px;
	color: var(--lkb-teal);
}

.lkb-single .lkb-usp__title {
	margin: 1px 0 12px;
	color: var(--lkb-teal);
	font-family: var(--lkb-font-bold);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.25;
}

.lkb-single .lkb-usp__text {
	margin: 0;
	color: var(--lkb-text);
	font-size: 12px;
	line-height: 18px;
}

/* The Details */

.lkb-details {
	padding: 100px 0;
	overflow: hidden;
	background: var(--lkb-grey);
}

/* This band follows the viewport without the 1400px cap, like the original. */
.lkb-single .lkb-details .lkb-container {
	width: 80vw;
}

.lkb-details__grid {
	display: grid;
	grid-template-columns: 29.7% 23.5%;
	align-items: start;
}

.lkb-single .lkb-details .lkb-heading {
	margin: 0;
	font-size: 45px;
}

.lkb-details__text {
	padding-left: 40px;
	border-left: 2px solid var(--lkb-orange);
	color: var(--lkb-text);
	font-size: 16px;
	line-height: 1.4;
}

.lkb-details__text p {
	margin: 0 0 1em;
}

.lkb-details__text p:last-child {
	margin-bottom: 0;
}

/* Contact */

.lkb-contact {
	padding: 80px 0 0;
	background-color: #ffffff;
	background-position: 50% 50%;
	background-size: cover;
}

.lkb-contact__card {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: 27px 60px;
	width: 85%;
	max-width: 1300px;
	min-height: 358px;
	margin: 0 auto;
	padding: 60px;
	border-radius: 40px;
	background: #ffffff;
	box-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

/* "Get in touch about / The LEKKER 38 #218": tells the visitor which boat they are asking about. */
.lkb-single .lkb-contact__title {
	margin: 0 0 30px;
	color: var(--lkb-teal);
	font-family: var(--lkb-font-bold);
	font-size: 45px;
	font-weight: 500;
	line-height: 1;
}

.lkb-single .lkb-contact__title .lkb-heading__line {
	display: block;
}

.lkb-single .lkb-contact__title .lkb-heading__accent {
	color: var(--lkb-orange);
}

.lkb-single .lkb-contact__name {
	margin: 0 0 8px;
	color: var(--lkb-teal);
	font-family: var(--lkb-font-black);
	font-size: 20px;
	line-height: 1.25;
}

.lkb-single .lkb-contact__role {
	margin: 0 0 20px;
	color: #000000;
	font-size: 14px;
	line-height: 1.7;
}

.lkb-contact__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	max-width: 280px;
}

.lkb-contact__actions .lkb-whatsapp {
	justify-content: space-between;
	padding: 6px 6px 6px 30px;
}

.lkb-contact__actions .lkb-whatsapp__text {
	text-align: left;
}

.lkb-whatsapp {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 6px 25px 6px 45px;
	border-radius: 44px;
	background: #22a94a;
	color: #ffffff;
	font-family: "Open Sans", Arial, sans-serif;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
	transition: filter 0.2s;
}

.lkb-whatsapp:hover,
.lkb-whatsapp:focus-visible {
	color: #ffffff;
	filter: brightness(1.08);
}

.lkb-whatsapp__text {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.lkb-whatsapp__text strong {
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.2px;
}

.lkb-whatsapp__text small {
	margin-top: 2px;
	font-size: 12px;
	font-weight: 500;
	opacity: 0.95;
}

.lkb-whatsapp__icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #ffffff;
}

/* Call buttons: same shape as the WhatsApp button, one per number. */
.lkb-call {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 6px 6px 6px 30px;
	border-radius: 44px;
	background: #d9531e;
	color: #ffffff;
	font-family: "Open Sans", Arial, sans-serif;
	line-height: 1.1;
	text-decoration: none;
	transition: filter 0.2s;
}

.lkb-call:hover,
.lkb-call:focus-visible {
	color: #ffffff;
	filter: brightness(1.08);
}

.lkb-call__text {
	display: flex;
	flex-direction: column;
	text-align: left;
}

.lkb-call__text small {
	font-size: 12px;
	font-weight: 500;
	opacity: 0.95;
}

.lkb-call__text strong {
	margin-top: 2px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.2px;
	white-space: nowrap;
}

.lkb-call__icon {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #ffffff;
	color: #d9531e;
}

.lkb-contact__brochure {
	color: var(--lkb-teal);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lkb-contact__boat {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
}

/* Tablet: stacked layout, Divi's tablet breakpoint and measurements. */

@media (max-width: 980px) {
	.lkb-hero {
		min-height: 723px;
	}

	.lkb-hero__chevrons {
		width: 120px;
	}

	.lkb-single .lkb-hero__number {
		font-size: 30px;
		line-height: 1.2;
	}

	.lkb-single .lkb-hero__title {
		margin: 30px 0 50px;
		font-size: 55px;
	}

	.lkb-single .lkb-heading {
		font-size: 45px;
	}

	.lkb-about {
		padding: 80px 0 0;
	}

	.lkb-specs-section,
	.lkb-history,
	.lkb-usps,
	.lkb-details {
		padding: 80px 0;
	}

	.lkb-about__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.lkb-about__text {
		width: var(--lkb-row);
		margin: 0 auto;
		padding: 60px 0 40px;
	}

	.lkb-carousel--about {
		order: -1;
		height: 541px;
		margin: 30px 0 30px 80px;
	}

	.lkb-accordion {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.lkb-history {
		min-height: 0;
	}

	.lkb-history__media {
		position: relative;
		top: auto;
		width: auto;
		height: 423px;
		margin: 30px 0 71px 220px;
	}

	.lkb-single .lkb-history__tagline {
		display: none;
	}

	/* Render runs over the top of the water image, as on desktop. */
	.lkb-history__render {
		width: 100%;
		margin: 30px 0 -60px;
	}

	.lkb-usps__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lkb-single .lkb-details .lkb-container {
		width: 90%;
	}

	.lkb-details__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px;
	}

	.lkb-carousel--details {
		--lkb-slide: calc((90vw - 40px) / 2);

		margin-top: 105px;
	}

	.lkb-contact {
		padding-top: 0;
	}

	.lkb-contact__card {
		grid-template-columns: minmax(0, 1fr);
		width: 90%;
		padding: 80px 40px 40px;
	}

	.lkb-contact__boat {
		height: 530px;
		object-fit: cover;
	}
}

/* Phone */

@media (max-width: 767px) {
	.lkb-hero {
		min-height: 532px;
	}

	.lkb-hero__chevrons {
		display: none;
	}

	.lkb-hero__scroll {
		bottom: 80px;
		left: 10px;
		width: 16px;
	}

	.lkb-single .lkb-hero__number {
		font-size: 26px;
	}

	.lkb-single .lkb-hero__title {
		margin-bottom: 30px;
	}

	.lkb-single .lkb-about .lkb-heading,
	.lkb-single .lkb-history .lkb-heading {
		font-size: 35px;
	}

	.lkb-about,
	.lkb-specs-section,
	.lkb-history,
	.lkb-usps,
	.lkb-details {
		padding: 60px 0;
	}

	.lkb-about {
		padding-bottom: 0;
	}

	.lkb-carousel--about {
		height: 78vw;
		margin-left: 40px;
		border-radius: 60px 0 0 60px;
	}

	.lkb-history__media {
		height: 383px;
		margin: 30px 0 0 100px;
	}

	.lkb-history__render {
		margin-bottom: -40px;
	}

	.lkb-usps__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.lkb-details__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.lkb-carousel--details {
		--lkb-slide: 90vw;

		margin-top: 60px;
	}

	.lkb-contact {
		padding-top: 20px;
	}

	.lkb-contact__card {
		padding: 40px 20px;
	}

	.lkb-single .lkb-contact__title {
		font-size: 35px;
	}

	/* Keep the boat in view in the narrow hero crop. */
	.lkb-hero__image {
		object-position: 50% 65%;
	}

	.lkb-contact__boat {
		height: 252px;
	}

	.lkb-whatsapp {
		width: 100%;
	}
}

.lkb-contact__card .lkb-enquiry {
	grid-column: 1 / -1;
}

/* Optional enquiry form */

.lkb-enquiry {
	margin-top: 32px;
	padding-top: 32px;
	border-top: 1px solid var(--lkb-border);
}

.lkb-form__types {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.lkb-choice {
	position: relative;
	cursor: pointer;
}

.lkb-choice input {
	position: absolute;
	opacity: 0;
}

.lkb-choice span {
	display: inline-block;
	padding: 8px 18px;
	border: 1px solid var(--lkb-border);
	border-radius: 999px;
	color: var(--lkb-teal);
	font-size: 0.85rem;
	font-weight: 700;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.lkb-choice input:checked + span {
	border-color: var(--lkb-teal);
	background: var(--lkb-teal);
	color: var(--lkb-white);
}

.lkb-choice input:focus-visible + span {
	outline: 2px solid var(--lkb-orange);
	outline-offset: 2px;
}

.lkb-form__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

@media (min-width: 640px) {
	.lkb-form__grid {
		grid-template-columns: 1fr 1fr;
	}
}

.lkb-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
}

.lkb-form__field[hidden] {
	display: none;
}

.lkb-form__field--full {
	grid-column: 1 / -1;
}

.lkb-form__field label {
	color: var(--lkb-teal);
	font-size: 0.82rem;
	font-weight: 700;
}

.lkb-form__field input,
.lkb-form__field textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--lkb-border);
	border-radius: 12px;
	background: var(--lkb-white);
	color: var(--lkb-text);
	font: inherit;
}

.lkb-form__field input:focus,
.lkb-form__field textarea:focus {
	border-color: var(--lkb-teal);
	outline: none;
}

.lkb-form__field [aria-invalid="true"] {
	border-color: #c53030;
}

.lkb-form__error {
	color: #c53030;
	font-size: 0.78rem;
}

.lkb-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lkb-form__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
}

.lkb-form__status {
	margin: 0;
	font-size: 0.88rem;
}

.lkb-form__status.is-success {
	color: var(--lkb-in-stock);
	font-weight: 700;
}

.lkb-form__status.is-error {
	color: #c53030;
}

@media (prefers-reduced-motion: reduce) {
	.lkb-shop *,
	.lkb-single *,
	.lkb-filters {
		transition: none !important;
	}
}
