/* Fleet Autopark — frontend */

.fa-fleet {
	--fa-gold: #e8b923;
	--fa-text: #ffffff;
	--fa-border: rgba(255, 255, 255, 0.35);
	--fa-font: "Segoe UI", system-ui, -apple-system, sans-serif;
	font-family: var(--fa-font);
	color: var(--fa-text);
	max-width: 1200px;
	margin: 0 auto;
}

/* Unified arrow buttons */
.fa-arrow-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	margin: 0;
	border: 1px solid var(--fa-border);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
	box-sizing: border-box;
	flex-shrink: 0;
	transition: background 0.2s, border-color 0.2s;
}

.fa-arrow-btn:hover,
.fa-arrow-btn:focus-visible {
	background: rgba(255, 255, 255, 0.15);
	border-color: #fff;
	outline: none;
}

.fa-arrow-btn--hidden {
	visibility: hidden;
	pointer-events: none;
	opacity: 0;
}

.fa-arrow-btn__chevron {
	display: block;
	width: 10px;
	height: 10px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	box-sizing: border-box;
}

.fa-arrow-btn--prev .fa-arrow-btn__chevron {
	transform: rotate(-135deg);
	margin-left: 3px;
}

.fa-arrow-btn--next .fa-arrow-btn__chevron {
	transform: rotate(45deg);
	margin-right: 3px;
}

.fa-arrow-btn--close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 5;
	background: rgba(0, 0, 0, 0.65);
}

.fa-arrow-btn__close-icon {
	position: relative;
	display: block;
	width: 16px;
	height: 16px;
}

.fa-arrow-btn__close-icon::before,
.fa-arrow-btn__close-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
}

.fa-arrow-btn__close-icon::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.fa-arrow-btn__close-icon::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* Main card */
.fa-fleet-card {
	position: relative;
	border: 1px solid var(--fa-border);
	border-radius: 12px;
	overflow: hidden;
	background: #0c0c0c;
	min-height: 315px;
}

.fa-fleet-card__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #0c0c0c;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
}

.fa-fleet-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.55) 45%,
		rgba(0, 0, 0, 0.35) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.fa-fleet-card__inner {
	position: relative;
	z-index: 2;
	min-height: 315px;
}

.fa-fleet-card__content {
	width: 100%;
	box-sizing: border-box;
    padding-left: var(--global-kb-spacing-xs, 1rem);
	padding-right: var(--global-kb-spacing-xs, 1rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 315px;
}

.fa-fleet-title {
	margin: 0 0 20px;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.1;
}

.fa-vehicle-name {
	margin: 0 0 24px;
	font-size: clamp(1.1rem, 2.5vw, 1.2rem);
	font-weight: 400;
	letter-spacing: 0.02em;
}

.fa-features {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0px;
}


.single-content ul, .single-content ol{
	padding-left: 0em;
	margin-bottom: 15px;
}

.fa-feature-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.fa-feature-icon-wrap {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fa-feature-icon-img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.fa-feature-text {
	font-size: 1rem;
	line-height: 1.3;
}

.fa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 5px 28px;
	border: 1px solid var(--fa-text);
	border-radius: 8px;
	background: transparent;
	color: var(--fa-text);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
	font-family: inherit;
	width: fit-content;
}

.fa-btn:hover,
.fa-btn:focus-visible {
	background: var(--fa-text);
	color: #111;
	outline: none;
}

/* Modal */
.fa-modal {
	position: fixed;
	inset: 0;
	z-index: 9999999999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.fa-modal[hidden] {
	display: none !important;
}

.fa-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
}

.fa-modal__dialog {
	position: relative;
	width: min(960px, 100%);
	max-height: 90vh;
	overflow-y: auto;
	background: #111;
	border: 1px solid var(--fa-border);
	border-radius: 12px;
	color: var(--fa-text);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.fa-modal__gallery-wrap {
	background: #1a1a1a;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fa-modal__gallery {
	position: relative;
	min-height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 12px;
	box-sizing: border-box;
}

.fa-modal__gallery-track {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.fa-modal__gallery-slide {
	display: none;
	width: 100%;
}

.fa-modal__gallery-slide.is-active {
	display: block;
}

.fa-modal__gallery-slide img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}

.fa-gallery-empty {
	padding: 40px;
	text-align: center;
	opacity: 0.6;
	margin: 0;
	width: 100%;
}

.fa-modal__gallery-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 0 12px 14px;
}

.fa-modal__gallery-dots.fa-nav-dots--hidden {
	display: none;
}

.fa-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.35);
	padding: 0;
	cursor: pointer;
}

.fa-dot.is-active {
	background: var(--fa-gold);
}

.fa-modal__body {
	padding: 28px 36px 32px;
	background: #0c0c0c;
}

.fa-modal__title {
	margin: 0 0 12px;
	font-size: 1.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fa-modal__vehicle-name {
	margin: 0 0 20px;
	font-size: 1.25rem;
	font-weight: 400;
}

.fa-modal__features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fa-modal__features .fa-feature-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fa-modal-vehicles-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.fa-modal-car-counter {
	font-size: 0.95rem;
	opacity: 0.85;
	min-width: 4em;
	text-align: center;
	line-height: 1;
}

body.fa-modal-open {
	overflow: hidden;
}

@media (min-width: 769px) {
	.fa-fleet-card::before {
		background: linear-gradient(
			90deg,
			rgba(0, 0, 0, 0.88) 0%,
			rgba(0, 0, 0, 0.65) 40%,
			rgba(0, 0, 0, 0.25) 70%,
			rgba(0, 0, 0, 0.15) 100%
		);
	}

	.fa-fleet-card__bg {
		background-position: 40% center;
	}
}

@media (max-width: 768px) {
	.fa-fleet-card__content {
		padding: 28px 24px 24px;
		min-height: 320px;
	}

	.fa-fleet-card__bg {
		background-position: center center;
	}

	.fa-modal__body {
		padding: 20px;
	}

	.fa-modal__gallery {
		padding: 12px 8px;
		gap: 8px;
	}

	.fa-arrow-btn {
		width: 40px;
		height: 40px;
		min-width: 40px;
		min-height: 40px;
	}
}


