/* EVKTM Single Sales Listing */

.vsingle {
	/* Break out of narrow theme content containers and re-center, capped wide. */
	width: min(1320px, 100vw - 32px);
	max-width: none;
	margin: 0 auto;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	padding: 0 24px 56px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1c1e21;
}
.vsingle * { box-sizing: border-box; }

.vsingle-head { padding: 18px 0 14px; }
.vsingle-title { margin: 0 0 6px; font-size: 24px; line-height: 1.25; font-weight: 700; }
.vsingle-price { font-size: 22px; font-weight: 800; color: #1877f2; }

.vsingle-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	gap: 32px;
	align-items: start;
}

/* ---- Gallery ---- */
.vgal {
	background: #fff;
	border: 1px solid #e4e6eb;
	border-radius: 12px;
	overflow: hidden;
}
.vgal-stage {
	position: relative;
	background: #000;
	aspect-ratio: 4 / 3;
}
.vgal--empty {
	aspect-ratio: 4 / 3;
	background: #f0f2f5;
}
.vgal-slide {
	position: absolute;
	inset: 0;
	margin: 0;
	display: none;
}
.vgal-slide.is-active { display: block; }
.vgal-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }

.vgal-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	font-size: 28px; line-height: 1;
	color: #fff;
	background: rgba(0, 0, 0, 0.35);
	border: none; border-radius: 50%;
	cursor: pointer;
	transition: background 0.15s ease;
}
.vgal-nav:hover { background: rgba(0, 0, 0, 0.6); }
.vgal-prev { left: 12px; }
.vgal-next { right: 12px; }
.vgal-counter {
	position: absolute;
	bottom: 12px; right: 12px;
	padding: 4px 10px;
	font-size: 13px; font-weight: 600;
	color: #fff; background: rgba(0, 0, 0, 0.55);
	border-radius: 20px;
}

.vgal-thumbs {
	display: flex;
	gap: 8px;
	padding: 10px;
	overflow-x: auto;
}
.vgal-thumb {
	flex: 0 0 auto;
	width: 64px; height: 48px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	background: #f0f2f5;
	opacity: 0.7;
	transition: opacity 0.15s ease, border-color 0.15s ease;
}
.vgal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vgal-thumb.is-active { opacity: 1; border-color: #1877f2; }
.vgal-thumb:hover { opacity: 1; }

/* ---- WhatsApp contact button ---- */
.vsingle-wa {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 16px 0;
	padding: 15px 20px;
	font-size: 16px;
	font-weight: 700;
	color: #fff !important;
	text-decoration: none !important;
	background: #25d366;
	border: none;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
	transition: background 0.15s ease, transform 0.1s ease;
}
.vsingle-wa:hover { background: #1ebe5d; }
.vsingle-wa:active { transform: translateY(1px); }
.vsingle-wa-ico { flex: 0 0 auto; color: #fff; }
.vsingle-wa--block { width: 100%; margin: 4px 0 14px; }

/* ---- Over View ---- */
.vsingle-overview, .vsingle-desc {
	background: #fff;
	border: 1px solid #e4e6eb;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 16px;
}
.vsingle-h { margin: 0 0 16px; font-size: 20px; font-weight: 700; }

.voverview { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.voverview-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed #e4e6eb;
}
.voverview-row dt { margin: 0; font-weight: 700; color: #1c1e21; }
.voverview-row dd { margin: 0; color: #606770; text-align: right; }

.vsingle-content { font-size: 15px; line-height: 1.6; color: #1c1e21; }
.vsingle-content p { margin: 0 0 12px; }

/* ---- Sidebar ---- */
.vsingle-side { position: sticky; top: 16px; }
.vsingle-card {
	background: #fff;
	border: 1px solid #e4e6eb;
	border-radius: 12px;
	padding: 20px;
}
.vsingle-card-title { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.vsingle-card-price { font-size: 24px; font-weight: 800; color: #1877f2; margin-bottom: 16px; }
.vsingle-back {
	display: inline-block;
	font-size: 14px; font-weight: 600;
	color: #1877f2; text-decoration: none;
}
.vsingle-back:hover { text-decoration: underline; }

/* ---- Responsive ---- */
@media (max-width: 880px) {
	.vsingle-grid { grid-template-columns: 1fr; }
	.vsingle-side { position: static; order: -1; }
	.voverview { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 480px) {
	.vsingle-title { font-size: 20px; }
	.vsingle { padding: 0 16px 48px; }
}
