/**
 * Public styles — HLM RENT CAR Cars
 */
:root {
	--sm-navy: #14110b;
	--sm-sky: #d4af37;
	--sm-gold-deep: #a67c00;
	--sm-gold-soft: #fff7df;
	--sm-ink: #1d1a13;
	--sm-muted: #716b5f;
	--sm-border: rgba(166, 124, 0, 0.18);
	--sm-shadow: 0 22px 64px rgba(80, 57, 0, 0.18);
	--sm-shadow-soft: 0 12px 34px rgba(80, 57, 0, 0.12);
}

.sm-car-page.wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: clamp(16px, 2.2vw, 28px);
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: var(--sm-ink);
	background: transparent;
	box-sizing: border-box;
}

.sm-car-page *,
.sm-cars-grid * {
	box-sizing: border-box;
}

.sm-car-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 8px 0 22px;
	padding: 14px 18px;
	background: transparent;
	backdrop-filter: none;
	border: none;
	border-radius: 18px;
	box-shadow: none;
}

.sm-car-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--sm-navy);
	font-weight: 900;
	letter-spacing: -0.02em;
	font-size: 16px;
}

.sm-car-brand-badge {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--sm-gold-deep), var(--sm-sky));
	box-shadow: 0 12px 24px rgba(166, 124, 0, 0.24);
	position: relative;
}

.sm-car-brand-badge::after {
	content: "";
	position: absolute;
	inset: 10px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.sm-car-crumbs {
	color: var(--sm-muted);
	font-size: 13px;
}

.sm-car-crumbs strong {
	color: var(--sm-navy);
}

.sm-car-crumbs a {
	color: var(--sm-muted);
	text-decoration: none;
	font-weight: 700;
}

.sm-car-crumbs a:hover {
	color: var(--sm-sky);
}

.sm-car-grid {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: clamp(14px, 2vw, 24px);
	align-items: start;
}

@media (max-width: 980px) {
	.sm-car-grid {
		grid-template-columns: 1fr;
	}
}

.sm-car-card {
	background: transparent;
	border: none;
	border-radius: 26px;
	box-shadow: none;
	overflow: hidden;
	position: relative;
}

.sm-car-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 8px;
	background: linear-gradient(90deg, var(--sm-gold-deep), var(--sm-sky), #f4dc8a);
}

.sm-car-hero {
	padding: 26px 24px 16px;
	background:
		radial-gradient(520px 220px at 88% 0%, rgba(212, 175, 55, 0.24), transparent 62%),
		linear-gradient(135deg, rgba(20, 17, 11, 0.98), rgba(46, 36, 17, 0.95));
	color: #fff;
}

.sm-car-title {
	margin: 4px 0 8px;
	font-size: clamp(28px, 3.2vw, 46px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 950;
	/* Theme h1 rules often override inherited .sm-car-hero color — keep title readable on navy. */
	color: #fff;
}

.sm-car-page .sm-car-hero h1.sm-car-title {
	color: #fff !important;
}

.sm-car-subtitle {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	max-width: 58ch;
	font-size: 14px;
	line-height: 1.55;
}

.sm-car-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.sm-car-pill {
	display: inline-flex;
	align-items: center;
	padding: 10px 13px;
	border-radius: 999px;
	border: 1px solid rgba(212, 175, 55, 0.36);
	background: rgba(212, 175, 55, 0.15);
	font-weight: 800;
	font-size: 13px;
	color: #fff8dd;
}

.sm-car-media {
	padding: 22px;
	background: transparent;
}

.sm-car-imgbox {
	border-radius: 22px;
	padding: 20px;
	background: #fff;
	border: 1px solid rgba(166, 124, 0, 0.14);
	box-shadow: 0 16px 40px rgba(80, 57, 0, 0.12);
	overflow: hidden;
}

.sm-car-imgbox img.sm-car-single__img {
	width: 100%;
	height: clamp(220px, 34vw, 390px);
	object-fit: contain;
	display: block;
	transition: transform 0.45s ease;
}

.sm-car-imgbox:hover img.sm-car-single__img {
	transform: scale(1.035);
}

.sm-car-single__noimg {
	padding: 48px;
	text-align: center;
	color: var(--sm-muted);
	font-weight: 600;
}

.sm-car-details {
	padding: 20px 24px 24px;
	border-top: 1px solid rgba(166, 124, 0, 0.12);
	background: transparent;
}

.sm-car-details-head h3 {
	margin: 0;
	color: var(--sm-navy);
	font-size: 19px;
	letter-spacing: -0.02em;
}

.sm-car-features {
	margin-top: 16px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 18px;
}

@media (max-width: 520px) {
	.sm-car-features {
		grid-template-columns: 1fr;
	}
}

.sm-car-feat {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: #332c1f;
	font-weight: 700;
	line-height: 1.45;
}

.sm-car-check {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 8px;
	background: rgba(212, 175, 55, 0.16);
	border: 1px solid rgba(166, 124, 0, 0.28);
	display: grid;
	place-items: center;
	margin-top: 1px;
	font-size: 12px;
	color: var(--sm-gold-deep);
}

.sm-car-panel {
	position: sticky;
	top: 14px;
}

@media (max-width: 980px) {
	.sm-car-panel {
		position: static;
	}
}

.sm-car-book {
	border-radius: 24px;
	background: #fff !important;
	border: 1px solid rgba(166, 124, 0, 0.16) !important;
	box-shadow: 0 18px 48px rgba(80, 57, 0, 0.14) !important;
	overflow: hidden;
}

.sm-car-book-top {
	padding: 20px 20px 16px;
	border-bottom: 1px solid rgba(166, 124, 0, 0.12);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	background: linear-gradient(135deg, #fffaf0, #fff) !important;
}

.sm-car-price {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sm-car-price-line1-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	line-height: 1.2;
}

.sm-car-price .sm-price-from {
	font-size: 14px;
	font-weight: 800;
	color: var(--sm-muted);
	letter-spacing: 0.01em;
}

.sm-car-price-line1 {
	color: var(--sm-navy);
	font-weight: 950;
	letter-spacing: -0.02em;
	font-size: 24px;
}

.sm-car-price-line2 {
	color: var(--sm-muted);
	font-weight: 800;
	font-size: 13px;
}

.sm-car-tag {
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(166, 124, 0, 0.28);
	background: rgba(212, 175, 55, 0.16);
	font-weight: 900;
	color: var(--sm-navy);
	font-size: 12px;
	white-space: nowrap;
}

.sm-car-book-body {
	padding: 18px 20px 20px;
}

.sm-car-book-body h3 {
	margin: 2px 0 12px;
	color: var(--sm-navy);
	font-size: 19px;
	letter-spacing: -0.02em;
}

.sm-car-note {
	margin: 8px 0 14px;
	padding: 12px 14px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(255, 247, 223, 0.9));
	border: 1px solid rgba(166, 124, 0, 0.2);
	color: #4d3d13;
	font-weight: 800;
	font-size: 13px;
	line-height: 1.45;
}

.sm-car-form label {
	display: block;
	margin: 11px 0 6px;
	font-size: 13px;
	color: #4a402f;
	font-weight: 800;
}

.sm-car-form input[type="text"],
.sm-car-form input[type="email"],
.sm-car-form input[type="tel"],
.sm-car-form input[type="date"] {
	width: 100%;
	padding: 13px 14px;
	border-radius: 15px;
	border: 1px solid rgba(166, 124, 0, 0.18);
	outline: none;
	font-size: 15px;
	background: #fff;
	color: var(--sm-ink);
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sm-car-form input:focus {
	border-color: rgba(212, 175, 55, 0.9);
	box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
	transform: translateY(-1px);
}

.sm-car-btn {
	margin-top: 16px;
	width: 100%;
	border: none;
	border-radius: 16px;
	padding: 15px 16px;
	cursor: pointer;
	font-weight: 950;
	font-size: 15px;
	color: #15110b !important;
	background: linear-gradient(135deg, var(--sm-gold-deep), var(--sm-sky), #f4dc8a) !important;
	box-shadow: 0 16px 34px rgba(166, 124, 0, 0.28) !important;
	transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.sm-car-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.03);
	box-shadow: 0 18px 36px rgba(166, 124, 0, 0.34);
	color: #15110b;
}

.sm-car-btn--wa {
	background: linear-gradient(135deg, #25d366, #128c7e);
	box-shadow: 0 16px 34px rgba(18, 140, 126, 0.35);
}

.sm-car-success {
	margin-bottom: 20px;
	padding: 16px 18px;
	border-radius: 18px;
	background: rgba(212, 175, 55, 0.14);
	border: 1px solid rgba(166, 124, 0, 0.24);
}

.sm-car-empty {
	color: var(--sm-muted);
	padding: 12px 0;
}

/* Booking success — [hlm_booking_success] (full-page confirmation) */
.sm-confirmation {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 18px;
	background:
		radial-gradient(800px 400px at 10% 0%, rgba(212, 175, 55, 0.24), transparent 60%),
		linear-gradient(180deg, #fffaf0 0%, #f8f2df 100%) !important;
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	box-sizing: border-box;
}

.sm-confirmation * {
	box-sizing: border-box;
}

.sm-confirmation--error .sm-confirmation-card {
	border-color: rgba(220, 38, 38, 0.18);
}

.sm-confirmation-card {
	width: 100%;
	max-width: 620px;
	background: #fff !important;
	border-radius: 28px;
	padding: 44px 34px;
	text-align: center;
	box-shadow: 0 24px 70px rgba(80, 57, 0, 0.16) !important;
	border: 1px solid rgba(166, 124, 0, 0.16) !important;
}

.sm-confirmation .sm-icon {
	width: 72px;
	height: 72px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: linear-gradient(135deg, #a67c00, #d4af37, #f4dc8a) !important;
	color: #15110b !important;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 34px;
	font-weight: 900;
	line-height: 1;
	box-shadow: 0 12px 28px rgba(166, 124, 0, 0.34) !important;
}

.sm-confirmation .sm-icon--soft {
	background: linear-gradient(135deg, rgba(166, 124, 0, 0.95), rgba(212, 175, 55, 0.95)) !important;
	font-size: 28px;
	font-weight: 950;
}

.sm-confirmation .sm-icon--warn {
	background: linear-gradient(135deg, #b45309, #d97706);
	font-size: 30px;
}

.sm-confirmation-card h1 {
	margin: 0 0 14px;
	color: #14110b !important;
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 950;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.sm-confirmation .sm-subtitle {
	margin: 0 auto 8px;
	color: #716b5f;
	font-size: 17px;
	line-height: 1.7;
	max-width: 48ch;
}

.sm-confirmation .sm-subtitle strong {
	color: #14110b;
}

.sm-confirmation .sm-box {
	background: rgba(212, 175, 55, 0.12) !important;
	border: 1px solid rgba(166, 124, 0, 0.22) !important;
	border-radius: 18px;
	padding: 18px;
	margin: 20px 0;
	color: #14110b;
	font-weight: 600;
	text-align: left;
}

.sm-confirmation .sm-box--plain {
	text-align: center;
	font-weight: 600;
}

.sm-confirmation .sm-box > p:first-child {
	margin-top: 0;
}

.sm-confirmation .sm-box > p:last-child {
	margin-bottom: 0;
}

.sm-recap-list {
	margin: 14px 0 0;
	padding: 0 0 0 1.15em;
	font-size: 15px;
	line-height: 1.55;
	font-weight: 600;
	color: #4d4638;
}

.sm-recap-list li {
	margin: 8px 0;
}

.sm-recap-list strong {
	color: #14110b;
	font-weight: 800;
}

.sm-confirmation .sm-contact {
	margin: 16px 0 0;
	font-size: 16px;
	text-align: center;
}

.sm-contact-label {
	font-weight: 800;
	color: #14110b;
}

.sm-confirmation .sm-contact a {
	color: #a67c00;
	font-weight: 800;
	text-decoration: none;
}

.sm-confirmation .sm-contact a:hover {
	text-decoration: underline;
}

.sm-confirmation .sm-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 24px;
}

.sm-confirmation .sm-btn {
	padding: 14px 22px;
	border-radius: 14px;
	font-weight: 800;
	font-size: 15px;
	text-decoration: none !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sm-confirmation .sm-btn.primary {
	background: linear-gradient(135deg, #a67c00, #d4af37, #f4dc8a) !important;
	color: #15110b !important;
	box-shadow: 0 8px 20px rgba(166, 124, 0, 0.24) !important;
}

.sm-confirmation .sm-btn.secondary {
	background: #fff;
	color: #14110b !important;
	border: 1px solid rgba(166, 124, 0, 0.18);
	box-shadow: 0 4px 12px rgba(80, 57, 0, 0.07);
}

.sm-confirmation .sm-btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.02);
}

@media (max-width: 600px) {
	.sm-confirmation {
		min-height: auto;
		padding: 24px 12px;
		align-items: flex-start;
	}

	.sm-confirmation-card {
		max-width: 100%;
		padding: 32px 18px;
		border-radius: 24px;
	}

	.sm-confirmation .sm-icon {
		width: 58px;
		height: 58px;
		font-size: 26px;
		margin-bottom: 18px;
	}

	.sm-confirmation-card h1 {
		font-size: 28px;
	}

	.sm-confirmation .sm-subtitle {
		font-size: 16px;
		max-width: 100%;
	}

	.sm-confirmation .sm-actions {
		flex-direction: column;
	}

	.sm-confirmation .sm-btn {
		width: 100%;
	}
}

/* Fleet grid wrapper */
.sm-cars-grid-wrap {
	width: 100%;
	margin: 1rem 0;
}

/* Fleet grid */
.sm-cars-grid {
	display: grid;
	grid-template-columns: repeat(var(--sm-cols, 3), minmax(0, 1fr));
	gap: 20px;
	margin: 1rem 0;
}

@media (max-width: 900px) {
	.sm-cars-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.sm-cars-grid {
		grid-template-columns: 1fr;
	}
}

.sm-cars-grid__card {
	background: #fff;
	border: 1px solid var(--sm-border);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: var(--sm-shadow-soft);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sm-cars-grid__card:hover {
	transform: translateY(-4px);
	box-shadow: var(--sm-shadow);
}

.sm-cars-grid__card[hidden] {
	display: none !important;
}

.sm-cars-grid__link {
	text-decoration: none;
	color: inherit;
	display: block;
	height: 100%;
}

.sm-cars-grid__media {
	background: linear-gradient(180deg, #fffaf0, #f8f2df);
	padding: 16px;
}

.sm-cars-grid__img {
	width: 100%;
	height: 180px;
	object-fit: contain;
	display: block;
}

.sm-cars-grid__placeholder {
	height: 180px;
	background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
	border-radius: 12px;
}

.sm-cars-grid__body {
	padding: 16px 18px 20px;
}

.sm-cars-grid__title {
	margin: 0 0 8px;
	font-size: 18px;
	color: var(--sm-navy);
	font-weight: 900;
}

.sm-cars-grid__excerpt {
	margin: 0 0 10px;
	font-size: 14px;
	color: var(--sm-muted);
	line-height: 1.45;
}

.sm-cars-grid__price {
	margin: 0;
	font-weight: 900;
	color: var(--sm-navy);
	font-size: 16px;
}

.sm-cars-grid__price .sm-price-from {
	font-weight: 800;
	font-size: 13px;
	color: var(--sm-muted);
	margin-right: 2px;
}
