/*
 * Fleet-first rentals grid (Direction B on the front-end).
 * A self-contained dark Atelier band inside the editorial page shell: the real
 * fleet with live rates + availability, category/Bolt filter pills, and a
 * prominent lead-capture fallback. All colour is token-driven. The card media
 * frame is a fixed 4:3 LANDSCAPE box (Workstream A — real car photos are
 * landscape); object-fit + a per-image focal point (`art_frame_image()`,
 * inc/sections.php) crop any source — including today's portrait placeholders
 * — into it without distortion, and the box never depends on the source's
 * own aspect ratio.
 */

.art-fleet {
	background: var( --art-color-surface-inverse, #1a1917 );
	color: var( --art-color-text-inverse, #f2efe9 );
	/* The fleet grid is the page's reason to exist — surface the first card row
	   within the first viewport by tightening the band's lead-in (not the design):
	   a lighter top padding brings the heading/filters/first row up. The full
	   --art-section-space is kept below the grid. (2026-08-02 above-the-fold.) */
	padding-block-start: var( --art-space-lg );
}
.art-fleet .art-section-header {
	/* Tighter lead-in so the grid surfaces sooner (above-the-fold, 2026-08-02). */
	margin-bottom: var( --art-space-md );
}
.art-fleet .art-section-header h2 {
	color: var( --art-color-text-inverse, #f2efe9 );
}
.art-fleet .art-section-header__description {
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 78%, transparent );
}
.art-fleet .art-eyebrow {
	color: var( --art-color-accent, #d98a2b );
}

/* filter pills */
.art-fleet__filters {
	display: flex;
	flex-wrap: wrap;
	gap: var( --art-space-2xs, 8px );
	justify-content: center;
	margin: var( --art-space-md ) 0 var( --art-space-lg );
}
.art-fleet__pill {
	appearance: none;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: var( --art-radius-pill, 999px );
	border: 1px solid color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 24%, transparent );
	background: transparent;
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 82%, transparent );
	font: 500 0.92rem/1 var( --art-font-primary, "Inter", sans-serif );
	transition: border-color var( --art-hover-duration, 170ms ) var( --art-ease-standard, ease ), color var( --art-hover-duration, 170ms ) var( --art-ease-standard, ease ), background var( --art-hover-duration, 170ms ) var( --art-ease-standard, ease );
}
.art-fleet__pill:hover {
	color: var( --art-color-text-inverse, #f2efe9 );
	border-color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 48%, transparent );
}
.art-fleet__pill.is-active {
	background: var( --art-color-accent, #d98a2b );
	border-color: var( --art-color-accent, #d98a2b );
	color: var( --art-color-accent-contrast, #1a1917 );
}
.art-fleet__pill--bolt.is-active {
	background: var( --art-color-accent, #d98a2b );
}
.art-fleet__pill-count {
	font-size: 0.72rem;
	font-variant-numeric: tabular-nums;
	opacity: 0.7;
}
.art-fleet__pill.is-active .art-fleet__pill-count { opacity: 0.85; }

/* grid */
.art-fleet__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 230px, 1fr ) );
	gap: var( --art-space-lg, 28px );
}

/*
 * The filter JS hides non-matching cards with the `hidden` attribute. The
 * `.art-fleet__card { display: flex }` rule below would otherwise override the
 * UA `[hidden] { display: none }`, leaving "hidden" cards fully visible — so the
 * filter pills appeared to do nothing. This higher-specificity rule restores it.
 */
.art-fleet__card[hidden] {
	display: none;
}
.art-fleet__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 5%, transparent );
	border: 1px solid color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 12%, transparent );
	border-radius: var( --art-radius-card, 14px );
	overflow: hidden;
	transition: transform var( --art-hover-duration, 170ms ) var( --art-ease-out, ease ), border-color var( --art-hover-duration, 170ms ) var( --art-ease-out, ease );
}
.art-fleet__card:hover {
	transform: translateY( var( --art-lift-distance, -3px ) );
	border-color: color-mix( in srgb, var( --art-color-accent, #d98a2b ) 55%, transparent );
}

/* ---- Filter transition (fleet-filter.js) ---------------------------------
   When a pill changes the result set the JS fades+collapses departing cards
   and fades in arriving ones over --art-collapse-duration rather than
   snapping. It also swaps the card transition to opacity/transform for the
   duration of the change (see .is-filtering). Fully skipped under
   reduced-motion (fleet-filter.js checks the query and toggles instantly). */
.art-fleet__grid.is-filtering .art-fleet__card {
	transition: opacity var( --art-collapse-duration, 260ms ) var( --art-ease-out, ease ), transform var( --art-collapse-duration, 260ms ) var( --art-ease-out, ease );
}
.art-fleet__card.is-leaving {
	opacity: 0;
	transform: scale( 0.96 );
	pointer-events: none;
}
.art-fleet__card.is-entering {
	opacity: 0;
	transform: translateY( 8px );
}

/* Landscape 4:3 frame (Workstream A); .art-frame__img (sections.css) supplies
   width/height/object-fit/object-position — no per-slot img rule needed. */
.art-fleet__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #0f0e0d;
	overflow: hidden;
	min-width: 0;
}
.art-fleet__noimg {
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient( 135deg, #17161400 0 12px, #ffffff08 12px 13px );
}
.art-fleet__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 9px;
	border-radius: var( --art-radius-pill, 999px );
	font: 700 0.72rem/1.4 var( --art-font-primary, "Inter", sans-serif );
	letter-spacing: 0.03em;
}
.art-fleet__badge--bolt {
	background: var( --art-color-accent, #d98a2b );
	color: var( --art-color-accent-contrast, #1a1917 );
}

.art-fleet__cardbody {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 16px 18px;
	flex: 1 1 auto;
}
.art-fleet__cat {
	color: var( --art-color-accent, #d98a2b );
	font-size: 0.72rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	margin: 0;
}
.art-fleet__title {
	font-family: var( --art-font-primary, sans-serif );
	font-size: 1.18rem;
	line-height: 1.2;
	color: var( --art-color-text-inverse, #f2efe9 );
	margin: 0;
}
.art-fleet__specs {
	list-style: none;
	margin: 2px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
/* Optional per-vehicle description (editability certification 2026-08-02): a
   short line under the specs, clamped so a long entry never breaks the card. */
.art-fleet__desc {
	margin: 8px 0 0;
	font-size: var( --art-font-size-small, 0.875rem );
	line-height: 1.4;
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 74%, transparent );
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.art-fleet__specs li {
	font-size: 0.78rem;
	padding: 3px 9px;
	border-radius: var( --art-radius-pill, 999px );
	background: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 9%, transparent );
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 82%, transparent );
}
/* Card alignment (#5): the price and availability each get their OWN row and
   the rate never wraps ("de la 130 RON/zi" used to break to two lines on some
   cards and one on others, shifting the price/availability/disclosure/CTA to
   different heights across a row). With the meta bottom-anchored (margin-top:
   auto) and every row a fixed height, the corresponding lines now align across
   the whole row regardless of title/description length. */
.art-fleet__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	margin-top: auto;
	padding-top: 10px;
}
.art-fleet__rate {
	margin: 0;
	font: 700 1.1rem/1.1 var( --art-font-primary, "Inter", sans-serif );
	color: var( --art-color-text-inverse, #f2efe9 );
	white-space: nowrap;
}
.art-fleet__rate-unit {
	font-weight: 400;
	font-size: 0.8rem;
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 60%, transparent );
}
.art-fleet__avail {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.78rem;
}
.art-fleet__avail-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex: 0 0 auto;
}
.art-fleet__avail--yes .art-fleet__avail-dot { background: #5fbf6a; }
.art-fleet__avail--yes { color: #7fd189; }
.art-fleet__avail--no .art-fleet__avail-dot { background: var( --art-color-accent, #d98a2b ); }
.art-fleet__avail--no { color: color-mix( in srgb, var( --art-color-accent, #d98a2b ) 70%, var( --art-color-text-inverse, #f2efe9 ) ); }

.art-fleet__cta.art-btn--outline {
	margin-top: 12px;
	color: var( --art-color-text-inverse, #f2efe9 );
	border-color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 34%, transparent );
	justify-content: center;
}
.art-fleet__cta.art-btn--outline:hover {
	border-color: var( --art-color-accent, #d98a2b );
	color: var( --art-color-accent, #d98a2b );
	background: transparent;
}

.art-fleet__none {
	text-align: center;
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 72%, transparent );
	margin-top: var( --art-space-lg, 28px );
	/* A considered empty state, not a stray line: a hairline dashed frame with
	   real padding reads as a deliberate "no results here" panel. */
	padding: var( --art-space-xl, 40px ) var( --art-space-lg, 28px );
	border: 1px dashed color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 22%, transparent );
	border-radius: var( --art-radius-card, 14px );
	max-width: 52ch;
	margin-inline: auto;
}

/* lead-capture fallback */
.art-fleet__fallback {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: var( --art-space-lg, 28px );
	margin-top: var( --art-space-2xl, 56px );
	padding: var( --art-space-xl, 40px );
	border-radius: var( --art-radius-panel, 18px );
	border: 1px solid color-mix( in srgb, var( --art-color-accent, #d98a2b ) 40%, transparent );
	background: color-mix( in srgb, var( --art-color-accent, #d98a2b ) 10%, transparent );
}
.art-fleet__fallback-text { max-width: 46ch; }
.art-fleet__fallback-text h3 {
	font-family: var( --art-font-primary, sans-serif );
	color: var( --art-color-text-inverse, #f2efe9 );
	margin: 0 0 6px;
	font-size: 1.4rem;
}
.art-fleet__fallback-text p {
	margin: 0;
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 84%, transparent );
}
.art-fleet__response {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px !important;
	color: var( --art-color-accent, #d98a2b ) !important;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
}
.art-fleet__response-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var( --art-color-accent, #d98a2b );
	box-shadow: 0 0 0 0 color-mix( in srgb, var( --art-color-accent, #d98a2b ) 60%, transparent );
	animation: art-fleet-pulse 2s infinite;
}
@keyframes art-fleet-pulse {
	0% { box-shadow: 0 0 0 0 color-mix( in srgb, var( --art-color-accent, #d98a2b ) 55%, transparent ); }
	70% { box-shadow: 0 0 0 9px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}
@media ( prefers-reduced-motion: reduce ) {
	.art-fleet__response-dot { animation: none; }
	.art-fleet__card { transition: none; }
}

@media ( max-width: 560px ) {
	.art-fleet__grid { grid-template-columns: repeat( 2, minmax( 0, 1fr ) ); gap: var( --art-space-md, 18px ); }
	/* On the narrow two-column grid the complete monthly rate must remain
	   readable. Keep the amount together where it fits and move the unit to its
	   own line instead of letting the unit clip at the card edge. */
	.art-fleet__rate { white-space: normal; }
	.art-fleet__rate-unit { display: block; }
	.art-fleet__fallback { padding: var( --art-space-lg, 28px ); }
}

/* ------------------------------------------------------------------------- *
 * Task 1 — rental enquiry vehicle confirmation card. Renders inside the
 * editorial (light) enquiry form, so it uses the STANDARD token layer (not the
 * inverse fleet-band tokens above). The card mirrors the <select name=vehicle_id>
 * that is the single source of truth; both work with no JavaScript.
 * ------------------------------------------------------------------------- */
.art-rental-vehicle {
	margin-bottom: var( --art-space-md, 20px );
}
/* Empty state: no car chosen. A single quiet line — the fleet grid with its
   category filter is directly above, one click away — no control, no help. */
.art-rental-vehicle__pick {
	margin: 0 0 var( --art-space-md, 20px );
	color: var( --art-color-text-muted, #5c574e );
	font-size: var( --art-font-size-small, 0.9rem );
}
.art-rental-vehicle__pick-link {
	color: var( --art-color-accent-text, var( --art-color-accent, #b5721f ) );
	text-decoration: underline;
	text-underline-offset: 2px;
}
.art-rental-vehicle__pick-link:hover,
.art-rental-vehicle__pick-link:focus-visible {
	color: var( --art-color-accent-hover, #a5661a );
	text-decoration: none;
}
.art-rental-vehicle__card[hidden],
.art-rental-vehicle__pick[hidden],
.art-rental-vehicle__change[hidden] {
	display: none;
}
.art-rental-vehicle__card {
	display: flex;
	gap: var( --art-space-sm, 16px );
	align-items: stretch;
	padding: var( --art-space-sm, 16px );
	background: var( --art-color-surface, #fff );
	border: 1px solid var( --art-color-border, #e4ded3 );
	border-inline-start: 3px solid var( --art-color-accent, #d98a2b );
	border-radius: var( --art-radius-card, 14px );
}
.art-rental-vehicle__media {
	flex: 0 0 84px;
	width: 84px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	min-width: 0;
	border-radius: var( --art-radius-input, 8px );
	background: var( --art-color-background-alt, #f2ede4 );
}
.art-rental-vehicle__noimg {
	display: block;
	width: 100%;
	height: 100%;
	background: var( --art-color-background-alt, #f2ede4 );
}
.art-rental-vehicle__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.art-rental-vehicle__eyebrow {
	margin: 0;
	font-size: var( --art-font-size-xsmall, 0.75rem );
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var( --art-color-accent-text, var( --art-color-accent, #b5721f ) );
}
.art-rental-vehicle__title {
	margin: 0;
	font-size: var( --art-font-size-h4, 1.15rem );
	color: var( --art-color-heading, #1a1917 );
}
.art-rental-vehicle__specs {
	list-style: none;
	margin: 2px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	font-size: var( --art-font-size-small, 0.875rem );
	color: var( --art-color-text-muted, #5c574e );
}
.art-rental-vehicle__specs li {
	position: relative;
}
.art-rental-vehicle__specs li + li::before {
	content: "·";
	position: absolute;
	inset-inline-start: -8px;
	color: var( --art-color-border-strong, #c9c0b0 );
}
.art-rental-vehicle__rate[hidden] {
	display: none;
}
.art-rental-vehicle__rate {
	margin: 4px 0 0;
	font-weight: var( --art-font-weight-strong, 600 );
	color: var( --art-color-heading, #1a1917 );
}
.art-rental-vehicle__rate-unit {
	font-weight: var( --art-font-weight-body, 400 );
	color: var( --art-color-text-muted, #5c574e );
}
.art-rental-vehicle__clear {
	align-self: flex-start;
	margin-top: 6px;
	padding: 0;
	background: none;
	border: 0;
	color: var( --art-color-accent-text, var( --art-color-accent, #b5721f ) );
	font: inherit;
	font-size: var( --art-font-size-small, 0.875rem );
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.art-rental-vehicle__clear:hover,
.art-rental-vehicle__clear:focus-visible {
	color: var( --art-color-accent-hover, #a5661a );
}
.art-rental-vehicle__change {
	margin-top: var( --art-space-2xs, 8px );
}
.art-rental-vehicle__change > summary {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: var( --art-space-2xs, 8px );
	font-size: var( --art-font-size-small, 0.875rem );
	color: var( --art-color-accent-text, var( --art-color-accent, #b5721f ) );
	padding: var( --art-space-2xs, 8px ) 0;
	list-style: none;
}
.art-rental-vehicle__change > summary::-webkit-details-marker { display: none; }
.art-rental-vehicle__change > summary:hover,
.art-rental-vehicle__change > summary:focus-visible {
	color: var( --art-color-accent-hover, #a5661a );
}
.art-rental-vehicle__change-chev {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	transition: transform var( --art-collapse-duration, 260ms ) var( --art-ease-out, ease );
}
.art-rental-vehicle__change[open] > summary .art-rental-vehicle__change-chev { transform: rotate( 180deg ); }
@media ( prefers-reduced-motion: reduce ) { .art-rental-vehicle__change-chev { transition: none; } }
.art-rental-vehicle__change .art-field {
	margin-top: var( --art-space-2xs, 8px );
}

@media ( max-width: 480px ) {
	.art-rental-vehicle__media {
		flex-basis: 64px;
		width: 64px;
	}
}

/* ------------------------------------------------------------------------- *
 * Task 2 (rebuilt) — per-vehicle availability MONTH CALENDAR inside the (dark)
 * fleet card. Native <details>, so it opens with no JS (the server renders the
 * current month; art-datepicker.js upgrades it to a navigable viewer). The
 * summary marker is the icon-system chevron, rotated on open per the motion
 * tokens — never the browser's native triangle. The period list is the
 * accessible equivalent. Inverse token layer. The calendar itself is styled by
 * datepicker.css (.art-cal--display.art-cal--dark).
 * ------------------------------------------------------------------------- */
.art-fleet__cal {
	margin-bottom: var( --art-space-xs, 12px );
	font-size: var( --art-font-size-small, 0.875rem );
}
.art-fleet__cal-summary {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var( --art-space-2xs, 8px );
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 82%, transparent );
	padding: 6px 0;
	list-style: none;
	transition: color var( --art-hover-duration, 170ms ) var( --art-ease-out, ease );
}
.art-fleet__cal-summary::-webkit-details-marker { display: none; }
.art-fleet__cal-summary:hover,
.art-fleet__cal-summary:focus-visible {
	color: var( --art-color-accent, #d98a2b );
}
.art-fleet__cal-chev {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	transition: transform var( --art-collapse-duration, 260ms ) var( --art-ease-out, ease );
}
/* Chevron rotates on open: [open] is the no-JS native disclosure; .is-cal-open is
   the JS floating panel (which keeps the <details> collapsed and floats instead). */
.art-fleet__cal[open] .art-fleet__cal-chev,
.art-fleet__cal.is-cal-open .art-fleet__cal-chev { transform: rotate( 180deg ); }
@media ( prefers-reduced-motion: reduce ) { .art-fleet__cal-chev { transition: none; } }
.art-fleet__cal-body {
	padding-top: var( --art-space-xs, 12px );
	display: flex;
	flex-direction: column;
	gap: var( --art-space-xs, 12px );
}
.art-fleet__cal-view { display: flex; justify-content: center; }
.art-fleet__cal-view .art-cal--display { max-width: 100%; }
.art-fleet__cal-list {
	list-style: none;
	margin: var( --art-space-2xs, 8px ) 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 80%, transparent );
}
.art-fleet__cal-list li {
	display: flex;
	align-items: center;
	gap: 7px;
}
.art-fleet__cal-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var( --art-color-accent, #d98a2b );
	flex: 0 0 auto;
}
.art-fleet__cal-note {
	margin: 6px 0 0;
	font-size: var( --art-font-size-xsmall, 0.75rem );
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 58%, transparent );
}

/* ------------------------------------------------------------------------- *
 * Task 3 — period selector + result count (inside the dark fleet band).
 * A plain GET form: with no JS it reloads a server-filtered grid. Inverse
 * token layer to sit on the dark surface.
 * ------------------------------------------------------------------------- */
.art-fleet__period {
	width: 100%;
	max-width: none;
	margin: 0 0 var( --art-space-md, 20px );
	padding: var( --art-space-sm, 16px );
	background: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 6%, transparent );
	border: 1px solid color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 14%, transparent );
	border-radius: var( --art-radius-card, 14px );
}
.art-fleet__period-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: var( --art-space-sm, 16px );
}
.art-fleet__period-row > .art-period-field--dark {
	flex: 1 1 0;
	min-width: 0;
	flex-direction: row;
	align-items: center;
}
.art-fleet__period-row > .art-period-field--dark .art-period-label { flex: 0 0 7rem; }
.art-fleet__period-row > .art-period-field--dark > .art-period-host { flex: 1 1 0; min-width: 0; }
.art-fleet__period-row > .art-period-field--dark .art-period__field { width: 100%; min-width: 0; }
@media (max-width: 47.999em) {
	.art-fleet__period-row { flex-direction: column; align-items: stretch; }
	.art-fleet__period-field,
	.art-fleet__period-row > .art-period-field--dark { width: 100%; flex: 1 1 auto; flex-direction: column; align-items: stretch; }
	.art-fleet__period-row > .art-period-field--dark .art-period-label { flex-basis: auto; }
	.art-fleet__period-row > .art-period-field--dark > .art-period-host { width: 100%; }
	.art-fleet__period-submit { width: 100%; min-height: 44px; }
	.art-fleet__grid > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - var(--art-space-md, 18px)) / 2); }
}
.art-fleet__period-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1 1 160px;
}
.art-fleet__period-field label {
	font-size: var( --art-font-size-small, 0.875rem );
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 82%, transparent );
}
.art-fleet__period-field input[type="date"] {
	font: inherit;
	padding: 9px 12px;
	border-radius: var( --art-radius-input, 8px );
	border: 1px solid color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 28%, transparent );
	background: var( --art-color-surface-inverse, #1a1917 );
	color: var( --art-color-text-inverse, #f2efe9 );
	color-scheme: dark;
}
.art-fleet__period-field input[type="date"]:focus-visible {
	outline: 2px solid var( --art-color-accent, #d98a2b );
	outline-offset: 1px;
	border-color: var( --art-color-accent, #d98a2b );
}
.art-fleet__period-submit {
	font: 500 0.95rem/1 var( --art-font-primary, "Inter", sans-serif );
	padding: 11px 20px;
	border: 1px solid var( --art-color-accent, #d98a2b );
	border-radius: var( --art-radius-button, 8px );
	background: var( --art-color-accent, #d98a2b );
	color: var( --art-color-accent-contrast, #1a1917 );
	cursor: pointer;
	transition: background var( --art-hover-duration, 170ms ) var( --art-ease-out, ease );
	flex: 0 0 auto;
}
.art-fleet__period-submit:hover,
.art-fleet__period-submit:focus-visible {
	background: color-mix( in srgb, var( --art-color-accent, #d98a2b ) 86%, #fff );
}
.art-fleet__period-clear {
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 78%, transparent );
	font-size: var( --art-font-size-small, 0.875rem );
	text-decoration: underline;
	text-underline-offset: 2px;
	align-self: center;
}
.art-fleet__period-clear:hover,
.art-fleet__period-clear:focus-visible {
	color: var( --art-color-accent, #d98a2b );
}
.art-fleet__period-hint {
	margin: var( --art-space-2xs, 8px ) 0 0;
	font-size: var( --art-font-size-xsmall, 0.75rem );
	color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 55%, transparent );
}
.art-fleet__period-error {
	margin: var( --art-space-2xs, 8px ) 0 0;
	color: var( --art-color-accent, #d98a2b );
	font-size: var( --art-font-size-small, 0.875rem );
	font-weight: 600;
}
.art-fleet__count {
	text-align: center;
	margin: 0 0 var( --art-space-md, 20px );
	color: var( --art-color-text-inverse, #f2efe9 );
	font-weight: 600;
}
.art-fleet__rate-tier {
	display: block;
	margin-top: 2px;
	font-size: var( --art-font-size-xsmall, 0.75rem );
	font-weight: 400;
	color: var( --art-color-accent, #d98a2b );
}

/* Date-field proxy inside the dark fleet period selector (Task 3). */
.art-fleet__period-field .art-date__text {
	font: inherit;
	padding: 9px 12px;
	border-radius: var( --art-radius-input, 8px );
	border: 1px solid color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 28%, transparent );
	background: var( --art-color-surface-inverse, #1a1917 );
	color: var( --art-color-text-inverse, #f2efe9 );
	width: 100%;
}
.art-fleet__period-field .art-date__text:focus-visible {
	outline: 2px solid var( --art-color-accent, #d98a2b );
	outline-offset: 1px;
	border-color: var( --art-color-accent, #d98a2b );
}
.art-fleet__period-field .art-date__pick {
	background: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 8%, transparent );
	border-color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 28%, transparent );
}

/* ------------------------------------------------------------------------- *
 * Task 4 — "your car isn't free, here's what is" offer on the enquiry form
 * (light editorial context; STANDARD token layer).
 * ------------------------------------------------------------------------- */
.art-rental-alt {
	margin: 0 auto var( --art-space-md, 20px );
	max-width: 640px;
	padding: var( --art-space-sm, 16px );
	background: var( --art-color-background-alt, #f6f1e8 );
	border: 1px solid var( --art-color-border, #e4ded3 );
	border-inline-start: 3px solid var( --art-color-accent, #d98a2b );
	border-radius: var( --art-radius-card, 14px );
}
.art-rental-alt__lead { margin: 0 0 var( --art-space-xs, 12px ); color: var( --art-color-heading, #1a1917 ); }
.art-rental-alt__samecar {
	margin: 0 0 var( --art-space-sm, 16px );
	padding-bottom: var( --art-space-xs, 12px );
	border-bottom: 1px solid var( --art-color-border, #e4ded3 );
	color: var( --art-color-text, #2b2822 );
}
.art-rental-alt__samecar a { color: var( --art-color-accent-text, #b5721f ); text-decoration: underline; text-underline-offset: 2px; }
.art-rental-alt__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat( auto-fill, minmax( 240px, 1fr ) ); gap: var( --art-space-xs, 12px );
}
.art-rental-alt__card a {
	display: flex; align-items: center; gap: 12px;
	padding: 8px; text-decoration: none;
	background: var( --art-color-surface, #fff );
	border: 1px solid var( --art-color-border, #e4ded3 );
	border-radius: var( --art-radius-input, 8px );
	transition: border-color var( --art-hover-duration, 170ms ) var( --art-ease-out, ease );
}
.art-rental-alt__card a:hover,
.art-rental-alt__card a:focus-visible { border-color: var( --art-color-accent, #d98a2b ); }
.art-rental-alt__media {
	flex: 0 0 56px; width: 56px; aspect-ratio: 4 / 3; overflow: hidden; min-width: 0;
	border-radius: 6px; background: var( --art-color-background-alt, #f2ede4 );
}
.art-rental-alt__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }
.art-rental-alt__cat { font-size: var( --art-font-size-xsmall, 0.72rem ); color: var( --art-color-text-muted, #5c574e ); }
.art-rental-alt__name { font-weight: 600; color: var( --art-color-heading, #1a1917 ); }
.art-rental-alt__rate { font-size: var( --art-font-size-small, 0.85rem ); color: var( --art-color-text-muted, #5c574e ); }
.art-rental-alt__pick { flex: 0 0 auto; color: var( --art-color-accent-text, #b5721f ); font-weight: 600; font-size: var( --art-font-size-small, 0.85rem ); }
.art-rental-alt__none { margin: 0; color: var( --art-color-text, #2b2822 ); }

/* ---- Vehicle detail page (Task 2) — Direction B (dark) ------------------- */
.art-vehicle-page { background: var( --art-color-surface-inverse, #15181b ); color: var( --art-color-text-inverse, #f2efe9 ); padding: var( --art-space-xl, 2.5rem ) 0 var( --art-space-2xl, 4rem ); }
.art-vehicle-page .art-container { max-width: var( --art-container, 1200px ); margin: 0 auto; padding-inline: var( --art-page-gutter, 1.25rem ); }
.art-vehicle-page__back { margin: 0 0 var( --art-space-lg, 1.75rem ); }
.art-vehicle-page__back a { color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 78%, transparent ); text-decoration: none; font-size: var( --art-font-size-small, 0.9rem ); }
.art-vehicle-page__back a:hover { color: var( --art-color-accent, #d98a2b ); }

.art-vehicle-page__top { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp( 1.5rem, 4vw, 3rem ); align-items: start; }
@media (max-width: 780px) { .art-vehicle-page__top { grid-template-columns: 1fr; } }

.art-vehicle-gallery { position: sticky; top: 1.5rem; }
@media (max-width: 780px) { .art-vehicle-gallery { position: static; } }
.art-vehicle-gallery__main { margin: 0; background: #0f0e0d; border: 1px solid color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 12%, transparent ); border-radius: var( --art-radius-card, 14px ); overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 4; }
.art-vehicle-gallery__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.art-vehicle-gallery__noimg { aspect-ratio: 3 / 4; border-radius: var( --art-radius-card, 14px ); background: repeating-linear-gradient( 135deg, #17161400 0 12px, #ffffff08 12px 13px ); }
.art-vehicle-gallery__thumbs { list-style: none; margin: var( --art-space-sm, 0.75rem ) 0 0; padding: 0; display: flex; gap: 0.5rem; overflow-x: auto; }
.art-vehicle-gallery__thumb { display: block; border: 2px solid transparent; border-radius: var( --art-radius-input, 8px ); overflow: hidden; background: #0f0e0d; }
.art-vehicle-gallery__thumb img { display: block; width: 60px; height: 82px; object-fit: cover; }
.art-vehicle-gallery__thumb.is-active { border-color: var( --art-color-accent, #d98a2b ); }
.art-vehicle-gallery__thumb:focus-visible { outline: 3px solid var( --art-color-accent, #d98a2b ); outline-offset: 2px; }

.art-vehicle-page__intro { min-width: 0; }
.art-vehicle-page__intro .art-eyebrow { color: var( --art-color-accent, #d98a2b ); }
.art-vehicle-page__title { margin: 0.2rem 0 0.6rem; font-family: var( --art-font-primary, sans-serif ); font-size: clamp( 1.7rem, 4vw, 2.6rem ); line-height: 1.1; color: var( --art-color-text-inverse, #f2efe9 ); }
.art-vehicle-page__avail { margin: 0.4rem 0 1rem; }
.art-vehicle-page__desc { color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 82%, transparent ); line-height: 1.6; margin-bottom: 1.25rem; }
.art-vehicle-page__h2 { font-family: var( --art-font-primary, sans-serif ); font-size: 1.15rem; margin: 1.5rem 0 0.6rem; color: var( --art-color-text-inverse, #f2efe9 ); }

.art-vehicle-specs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat( 2, minmax(0,1fr) ); gap: 0.5rem 1.25rem; }
.art-vehicle-specs li { display: flex; flex-direction: column; gap: 1px; padding: 0.5rem 0; border-bottom: 1px solid color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 10%, transparent ); }
.art-vehicle-specs span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 55%, transparent ); }
.art-vehicle-specs strong { color: var( --art-color-text-inverse, #f2efe9 ); font-weight: 600; }

.art-vehicle-rate__main { margin: 0; font-size: 1.5rem; color: var( --art-color-accent, #e8a34d ); }
.art-vehicle-rate__main .art-fleet__rate-unit { font-size: 0.9rem; color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 60%, transparent ); }
.art-vehicle-rate__tiers { list-style: none; margin: 0.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.art-vehicle-rate__tiers li { display: flex; gap: 0.5rem; align-items: baseline; font-size: 0.9rem; }
.art-vehicle-rate__tiers span { color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 60%, transparent ); }
.art-vehicle-rate__tiers strong { color: var( --art-color-text-inverse, #f2efe9 ); font-weight: 600; }

.art-vehicle-page__bolt-note { margin: 1.25rem 0 0; padding: 0.75rem 1rem; border-radius: var( --art-radius-input, 8px ); background: color-mix( in srgb, var( --art-color-accent, #d98a2b ) 14%, transparent ); font-size: 0.9rem; }
.art-vehicle-page__bolt-note a { color: var( --art-color-accent, #e8a34d ); white-space: nowrap; }

.art-vehicle-page__availability { margin-top: var( --art-space-xl, 2.5rem ); }
.art-vehicle-page__availability .art-vehicle-page__h2 { margin-bottom: 1rem; }

.art-vehicle-similar { background: var( --art-color-surface-inverse, #15181b ); padding: var( --art-space-lg, 1.75rem ) 0 var( --art-space-2xl, 4rem ); }
.art-vehicle-similar__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr ) ); gap: 1rem; }
.art-vehicle-similar__card { min-width: 0; }
.art-vehicle-similar__link { display: flex; flex-direction: column; text-decoration: none; border: 1px solid color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 12%, transparent ); border-radius: var( --art-radius-card, 14px ); overflow: hidden; background: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 4%, transparent ); transition: border-color 170ms ease; }
.art-vehicle-similar__link:hover { border-color: var( --art-color-accent, #d98a2b ); }
.art-vehicle-similar__link:focus-visible { outline: 3px solid var( --art-color-accent, #d98a2b ); outline-offset: 2px; }
.art-vehicle-similar__media { aspect-ratio: 4 / 3; background: #0f0e0d; overflow: hidden; min-width: 0; }
.art-vehicle-similar__body { display: flex; flex-direction: column; gap: 2px; padding: 0.7rem 0.85rem 0.9rem; }
.art-vehicle-similar__cat { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: color-mix( in srgb, var( --art-color-text-inverse, #f2efe9 ) 55%, transparent ); }
.art-vehicle-similar__name { color: var( --art-color-text-inverse, #f2efe9 ); font-weight: 600; }
.art-vehicle-similar__rate { color: var( --art-color-accent, #e8a34d ); font-size: 0.85rem; }

/* Card second destination: image + title link to the vehicle detail page. */
.art-fleet__medialink { display: block; height: 100%; }
.art-fleet__medialink img { display: block; }
.art-fleet__titlelink { color: inherit; text-decoration: none; }
.art-fleet__titlelink:hover { color: var( --art-color-accent, #e8a34d ); }
.art-fleet__titlelink:focus-visible { outline: 3px solid var( --art-color-accent, #d98a2b ); outline-offset: 3px; border-radius: 3px; }
