/* Vehicle detail pages (Force Urbania, Innova Crysta, Toyota Etios) */

/* Button padding + Title Case are standardized globally in custom.css (.btn). */

/* Breadcrumb inside the inner-header hero (hero itself keeps the theme's
   default .inner-header styling, same as vehicle-fares.html) */
.vd-breadcrumb {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}
.vd-breadcrumb li {
	display: inline-block;
	color: #fff;
	font-size: 14px;
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}
.vd-breadcrumb li + li:before {
	content: "\f105";
	font-family: FontAwesome;
	margin: 0 10px;
	color: #f39c12;
}
.vd-breadcrumb li a {
	color: #fff;
	text-decoration: none;
}
.vd-breadcrumb li a:hover {
	color: #f39c12;
}
.vd-breadcrumb li.active {
	color: #f39c12;
	font-weight: 600;
}

/* Sections */
.vd-section {
	padding: 60px 0;
	background-color: #fff;
}
.vd-section-alt {
	background-color: #f8f9fa;
}

/* Vehicle showcase (image + content)
   The theme's .row has no clearfix and its columns are floated, which lets the
   image and the content collapse on top of each other. Flex the row instead. */
.vd-intro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.vd-intro > [class*="col-"] {
	float: none;
	margin-bottom: 30px;
}
.vd-intro-media,
.vd-intro-content {
	min-width: 0; /* lets long words wrap instead of stretching the flex item */
}

.vd-hero-image {
	overflow: hidden;
	border-radius: 10px;
}
.vd-hero-image img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

/* Vehicle title — scales down instead of overflowing */
.vd-title {
	font-size: 24px;
	font-size: clamp(24px, 3.2vw, 40px);
	line-height: 1.25;
	margin: 0 0 15px;
	max-width: 100%;
	overflow-wrap: break-word;
	word-wrap: break-word;
}
.vd-intro-content p {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.vd-specs {
	list-style: none;
	margin: 20px 0;
	padding: 0;
}
.vd-specs li {
	display: inline-block;
	background: #f8f9fa;
	border: 1px solid #e6e6e6;
	border-radius: 20px;
	padding: 6px 14px;
	margin: 0 8px 8px 0;
	font-size: 14px;
}
.vd-specs li i {
	color: #f39c12;
	margin-right: 6px;
}

.vd-cta-inline .btn {
	margin: 5px 10px 5px 0;
}

/* Fare cards */
.vd-card,
.vd-example {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-top: 4px solid #f39c12;
	border-radius: 10px;
	padding: 25px;
	margin-bottom: 30px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.vd-card h3,
.vd-example h3 {
	margin-top: 0;
	font-size: 20px;
}
.vd-card h3 i,
.vd-example h3 i {
	color: #f39c12;
	margin-right: 8px;
}
.vd-card-lead {
	color: #666;
	font-style: italic;
	margin-bottom: 18px;
}
.vd-card-note {
	color: #777;
	font-size: 13px;
	margin-top: 15px;
	margin-bottom: 0;
}

/* Fare list */
.vd-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.vd-list li {
	padding: 12px 0;
	border-bottom: 1px solid #eee;
	overflow: hidden;
}
.vd-list li:last-child {
	border-bottom: 0;
}
.vd-list .vd-label {
	display: block;
	color: #555;
}
.vd-list .vd-value {
	display: block;
	font-weight: 700;
	color: #222;
}
.vd-list .vd-value strong {
	color: #f39c12;
	font-size: 18px;
}

/* Example calculation table */
.vd-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.vd-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0;
}
.vd-table th,
.vd-table td {
	padding: 12px 10px;
	border-bottom: 1px solid #eee;
	text-align: left;
	font-size: 15px;
	vertical-align: top;
}
.vd-table th {
	color: #555;
	font-weight: 600;
	white-space: nowrap;
}
.vd-table .vd-amount {
	text-align: right;
	font-weight: 700;
	color: #222;
	white-space: nowrap;
}
.vd-table .vd-total th,
.vd-table .vd-total td {
	border-top: 2px solid #f39c12;
	border-bottom: 0;
	background: #fff8ec;
	font-weight: 700;
	color: #222;
}
.vd-table .vd-total .vd-amount {
	color: #f39c12;
	font-size: 18px;
}
/* Secondary note inside a table row label (e.g. "Includes up to 300 km") */
.vd-table th .vd-sub {
	display: block;
	margin-top: 3px;
	font-weight: 400;
	font-size: 12px;
	color: #888;
	white-space: normal;
}

.vd-scenario-title {
	margin: 0 0 5px;
	font-size: 17px;
	color: #222;
}
.vd-included {
	background: #fff8ec;
	border-left: 4px solid #f39c12;
	padding: 12px 15px;
	margin-bottom: 25px;
	border-radius: 4px;
}
.vd-included strong {
	color: #f39c12;
}

/* CTA band */
.vd-cta {
	background-color: #f39c12;
	color: #fff;
	padding: 40px;
	border-radius: 10px;
	display: block;
}
.vd-cta .btn {
	margin: 10px;
}
.vd-btn-book {
	color: #f39c12 !important;
	font-weight: bold;
}
.vd-btn-back {
	margin-left: 10px;
	background: #fff;
	border: 1px solid #e6e6e6;
	color: #333 !important;
}

@media (max-width: 767px) {
	.vd-breadcrumb li {
		font-size: 13px;
	}
	.vd-breadcrumb li + li:before {
		margin: 0 6px;
	}
	.vd-section {
		padding: 40px 0;
	}
	/* Stack image above content on mobile */
	.vd-intro {
		display: block;
	}
	.vd-intro > [class*="col-"] {
		width: 100%;
		margin-bottom: 25px;
	}
	.vd-intro-content {
		margin-bottom: 0;
	}
	.vd-hero-image img {
		max-height: 260px;
		object-fit: cover;
	}
	.vd-cta {
		padding: 25px 20px;
	}
	.vd-cta .btn,
	.vd-cta-inline .btn {
		display: block;
		width: 100%;
		margin: 10px 0;
	}
	.vd-btn-back {
		margin-left: 0;
	}
	.vd-card,
	.vd-example {
		padding: 20px 18px;
	}
	.vd-table th,
	.vd-table td {
		font-size: 14px;
		padding: 10px 8px;
	}
}
