/* EVKTM Vehicles Listing */

.vlist {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1c1e21;
}
.vlist * { box-sizing: border-box; }

/* Filter bar */
.vlist-filters {
	background: #fff;
	border: 1px solid #e4e6eb;
	border-radius: 12px;
	padding: 16px;
	margin-bottom: 22px;
}
.vlist-search { display: flex; gap: 8px; margin-bottom: 14px; }
.vlist-q { flex: 1; }
.vlist-input {
	width: 100%;
	padding: 11px 13px;
	font-size: 15px;
	border: 1px solid #ccd0d5;
	border-radius: 8px;
	background: #fff;
	color: #1c1e21;
	-webkit-appearance: none;
	appearance: none;
}
.vlist-input:focus { outline: none; border-color: #1877f2; }
.vlist-search-btn {
	padding: 11px 22px;
	font-size: 15px; font-weight: 700;
	color: #fff; background: #1877f2;
	border: none; border-radius: 8px; cursor: pointer;
	white-space: nowrap;
}

.vlist-filters-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
}
.vlist-f { display: flex; flex-direction: column; gap: 5px; font-size: 12px; color: #606770; font-weight: 600; }
.vlist-range { display: flex; gap: 6px; }
.vlist-range .vlist-input { width: 50%; }

.vlist-filters-actions { display: flex; gap: 10px; margin-top: 14px; }
.vlist-apply {
	padding: 10px 22px; font-size: 14px; font-weight: 700;
	color: #fff; background: #1877f2; border: none; border-radius: 8px; cursor: pointer;
}
.vlist-reset {
	padding: 10px 18px; font-size: 14px; font-weight: 600;
	color: #606770; background: #f0f2f5; border: none; border-radius: 8px; cursor: pointer;
}

.vlist-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
@media (max-width: 900px) { .vlist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vlist-grid { grid-template-columns: 1fr; } }

.vlist-card {
	border: 1px solid #e4e6eb;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow .15s ease, transform .15s ease;
}
.vlist-card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); transform: translateY(-2px); }

.vlist a,
.vlist a:hover,
.vlist a:focus,
.vlist-link,
.vlist-link * {
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}
.vlist-link { color: inherit; display: block; }

/* Card gallery */
.vlist-gallery { position: relative; aspect-ratio: 4 / 3; background: #f0f2f5; overflow: hidden; }
.vlist-track {
	display: flex;
	height: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
}
.vlist-track::-webkit-scrollbar { display: none; }
.vlist-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; display: block; }
.vlist-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vlist-img--placeholder {
	display: block; width: 100%; height: 100%;
	background: repeating-linear-gradient(45deg, #f0f2f5, #f0f2f5 10px, #e9ebee 10px, #e9ebee 20px);
}

.vlist-gal-nav {
	position: absolute; top: 50%;
	margin: 0; padding: 0;
	width: 34px !important; height: 34px !important;
	min-width: 0; max-width: none; min-height: 0;
	box-sizing: border-box;
	display: flex; align-items: center; justify-content: center;
	font-size: 18px; font-weight: 700; line-height: 1;
	color: #1c1e21; background: rgba(255, 255, 255, .92);
	border: none !important; border-radius: 50% !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
	cursor: pointer;
	opacity: 0; transition: opacity .15s ease, background .15s ease;
	-webkit-appearance: none; appearance: none;
}
.vlist-gal-nav:hover { background: #fff; }
.vlist-gallery:hover .vlist-gal-nav { opacity: 1; }
.vlist-gal-prev { left: 8px; transform: translateY(-50%); }
.vlist-gal-next { right: 8px; transform: translateY(-50%); }

.vlist-dots {
	position: absolute; bottom: 8px; left: 0; right: 0;
	display: flex; justify-content: center; gap: 6px;
}
.vlist-dot {
	width: 7px; height: 7px; padding: 0;
	border: none; border-radius: 50%;
	background: rgba(255, 255, 255, .6); cursor: pointer;
}
.vlist-dot.is-active { background: #fff; }

.vlist-info { padding: 14px 16px 16px; }
.vlist-name { font-size: 16px; font-weight: 700; margin: 0 0 10px; line-height: 1.3; color: #1c1e21; }

.vlist-row { font-size: 14px; line-height: 1.5; color: #1c1e21; margin-bottom: 3px; }
.vlist-label { color: #606770; font-weight: 600; margin-right: 5px; }
.vlist-value { font-weight: 600; }

.vlist-price { font-size: 16px; margin-bottom: 8px; }
.vlist-price .vlist-value { font-weight: 800; color: #1877f2; }

.vlist-excerpt { font-size: 13px; color: #8a8d91; margin: 10px 0 0; line-height: 1.45;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Card WhatsApp button */
.vlist-wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 16px 16px;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	background: #25d366;
	border-radius: 8px;
	transition: background 0.15s ease;
}
.vlist-wa:hover { background: #1ebe5d; }
.vlist-wa-ico { flex: 0 0 auto; color: #fff; }

.vlist-empty { grid-column: 1 / -1; text-align: center; color: #606770; padding: 40px 0; }

.vlist-sentinel { height: 1px; }

.vlist-more {
	display: block;
	margin: 24px auto 8px;
	padding: 12px 28px;
	font-size: 15px; font-weight: 700;
	color: #1877f2;
	background: #fff;
	border: 1px solid #1877f2;
	border-radius: 8px;
	cursor: pointer;
}
.vlist-more:hover { background: #1877f2; color: #fff; }
.vlist-more[hidden] { display: none; }

.vlist-status { text-align: center; color: #606770; font-size: 14px; padding: 12px 0; min-height: 18px; }
.vlist.is-loading .vlist-status::after { content: "Loading…"; }
