/*
 * Vatstek Home — ground-up rebuild, scoped under .vh-home.
 * Does not touch existing theme/plugin CSS, the SuperSquare Commerce
 * hero slider, or global header/footer styles.
 */

.vh-home {
	--vh-ink: #0f1524;
	--vh-ink-soft: #5b6474;
	--vh-ink-faint: #8991a1;
	--vh-accent: #1b5fff;
	--vh-accent-dark: #0f1b3d;
	--vh-sale: #e0433d;
	--vh-star: #f5a623;
	--vh-surface: #ffffff;
	--vh-surface-alt: #f5f7fb;
	--vh-border: rgba(15, 21, 36, 0.09);
	--vh-radius: 16px;
	--vh-radius-sm: 10px;
	--vh-shadow: 0 1px 2px rgba(15, 21, 36, 0.04), 0 8px 20px rgba(15, 21, 36, 0.06);
	--vh-shadow-hover: 0 14px 34px rgba(15, 21, 36, 0.14);
	display: block;
	color: var(--vh-ink);
	overflow-x: hidden;
}

.vh-home * {
	box-sizing: border-box;
}

.vh-home img {
	max-width: 100%;
	height: auto;
	display: block;
}

.vh-home .ssq-container {
	width: 100%;
}

.vh-hero {
	width: 100%;
}

/* ---------- shared rhythm ---------- */
.vh-section {
	padding: 48px 0;
}

.vh-section + .vh-section,
.vh-spotlight + .vh-section,
.vh-section + .vh-spotlight {
	border-top: 1px solid var(--vh-border);
}

.vh-kicker {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--vh-accent);
	margin-bottom: 6px;
}

.vh-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 26px;
}

.vh-head h2 {
	margin: 0;
	font-size: clamp(21px, 2.6vw, 30px);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
	color: var(--vh-ink);
}

.vh-head-center {
	flex-direction: column;
	text-align: center;
	align-items: center;
}

.vh-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--vh-accent);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 1px solid transparent;
}

.vh-link:hover {
	border-bottom-color: currentColor;
}

/* ---------- buttons ---------- */
.vh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.1;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.vh-btn-solid {
	background: var(--vh-ink);
	color: #fff;
}

.vh-btn-solid:hover {
	transform: translateY(-1px);
}

.vh-btn-outline {
	background: transparent;
	color: var(--vh-ink);
	border-color: var(--vh-border);
}

.vh-btn-outline:hover {
	border-color: var(--vh-ink);
}

.vh-btn-light {
	background: #fff;
	color: var(--vh-ink);
}

.vh-btn-light:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.vh-btn-lg {
	padding: 14px 30px;
	font-size: 15px;
}

/* ---------- trust strip ---------- */
.vh-trust {
	background: var(--vh-ink);
	padding: 14px 0;
}

.vh-trust-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 30px;
}

.vh-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
}

.vh-trust-item svg {
	color: #7ea2ff;
	flex-shrink: 0;
}

/* ---------- live stats band ---------- */
.vh-stats {
	background: var(--vh-surface-alt);
	border-bottom: 1px solid var(--vh-border);
}

.vh-stats-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px 44px;
	padding: 20px 0;
}

.vh-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.vh-stat strong {
	font-size: 22px;
	font-weight: 800;
	color: var(--vh-accent);
	line-height: 1.15;
}

.vh-stat span {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--vh-ink-faint);
}

/* ---------- two discovery cards ---------- */
.vh-discovery-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.vh-discovery-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--vh-radius);
	overflow: hidden;
	background: var(--vh-surface);
	border: 1px solid var(--vh-border);
	text-decoration: none;
	color: var(--vh-ink);
	box-shadow: var(--vh-shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vh-discovery-card:hover {
	box-shadow: var(--vh-shadow-hover);
	transform: translateY(-2px);
}

.vh-discovery-media {
	aspect-ratio: 16 / 9;
	background: var(--vh-surface-alt);
	overflow: hidden;
}

.vh-discovery-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vh-discovery-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 18px 20px 20px;
}

.vh-discovery-copy h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
}

.vh-discovery-cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--vh-accent);
}

/* ---------- category bento ---------- */
.vh-bento {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.vh-bento-item {
	position: relative;
	display: block;
	border-radius: var(--vh-radius);
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: var(--vh-surface-alt);
	text-decoration: none;
	box-shadow: var(--vh-shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vh-bento-item:hover {
	box-shadow: var(--vh-shadow-hover);
	transform: translateY(-2px);
}

.vh-bento-hero {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 9;
}

.vh-bento-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vh-bento-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 2px;
	padding: 16px;
	background: linear-gradient(0deg, rgba(10, 14, 26, 0.78) 0%, rgba(10, 14, 26, 0.15) 60%, rgba(10, 14, 26, 0) 100%);
	color: #fff;
}

.vh-bento-name {
	font-size: 15px;
	font-weight: 800;
}

.vh-bento-hero .vh-bento-name {
	font-size: 22px;
}

.vh-bento-count {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.78);
}

/* ---------- product grid + card ---------- */
.vh-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.vh-grid-compact {
	margin-top: 24px;
}

.vh-product {
	display: flex;
	flex-direction: column;
	background: var(--vh-surface);
	border-radius: var(--vh-radius);
	overflow: hidden;
	box-shadow: var(--vh-shadow);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vh-product:hover {
	box-shadow: var(--vh-shadow-hover);
	transform: translateY(-2px);
}

.vh-product-media {
	position: relative;
	aspect-ratio: 1 / 1;
	background: var(--vh-surface-alt);
}

.vh-product-link {
	display: block;
	width: 100%;
	height: 100%;
}

.vh-product-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
}

.vh-product-img-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 40px;
	font-weight: 800;
	color: var(--vh-ink-faint);
}

.vh-rank {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 24px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--vh-ink);
	color: #fff;
	font-size: 11.5px;
	font-weight: 800;
}

.vh-tag {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.vh-rank + .vh-tag {
	left: 46px;
}

.vh-tag-sale {
	background: var(--vh-sale);
	color: #fff;
}

.vh-tag-out {
	background: rgba(15, 21, 36, 0.85);
	color: #fff;
}

.vh-wish-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	border: none;
	color: var(--vh-ink);
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
}

.vh-wish-btn:hover {
	transform: scale(1.06);
}

.vh-wish-btn.is-active {
	color: var(--vh-sale);
}

.vh-product-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 13px 14px 15px;
}

.vh-product-title {
	margin: 0;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
}

.vh-product-title a {
	color: var(--vh-ink);
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vh-product-rating {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: var(--vh-star);
}

.vh-star {
	color: var(--vh-border);
}

.vh-star.is-on {
	color: var(--vh-star);
}

.vh-rating-count {
	color: var(--vh-ink-faint);
	font-size: 11px;
}

.vh-product-price {
	font-size: 15px;
	font-weight: 800;
	color: var(--vh-ink);
}

.vh-product-price del {
	font-size: 12px;
	font-weight: 500;
	color: var(--vh-ink-faint);
	margin-right: 4px;
}

.vh-product-price ins {
	text-decoration: none;
}

.vh-product-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}

.vh-product-actions .vh-btn {
	flex: 1 1 auto;
	padding: 9px 10px;
	font-size: 12px;
	white-space: nowrap;
}

/* ---------- deals ---------- */
.vh-deals {
	background: linear-gradient(180deg, rgba(224, 67, 61, 0.06), transparent 55%);
}

/* ---------- spotlight ---------- */
.vh-spotlight {
	background: var(--vh-accent-dark);
	color: #fff;
	padding: 48px 0 0;
}

.vh-spotlight-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: center;
	padding-bottom: 36px;
}

.vh-spotlight-media {
	border-radius: var(--vh-radius);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: rgba(255, 255, 255, 0.06);
}

.vh-spotlight-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vh-spotlight-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.vh-spotlight-copy .vh-kicker {
	color: #9db8ff;
}

.vh-spotlight-copy h2 {
	margin: 0;
	font-size: clamp(24px, 4vw, 36px);
	font-weight: 800;
	line-height: 1.15;
}

.vh-spotlight-copy p {
	margin: 0;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.78);
}

.vh-spotlight .vh-grid-compact .vh-product {
	background: #fff;
}

/* ---------- brand wall ---------- */
.vh-brand-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.vh-brand-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 22px 12px;
	text-align: center;
	border-radius: var(--vh-radius-sm);
	border: 1px solid var(--vh-border);
	background: var(--vh-surface);
	text-decoration: none;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.vh-brand-tile:hover {
	box-shadow: var(--vh-shadow);
	transform: translateY(-2px);
}

.vh-brand-logo {
	max-height: 34px;
	width: auto;
	object-fit: contain;
}

.vh-brand-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--vh-ink);
}

.vh-brand-count {
	font-size: 11px;
	color: var(--vh-ink-faint);
}

/* ---------- customer voices ---------- */
.vh-voices-columns {
	columns: 1;
	column-gap: 20px;
}

.vh-voice {
	break-inside: avoid;
	margin: 0 0 20px;
	padding: 0;
}

.vh-voice-mark {
	font-size: 40px;
	line-height: 1;
	color: var(--vh-border);
	font-family: Georgia, serif;
	display: block;
	margin-bottom: -6px;
}

.vh-voice-rating {
	display: flex;
	gap: 2px;
	font-size: 13px;
	margin-bottom: 6px;
}

.vh-voice blockquote {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--vh-ink);
}

.vh-voice figcaption {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 12.5px;
}

.vh-voice figcaption strong {
	color: var(--vh-ink);
}

.vh-voice figcaption a {
	color: var(--vh-accent);
	text-decoration: none;
}

/* ---------- why vatstek ---------- */
.vh-why {
	background: var(--vh-surface-alt);
}

.vh-why-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.vh-why-step {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.vh-why-num {
	font-size: 13px;
	font-weight: 800;
	color: var(--vh-accent);
}

.vh-why-step h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--vh-ink);
}

.vh-why-step p {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--vh-ink-soft);
}

/* ---------- final CTA ---------- */
.vh-cta-band {
	background: linear-gradient(135deg, #0f1b3d 0%, #1b3a8f 55%, #1b5fff 100%);
	color: #fff;
	padding: 56px 0;
	text-align: center;
}

.vh-cta-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.vh-cta-inner h2 {
	margin: 0;
	font-size: clamp(24px, 4vw, 34px);
	font-weight: 800;
}

.vh-cta-inner p {
	margin: 0;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.8);
	max-width: 46ch;
}

/* ---------- store intro ---------- */
.vh-intro-title {
	margin: 0 0 12px;
	font-size: clamp(18px, 2.4vw, 24px);
	font-weight: 800;
	color: var(--vh-ink);
}

.vh-intro-content {
	font-size: 14px;
	line-height: 1.7;
	color: var(--vh-ink-soft);
	max-width: 76ch;
}

/* =========================================================================
 * RESPONSIVE
 * ========================================================================= */
@media (min-width: 768px) {
	.vh-section {
		padding: 60px 0;
	}

	.vh-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}

	.vh-bento {
		grid-template-columns: repeat(3, 1fr);
	}

	.vh-bento-hero {
		grid-column: span 2;
		grid-row: span 2;
		aspect-ratio: auto;
	}

	.vh-spotlight-inner {
		grid-template-columns: 1fr 1fr;
	}

	.vh-discovery-grid {
		grid-template-columns: 1fr 1fr;
	}

	.vh-discovery-card {
		flex-direction: row;
	}

	.vh-discovery-media {
		width: 46%;
		aspect-ratio: auto;
	}

	.vh-discovery-copy {
		flex: 1;
		justify-content: center;
	}

	.vh-brand-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.vh-why-row {
		grid-template-columns: repeat(4, 1fr);
	}

	.vh-why-step + .vh-why-step {
		border-left: 1px solid var(--vh-border);
		padding-left: 22px;
	}

	.vh-voices-columns {
		columns: 2;
	}
}

@media (min-width: 992px) {
	.vh-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 22px;
	}

	.vh-bento {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1200px) {
	.vh-grid {
		grid-template-columns: repeat(5, 1fr);
	}

	.vh-voices-columns {
		columns: 3;
	}
}

@media (max-width: 600px) {
	.vh-section {
		padding: 34px 0;
	}

	.vh-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}

	.vh-head-center {
		align-items: center;
	}
}

@media (max-width: 480px) {
	.vh-grid,
	.vh-bento,
	.vh-brand-grid,
	.vh-why-row {
		gap: 10px;
	}

	.vh-product-actions .vh-btn {
		font-size: 11.5px;
		padding: 8px;
	}

	.vh-cta-band {
		padding: 40px 0;
	}
}

@media (max-width: 360px) {
	.vh-grid,
	.vh-bento,
	.vh-brand-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.vh-why-row {
		grid-template-columns: 1fr;
	}

	.vh-product-body {
		padding: 10px 11px 12px;
	}
}
