/**
 * Drivelux Transfer Form 2.7.0
 * Booking: counters and vehicle selection
 *
 * Source architecture module. Loaded directly by WordPress.
 */

.dltf-counters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.dltf-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	padding: 14px;
	border: 1px solid var(--dltf-line);
	border-radius: 12px;
	background: var(--dltf-panel);
}

.dltf-counter__label {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	color: rgba(245, 242, 236, .78);
	font-size: 14px;
}

.dltf-counter__icon {
	color: var(--dltf-muted);
}

.dltf-counter__control {
	display: grid;
	grid-template-columns: 34px 42px 34px;
	overflow: hidden;
	flex: 0 0 auto;
	border: 1px solid var(--dltf-line);
	border-radius: 9px;
}

.dltf-counter__control button,
.dltf-counter__control input {
	width: 100%;
	height: 36px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, .025);
	color: var(--dltf-text);
	text-align: center;
}

.dltf-counter__control button:hover {
	background: rgba(210, 161, 91, .13);
	color: var(--dltf-gold-light);
}

.dltf-counter__control input {
	appearance: textfield;
	border-right: 1px solid var(--dltf-line);
	border-left: 1px solid var(--dltf-line);
}

.dltf-subtitle {
	margin: 28px 0 14px;
	font-size: 15px;
	font-weight: 700;
}

.dltf-vehicles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.dltf-vehicle-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	padding: 0;
	border: 1px solid var(--dltf-line-strong);
	border-radius: 14px;
	background: var(--dltf-panel);
	color: var(--dltf-text);
	text-align: left;
	transition: border-color .2s ease, transform .2s ease, opacity .2s ease;
}

.dltf-vehicle-card:hover {
	border-color: rgba(210, 161, 91, .52);
	transform: translateY(-2px);
}

.dltf-vehicle-card.is-selected {
	border-color: var(--dltf-gold-light);
	box-shadow: inset 0 0 0 1px rgba(210, 161, 91, .25);
}

.dltf-vehicle-card.is-disabled {
	cursor: not-allowed;
	opacity: .32;
	filter: grayscale(1);
	transform: none;
}

.dltf-vehicle-card__check {
	position: absolute;
	z-index: 2;
	top: 12px;
	right: 12px;
	display: none;
	width: 28px;
	height: 28px;
	place-items: center;
	border-radius: 50%;
	background: var(--dltf-gold-light);
	color: #17120b;
}

.dltf-vehicle-card__check svg {
	width: 16px;
	height: 16px;
	stroke-width: 2.2;
}

.dltf-vehicle-card.is-selected .dltf-vehicle-card__check {
	display: grid;
}

.dltf-vehicle-card.has-info-toggle .dltf-vehicle-card__check {
	right: 50px;
}

.dltf-vehicle-card__image {
	display: block;
	aspect-ratio: 16 / 8.5;
	padding: 14px 14px 0;
	background: radial-gradient(circle at 50% 80%, rgba(255, 255, 255, .08), transparent 62%);
}

.dltf-vehicle-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.dltf-vehicle-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px;
}

.dltf-vehicle-card__content strong {
	font-size: 17px;
	line-height: 1.25;
}

.dltf-vehicle-card__content small {
	margin-top: 4px;
	color: var(--dltf-muted);
}

.dltf-vehicle-card__meta {
	display: grid;
	gap: 7px;
	margin-top: 15px;
	color: rgba(245, 242, 236, .72);
}

.dltf-vehicle-card__meta em {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	font-style: normal;
}

.dltf-vehicle-card__meta svg {
	width: 16px;
	height: 16px;
}

.dltf-vehicle-card__topbar {
	position: absolute;
	z-index: 5;
	top: 12px;
	left: 12px;
	right: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	pointer-events: none;
}

.dltf-vehicle-card__fit-badge {
	position: relative;
	z-index: 4;
	padding: 6px 9px;
	border: 1px solid rgba(239, 201, 130, .42);
	border-radius: 999px;
	background: rgba(17, 18, 18, .88);
	color: var(--dltf-gold-light);
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	backdrop-filter: blur(10px);
	pointer-events: none;
}

.dltf-vehicle-card__info-toggle {
	pointer-events: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid rgba(239, 201, 130, .36) !important;
	border-radius: 50%;
	background: rgba(17, 18, 18, .92) !important;
	color: var(--dltf-gold-light) !important;
	box-shadow: none !important;
}

.dltf-vehicle-card__info-toggle:hover,
.dltf-vehicle-card__info-toggle:focus-visible {
	border-color: rgba(239, 201, 130, .68) !important;
	background: rgba(210, 161, 91, .12) !important;
	outline: 0;
}

.dltf-vehicle-card__info-toggle svg {
	width: 14px;
	height: 14px;
	stroke-width: 1.9;
}

.dltf-vehicle-card__fit-tip {
	position: absolute;
	z-index: 7;
	left: 12px;
	right: 12px;
	bottom: 12px;
	padding: 10px 11px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 9px;
	background: rgba(11, 12, 12, .96);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
	color: rgba(245, 242, 236, .88);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	opacity: 0;
	pointer-events: none;
	transform: translateY(5px);
	transition: opacity .16s ease, transform .16s ease;
}

.dltf-vehicle-card:hover .dltf-vehicle-card__fit-tip,
.dltf-vehicle-card:focus-visible .dltf-vehicle-card__fit-tip,
.dltf-vehicle-card.is-info-open .dltf-vehicle-card__fit-tip {
	opacity: 1;
	transform: translateY(0);
}

.dltf-vehicle-card.is-multi-option {
	border-color: rgba(210, 161, 91, .34);
}

.dltf-vehicle-card.is-disabled .dltf-vehicle-card__info-toggle {
	opacity: 1;
}

.dltf .dltf-vehicle-card.is-disabled {
	cursor: help;
	opacity: .42;
	filter: grayscale(.85);
}

.dltf .dltf-vehicle-card.is-disabled:hover,
.dltf .dltf-vehicle-card.is-disabled:focus-visible {
	border-color: rgba(210, 161, 91, .34) !important;
	transform: none;
}

.dltf .dltf-vehicle-card,
.dltf .dltf-vehicle-card:hover,
.dltf .dltf-vehicle-card:focus {
	appearance: none;
	background: #171819 !important;
	background-image: none !important;
	color: var(--dltf-text) !important;
	box-shadow: none;
}

.dltf .dltf-vehicle-card.is-selected {
	background: #1c1d1f !important;
	border-color: var(--dltf-gold-light) !important;
	box-shadow: inset 0 0 0 1px rgba(210, 161, 91, .22), 0 14px 34px rgba(0, 0, 0, .18);
}

.dltf-vehicle-card__image {
	background:
		radial-gradient(circle at 50% 84%, rgba(255, 255, 255, .09), transparent 56%),
		linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)) !important;
}

.dltf-vehicle-card__content {
	min-width: 0;
}

.dltf-vehicle-card__content strong {
	display: block;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dltf-vehicle-card__content small {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1180px){.dltf-vehicles { grid-template-columns: repeat(2, minmax(0, 1fr)); }}

@media (max-width: 900px){.dltf-counters { grid-template-columns: 1fr; }}

@media (max-width: 680px){.dltf-vehicle-card__fit-tip {
		left: 10px;
		right: 10px;
		bottom: 10px;
	}}

@media (max-width: 680px){.dltf-vehicles{ grid-template-columns: 1fr; }}

@media (max-width: 680px){.dltf-counters { gap: 9px; }}

@media (max-width: 680px){.dltf-counter { padding: 11px 12px; }}

@media (max-width: 680px){.dltf-vehicles { gap: 10px; }}

@media (max-width: 680px){.dltf-vehicle-card {
		display: grid;
		grid-template-columns: 116px minmax(0, 1fr);
		min-height: 126px;
	}}

@media (max-width: 680px){.dltf-vehicle-card__image {
		align-self: stretch;
		aspect-ratio: auto;
		min-height: 124px;
		padding: 11px 4px 8px 9px;
	}}

@media (max-width: 680px){.dltf-vehicle-card__content { justify-content: center; padding: 14px 14px 14px 8px; }}

@media (max-width: 680px){.dltf-vehicle-card__content strong { font-size: 15px; }}

@media (max-width: 680px){.dltf-vehicle-card__meta { gap: 5px; margin-top: 11px; }}

@media (max-width: 390px){.dltf-vehicle-card { grid-template-columns: 102px minmax(0, 1fr); }}

@media (max-width: 680px){.dltf-vehicle-card__topbar {
		right: auto;
		justify-content: flex-start;
		gap: 5px;
	}}

@media (max-width: 680px){.dltf-vehicle-card__fit-badge {
		display: inline-flex;
		align-items: center;
		min-height: 28px;
		padding: 0 8px;
	}}

@media (max-width: 680px){.dltf-vehicle-card__info-toggle {
		width: 28px;
		height: 28px;
	}}

@media (max-width: 680px){.dltf-vehicle-card__info-toggle svg {
		width: 13px;
		height: 13px;
	}}
