.ajbb-shell {
	--ajbb-bg: #ffffff;
	--ajbb-border: #d7e4f1;
	--ajbb-text: #242424;
	--ajbb-muted: #6b6b6b;
	--ajbb-accent: #BA1F39;
	--ajbb-accent-hover: #97182e;
	--ajbb-error: #BA1F39;
	--ajbb-label-size: clamp(17px, 1.05vw, 22px);
	--ajbb-value-size: clamp(15px, 0.95vw, 19px);
	box-sizing: border-box;
	color: var(--ajbb-text);
	font-family: inherit;
	width: 100%;
}

.ajbb-shell *,
.ajbb-shell *::before,
.ajbb-shell *::after {
	box-sizing: border-box;
}

.ajbb-inline {
	margin: 24px auto;
	max-width: 1800px;
}

.ajbb-floating {
	bottom: 20px;
	left: 50%;
	max-width: min(1800px, calc(100vw - 32px));
	position: fixed;
	transform: translateX(-50%);
	z-index: 9999;
}

.ajbb-mobile-toggle {
	display: none;
}

.ajbb-form {
	align-items: stretch;
	background: var(--ajbb-bg);
	border: 1px solid var(--ajbb-border);
	border-radius: 18px;
	box-shadow: 0 14px 28px rgba(25, 61, 94, 0.14);
	display: grid;
	grid-template-areas:
		"rental location start end submit"
		"details details details details submit";
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(280px, 0.9fr);
	min-height: 118px;
	overflow: visible;
	position: relative;
	width: 100%;
}

.ajbb-form.ajbb-no-rental-choice {
	grid-template-areas:
		"location start end submit"
		"details details details submit";
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(280px, 0.9fr);
}

.ajbb-field {
	border-right: 1px solid var(--ajbb-border);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
	padding: 22px 32px;
}

.ajbb-rental-field {
	grid-area: rental;
}

.ajbb-location-field {
	grid-area: location;
}

.ajbb-start-field {
	grid-area: start;
	overflow: visible;
	position: relative;
}

.ajbb-end-field {
	grid-area: end;
	overflow: visible;
	position: relative;
}

.ajbb-referral-field {
	border-right: 1px solid var(--ajbb-border);
	grid-area: auto;
}

.ajbb-pickup-field {
	align-items: center;
	color: var(--ajbb-text);
	cursor: pointer;
	display: flex;
	font-size: clamp(15px, 1vw, 18px);
	font-weight: 600;
	gap: 12px;
	grid-area: auto;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
	min-width: 0;
	overflow: hidden;
	padding: 22px 32px;
	text-transform: none;
}

.ajbb-pickup-field[hidden] {
	display: none;
}

.ajbb-pickup-field input {
	accent-color: var(--ajbb-accent);
	flex: 0 0 auto;
	height: 20px;
	margin: 0;
	width: 20px;
}

.ajbb-pickup-field span {
	display: block;
	min-width: 0;
}

.ajbb-pickup-date {
	color: var(--ajbb-accent);
	display: inline;
	font-weight: 800;
	margin-left: 4px;
}

.ajbb-details {
	border-top: 0;
	display: grid;
	grid-area: details;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transform: translateY(-8px);
	transition: max-height 220ms ease, opacity 180ms ease, transform 220ms ease;
}

.ajbb-show-details .ajbb-details {
	border-top: 1px solid var(--ajbb-border);
	max-height: 260px;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.ajbb-summary {
	color: var(--ajbb-accent);
	font-size: clamp(14px, 0.9vw, 16px);
	font-weight: 700;
	grid-column: 1 / -1;
	line-height: 1.2;
	margin: 0;
	padding: 14px 32px 0;
}

.ajbb-discount {
	color: var(--ajbb-accent);
	display: inline-block;
	font-weight: 800;
	margin-left: 10px;
}

.ajbb-summary[hidden] {
	display: none;
}

.ajbb-pickup-unavailable .ajbb-referral-field {
	border-right: 0;
	grid-column: 1 / -1;
}

.ajbb-field[hidden] {
	display: none;
}

.ajbb-field label,
.ajbb-preview-label {
	color: var(--ajbb-text);
	display: block;
	font-size: var(--ajbb-label-size);
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.1;
	margin: 0 0 8px;
	text-transform: none;
	white-space: nowrap;
}

.ajbb-field select,
.ajbb-field input,
.ajbb-date-trigger,
.ajbb-preview-value {
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: var(--ajbb-muted);
	display: block;
	font: inherit;
	font-size: var(--ajbb-value-size);
	line-height: 1.15;
	margin: 0;
	max-width: 100%;
	min-height: 30px;
	min-width: 0;
	outline: 0;
	overflow: hidden;
	padding: 0;
	text-overflow: ellipsis;
	text-transform: none;
	white-space: nowrap;
	width: 100%;
}

.ajbb-date-trigger {
	background: transparent;
	border: 0;
	color: var(--ajbb-muted);
	cursor: pointer;
	text-align: left;
}

.ajbb-date-trigger:hover,
.ajbb-date-trigger:focus {
	background: transparent;
	color: var(--ajbb-muted);
}

.ajbb-field [data-ajbb-date-input] {
	cursor: pointer;
	font-size: clamp(15px, 1vw, 19px);
}

.ajbb-field select:focus,
.ajbb-field input:focus {
	outline: 2px solid rgba(186, 31, 57, 0.28);
	outline-offset: 4px;
}

.ajbb-field select:disabled {
	color: var(--ajbb-accent);
	cursor: default;
	font-weight: 600;
	opacity: 1;
	-webkit-text-fill-color: var(--ajbb-accent);
}

.ajbb-location-address {
	color: var(--ajbb-muted);
	display: block;
	font-size: clamp(13px, 0.88vw, 15px);
	line-height: 1.2;
	margin-top: 5px;
	white-space: normal;
}

.ajbb-location-heading {
	align-items: center;
	display: grid;
	gap: 12px;
	grid-template-columns: minmax(0, 1fr) max-content;
	margin: 0 0 8px;
	min-width: 0;
	position: relative;
	width: 100%;
}

.ajbb-location-heading label,
.ajbb-location-heading .ajbb-preview-label {
	margin: 0;
	min-width: 0;
	width: auto;
}

.ajbb-map-button {
	align-items: center;
	align-self: flex-start;
	-webkit-appearance: none;
	background: #ffffff;
	border: 2px solid #063b63;
	border-radius: 999px;
	color: #063b63;
	cursor: pointer;
	display: inline-flex !important;
	font: inherit;
	flex: 0 0 auto;
	font-size: clamp(10px, 0.66vw, 12px);
	font-weight: 800;
	gap: 6px;
	letter-spacing: 0.08em;
	line-height: 1;
	margin: 0;
	min-height: 0;
	opacity: 1;
	padding: 7px 11px;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	touch-action: manipulation;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
	visibility: visible;
	width: auto;
	z-index: 1;
}

.ajbb-map-button:hover,
.ajbb-map-button:focus {
	background: #f4f8fb;
	border-color: var(--ajbb-accent);
	color: var(--ajbb-accent);
	outline: 0;
}

.ajbb-map-icon {
	display: inline-block;
	height: 14px;
	position: relative;
	width: 14px;
}

.ajbb-map-icon::before {
	border: 1.5px solid currentColor;
	border-radius: 2px;
	content: "";
	height: 11px;
	left: 1px;
	position: absolute;
	top: 2px;
	transform: skewY(-12deg);
	width: 12px;
}

.ajbb-map-icon::after {
	background: currentColor;
	content: "";
	height: 13px;
	left: 6px;
	position: absolute;
	top: 1px;
	width: 1.5px;
}

.ajbb-map-modal[hidden] {
	display: none;
}

.ajbb-map-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 100000;
}

.ajbb-map-backdrop {
	background: rgba(18, 28, 38, 0.56);
	inset: 0;
	position: absolute;
}

.ajbb-map-dialog {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 28px 70px rgba(8, 26, 42, 0.34);
	max-height: min(86vh, 820px);
	max-width: 980px;
	overflow: auto;
	position: relative;
	width: min(100%, 980px);
}

.ajbb-map-header {
	align-items: flex-start;
	border-bottom: 1px solid var(--ajbb-border);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	padding: 22px 24px;
}

.ajbb-map-header h2 {
	color: var(--ajbb-text);
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.1;
	margin: 0 0 6px;
}

.ajbb-map-header p {
	color: var(--ajbb-muted);
	font-size: 15px;
	line-height: 1.35;
	margin: 0;
}

.ajbb-map-close {
	align-items: center;
	background: #f4f8fb;
	border: 1px solid var(--ajbb-border);
	border-radius: 999px;
	color: var(--ajbb-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 28px;
	height: 42px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 42px;
}

.ajbb-map-frame-wrap {
	background: #eef5fa;
	height: min(48vh, 420px);
	min-height: 320px;
	overflow: hidden;
	position: relative;
}

.ajbb-map-canvas,
.ajbb-osm-tile-layer,
.ajbb-osm-marker-layer {
	inset: 0;
	position: absolute;
}

.ajbb-map-canvas {
	overflow: hidden;
}

.ajbb-osm-tile-layer,
.ajbb-osm-marker-layer {
	height: 100%;
	width: 100%;
}

.ajbb-osm-tile {
	height: 256px;
	max-width: none;
	position: absolute;
	width: 256px;
}

.ajbb-osm-marker-layer {
	pointer-events: none;
}

.ajbb-osm-marker {
	align-items: center;
	display: flex;
	position: absolute;
	transform: translate(-50%, -50%);
}

.ajbb-osm-marker-dot {
	background: var(--ajbb-accent);
	border: 3px solid #ffffff;
	border-radius: 50%;
	box-shadow: 0 2px 7px rgba(0, 0, 0, 0.35);
	display: block;
	height: 22px;
	width: 22px;
}

.ajbb-osm-marker-label {
	background: #ffffff;
	border: 1px solid var(--ajbb-border);
	border-radius: 7px;
	box-shadow: 0 3px 10px rgba(25, 61, 94, 0.2);
	color: var(--ajbb-text);
	font-size: 12px;
	font-weight: 800;
	margin-left: 7px;
	padding: 6px 8px;
	white-space: nowrap;
}

.ajbb-osm-marker:nth-child(2) .ajbb-osm-marker-label {
	margin-left: 0;
	margin-right: 7px;
	order: -1;
}

.ajbb-map-attribution {
	background: rgba(255, 255, 255, 0.9);
	bottom: 4px;
	color: #444444;
	font-size: 10px;
	line-height: 1.2;
	margin: 0;
	padding: 3px 5px;
	position: absolute;
	right: 4px;
	z-index: 2;
}

.ajbb-map-attribution a {
	color: inherit;
}

.ajbb-map-locations {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 18px 24px 24px;
}

.ajbb-map-card {
	border: 1px solid var(--ajbb-border);
	border-radius: 12px;
	cursor: pointer;
	padding: 16px;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ajbb-map-card:hover,
.ajbb-map-card:focus-visible {
	border-color: var(--ajbb-accent);
	box-shadow: 0 8px 18px rgba(186, 31, 57, 0.12);
	outline: 0;
	transform: translateY(-1px);
}

.ajbb-map-card h3 {
	color: var(--ajbb-text);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 8px;
}

.ajbb-map-card p {
	color: var(--ajbb-muted);
	font-size: 15px;
	line-height: 1.35;
	margin: 0 0 14px;
}

.ajbb-map-card a {
	color: var(--ajbb-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.ajbb-map-card a:focus-visible {
	outline: 2px solid var(--ajbb-accent);
	outline-offset: 4px;
}

body.ajbb-map-active {
	overflow: hidden;
}

.ajbb-calendar-popover {
	--ajbb-accent: #BA1F39;
	--ajbb-border: #d7e4f1;
	--ajbb-muted: #6b6b6b;
	--ajbb-text: #242424;
	background: #ffffff;
	border: 1px solid var(--ajbb-border);
	border-radius: 14px;
	box-sizing: border-box;
	box-shadow: 0 18px 38px rgba(25, 61, 94, 0.2);
	color: var(--ajbb-text);
	font-family: inherit;
	left: 0;
	max-height: calc(100vh - 32px);
	max-height: calc(100dvh - 32px);
	min-width: 0;
	overflow-y: auto;
	padding: 14px;
	position: fixed;
	top: 0;
	z-index: 10000;
}

.ajbb-calendar-popover * {
	box-sizing: border-box;
}

.ajbb-calendar-popover[hidden] {
	display: none;
}

.ajbb-calendar-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
}

.ajbb-calendar-head strong {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0;
}

.ajbb-calendar-nav {
	align-items: center;
	background: #f4f8fb;
	border: 1px solid #d7e4f1;
	border-radius: 999px;
	color: var(--ajbb-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 20px;
	height: 34px;
	justify-content: center;
	line-height: 1;
	padding: 0;
	width: 34px;
}

.ajbb-calendar-weekdays,
.ajbb-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
}

.ajbb-calendar-weekdays {
	color: var(--ajbb-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin-bottom: 7px;
	text-align: center;
	text-transform: uppercase;
}

.ajbb-calendar-day,
.ajbb-calendar-empty {
	aspect-ratio: 1;
}

.ajbb-calendar-day {
	align-items: center;
	background: #ffffff;
	border: 1px solid transparent;
	border-radius: 9px;
	color: var(--ajbb-text);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	justify-content: center;
	padding: 0;
}

.ajbb-calendar-day:hover,
.ajbb-calendar-day:focus {
	background: #fff3f5;
	border-color: rgba(186, 31, 57, 0.28);
	color: var(--ajbb-text);
	outline: 0;
}

.ajbb-calendar-day:disabled {
	color: #b6b6b6;
	cursor: not-allowed;
	opacity: 0.65;
}

.ajbb-calendar-selected,
.ajbb-calendar-selected:hover,
.ajbb-calendar-selected:focus {
	background: var(--ajbb-accent);
	border-color: var(--ajbb-accent);
	color: #ffffff;
}

.ajbb-submit {
	align-items: center;
	align-self: center;
	background: var(--ajbb-accent);
	border: 0;
	border-radius: 18px;
	color: #ffffff;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: clamp(14px, 0.9vw, 18px);
	font-weight: 800;
	gap: 12px;
	grid-area: submit;
	justify-content: center;
	letter-spacing: 0.06em;
	line-height: 1;
	justify-self: stretch;
	margin: 24px;
	min-height: 72px;
	min-width: 0;
	overflow: hidden;
	padding: 18px 16px;
	text-transform: uppercase;
	transition: background-color 160ms ease, transform 160ms ease;
	white-space: nowrap;
	width: calc(100% - 48px);
}

.ajbb-submit:hover,
.ajbb-submit:focus {
	background: var(--ajbb-accent-hover);
	transform: translateY(-1px);
}

.ajbb-calendar-icon {
	border: 2px solid currentColor;
	border-radius: 4px;
	flex: 0 0 auto;
	display: inline-block;
	height: 24px;
	position: relative;
	width: 24px;
}

.ajbb-calendar-icon::before {
	border-top: 2px solid currentColor;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 7px;
}

.ajbb-calendar-icon::after {
	background:
		linear-gradient(currentColor, currentColor) left center / 2px 7px no-repeat,
		linear-gradient(currentColor, currentColor) right center / 2px 7px no-repeat;
	content: "";
	height: 7px;
	left: 6px;
	position: absolute;
	right: 6px;
	top: 3px;
}

.ajbb-error {
	background: #fff3f2;
	border-top: 1px solid #ffd4d0;
	bottom: 0;
	color: var(--ajbb-error);
	font-size: 14px;
	font-weight: 600;
	grid-column: 1 / -1;
	left: 0;
	margin: 0;
	padding: 10px 18px;
	position: absolute;
	right: 0;
}

.ajbb-error[hidden] {
	display: none;
}

.ajbb-editor-preview .ajbb-form {
	pointer-events: none;
}

.ajbb-settings-preview {
	background: #f4f8fb;
	border: 1px solid #d7e4f1;
	margin-top: 16px;
	overflow-x: auto;
	padding: 24px;
}

.ajbb-settings-preview .ajbb-inline {
	margin: 0;
	max-width: none;
	min-width: 1180px;
}

.ajbb-preview-instance .ajbb-submit {
	cursor: default;
}

@media (max-width: 1100px) {
	.ajbb-form {
		grid-template-areas:
			"rental location"
			"start end"
			"details details"
			"submit submit";
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ajbb-field,
	.ajbb-pickup-field {
		border-bottom: 1px solid var(--ajbb-border);
		padding: 20px 24px;
	}

	.ajbb-details {
		grid-template-columns: 1fr;
	}

	.ajbb-summary {
		padding: 14px 24px 0;
	}

	.ajbb-referral-field {
		border-right: 0;
	}

	.ajbb-submit {
		margin: 18px 24px 24px;
	}

	.ajbb-form.ajbb-no-rental-choice {
		grid-template-areas:
			"location location"
			"start end"
			"details details"
			"submit submit";
	}
}

@media (max-width: 680px) {
	.ajbb-floating {
		bottom: 14px;
		max-width: calc(100vw - 20px);
	}

	.ajbb-mobile-toggle {
		align-items: center;
		background: var(--ajbb-accent) !important;
		border: 0;
		border-radius: 14px;
		box-shadow: 0 14px 28px rgba(25, 61, 94, 0.18);
		color: #ffffff;
		cursor: pointer;
		display: flex;
		font: inherit;
		justify-content: space-between;
		line-height: 1;
		padding: 14px 16px;
		position: relative;
		text-align: left;
		width: 100%;
	}

	.ajbb-mobile-toggle-copy {
		display: grid;
		gap: 5px;
		min-width: 0;
	}

	.ajbb-mobile-toggle-title {
		display: block;
		font-size: 15px;
		font-weight: 800;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		white-space: nowrap;
	}

	.ajbb-mobile-toggle-subtitle {
		display: block;
		font-size: 13px;
		font-weight: 600;
		opacity: 0.88;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.ajbb-mobile-toggle-icon {
		border-bottom: 2px solid currentColor;
		border-right: 2px solid currentColor;
		display: block;
		flex: 0 0 auto;
		height: 10px;
		margin-left: 14px;
		transform: rotate(45deg) translateY(-2px);
		transition: transform 200ms ease;
		width: 10px;
	}

	.ajbb-mobile-open .ajbb-mobile-toggle {
		border-radius: 14px 14px 0 0;
	}

	.ajbb-mobile-open .ajbb-mobile-toggle-icon {
		transform: rotate(225deg) translate(-2px, -1px);
	}

	.ajbb-form {
		border-top: 0;
		border-radius: 14px;
		box-shadow: 0 14px 28px rgba(25, 61, 94, 0.18);
		grid-template-areas:
			"rental"
			"location"
			"start"
			"end"
			"details"
			"submit";
		grid-template-columns: 1fr;
		max-height: 0;
		min-height: 0;
		opacity: 0;
		overflow: hidden;
		pointer-events: none;
		border-radius: 0 0 14px 14px;
		transform: translateY(-8px);
		transition: max-height 280ms ease, opacity 180ms ease, transform 240ms ease;
	}

	.ajbb-form.ajbb-no-rental-choice {
		grid-template-areas:
			"location"
			"start"
			"end"
			"details"
			"submit";
		grid-template-columns: 1fr;
	}

	.ajbb-mobile-open .ajbb-form {
		max-height: min(82vh, 760px);
		opacity: 1;
		overflow-y: auto;
		pointer-events: auto;
		transform: translateY(0);
	}

	.ajbb-field,
	.ajbb-pickup-field {
		border-right: 0;
		padding: 16px 18px;
	}

	.ajbb-location-heading {
		align-items: start;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.ajbb-location-heading .ajbb-map-button {
		justify-self: start;
	}

	.ajbb-map-button {
		font-size: 11px;
		padding: 7px 10px;
	}

	.ajbb-map-modal {
		align-items: flex-end;
		padding: 12px;
	}

	.ajbb-map-dialog {
		border-radius: 16px;
		max-height: 88vh;
	}

	.ajbb-map-header {
		padding: 18px;
	}

	.ajbb-map-frame-wrap {
		height: 300px;
		min-height: 260px;
	}

	.ajbb-map-locations {
		grid-template-columns: 1fr;
		padding: 14px 18px 18px;
	}

	.ajbb-pickup-field {
		font-size: 15px;
	}

	.ajbb-discount {
		display: block;
		margin-left: 0;
		margin-top: 4px;
	}

	.ajbb-field label,
	.ajbb-preview-label {
		font-size: 17px;
		margin-bottom: 4px;
		white-space: normal;
	}

	.ajbb-field select,
	.ajbb-field input,
	.ajbb-preview-value {
		font-size: 16px;
	}

	.ajbb-field [data-ajbb-date-input] {
		font-size: 16px;
	}

	.ajbb-submit {
		border-radius: 12px;
		font-size: 15px;
		margin: 14px 18px 18px;
		min-height: 56px;
		width: auto;
	}
}
