/**
 * Thẻ xe — Grid / Slider (UX Builder).
 */

.fc-vehicle-cards-root {
	--fc-vc-title: #c45a2c;
	--fc-vc-price: #e30613;
	--fc-vc-body-bg: #f0f2f5;
	--fc-vc-btn-bg: #003399;
	--fc-vc-btn-color: #ffffff;
	--fc-vc-radius: 12px;
}

.fc-vehicle-card {
	background: #fff;
	border-radius: var(--fc-vc-radius);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.fc-vehicle-card:hover {
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
	transform: translateY(-2px);
}

.fc-vehicle-card__media {
	background: #fff;
	padding: 1rem 1rem 0.5rem;
	text-align: center;
	flex: 0 0 auto;
}

.fc-vehicle-card__media img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.fc-vehicle-card__placeholder {
	aspect-ratio: 4 / 3;
	width: 100%;
	max-width: 100%;
	background: #f0f0f0;
	border-radius: 6px;
}

.fc-vehicle-card__body {
	background: var(--fc-vc-body-bg);
	padding: 1.25rem 1rem 1.5rem;
	text-align: center;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

.fc-vehicle-card__title {
	margin: 0 0 0.65rem;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--fc-vc-title);
}

.fc-vehicle-card__price {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.35;
	color: #333;
}

.fc-vehicle-card__price-prefix {
	font-weight: 500;
	margin-right: 0.25rem;
}

.fc-vehicle-card__price-value {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--fc-vc-price);
}

.fc-vehicle-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 10rem;
	padding: 0.55rem 1.5rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	color: var(--fc-vc-btn-color) !important;
	background: var(--fc-vc-btn-bg);
	border: none;
	box-shadow: 0 2px 8px rgba(0, 51, 153, 0.25);
	transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.fc-vehicle-card__btn:hover,
.fc-vehicle-card__btn:focus {
	filter: brightness(1.08);
	box-shadow: 0 4px 14px rgba(0, 51, 153, 0.35);
	color: var(--fc-vc-btn-color) !important;
}

/* Cột trong grid/slider Flatsome */
.fc-vehicle-cards-root .col-inner {
	height: 100%;
}

.fc-vehicle-cards-root .vehicle-card-col {
	margin-bottom: 0;
}

/* Slider: đảm bảo cell có chiều cao đồng đều khi cần */
.fc-vehicle-cards-root .slider .col {
	display: flex;
}

.fc-vehicle-cards-root .slider .col .col-inner {
	width: 100%;
}
