/* Vertex home: hero, category tiles, product cards, business ordering (shared parts live in ci.css) */

.vxh-hero {
	padding: 16px 16px 0;
}

.vxh-hero-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 24px;
	max-width: 1408px;
	margin-inline: auto;
	padding: 72px 64px 152px;
	border-radius: 28px;
	background:
		radial-gradient(70% 90% at 82% 40%, rgba(29, 129, 196, 0.32) 0%, rgba(21, 75, 127, 0.18) 45%, transparent 75%),
		var(--ink);
	color: #fff;
	overflow: hidden;
}

.vxh-hero-copy {
	position: relative;
	z-index: 2;
	display: grid;
	justify-items: start;
	gap: 24px;
	max-width: 660px;
}

.vxh-hero h1 {
	color: #fff;
	font-size: clamp(36px, 3.7vw, 56px);
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}

.vxh-lead {
	max-width: 34em;
	color: rgba(255, 255, 255, 0.78);
	font-size: 18px;
	line-height: 1.7;
}

.vxh-checks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	padding: 0;
	list-style: none;
	color: var(--aqua);
	font-size: 14.5px;
}

.vxh-checks li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.vxh-checks li::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.vxh-hero-art {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 640 / 620;
}

.vxh-mark {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.vxh-art-bag,
.vxh-art-pouch {
	position: absolute;
	filter: drop-shadow(0 28px 36px rgba(6, 12, 32, 0.45));
}

.vxh-art-bag {
	left: 60%;
	top: 1%;
	width: 28%;
}

.vxh-art-pouch {
	left: 21%;
	top: 15%;
	width: 40%;
	transform: rotate(-5deg);
}

.vxh-art-tag {
	position: absolute;
	right: 3%;
	top: 70%;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px 8px 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(196, 231, 235, 0.25);
	color: #fff;
	font-size: 13.5px;
	backdrop-filter: blur(6px);
}

.vxh-art-tag span {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--aqua);
	color: var(--ink);
	font-family: var(--num);
	font-weight: 700;
	font-size: 12.5px;
}

/* Category tiles overlap the hero */
.vxh-cats {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	max-width: 1280px;
	margin: -104px auto 0;
	padding-inline: 32px;
}

.vxh-cats .vxh-cat {
	box-shadow: 0 22px 44px -28px rgba(24, 38, 79, 0.45);
}

/* Product cards */
.vxh-products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.vxh-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.vxh-card:hover {
	transform: translateY(-4px);
	border-color: #C9D3E0;
	box-shadow: 0 28px 56px -34px rgba(24, 38, 79, 0.5);
}

.vxh-card-img {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--paper);
	overflow: hidden;
}

.vxh-card-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.vxh-plate {
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 6px;
	height: 100%;
	background:
		linear-gradient(160deg, transparent 62%, rgba(29, 129, 196, 0.55) 62%, rgba(29, 129, 196, 0.55) 70%, transparent 70%),
		var(--ink);
	color: #fff;
}

.vxh-plate-num {
	font-family: var(--num);
	font-size: clamp(56px, 7vw, 84px);
	font-weight: 700;
	line-height: 1;
}

.vxh-plate-unit {
	color: var(--aqua);
	font-size: 16px;
	font-weight: 600;
}

.vxh-card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	flex: 1;
	padding: 20px 22px 24px;
}

.vxh-card-cat {
	color: var(--signal);
	font-size: 13px;
	font-weight: 600;
}

.vxh-card h3 {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
}

.vxh-card h3 a:hover {
	color: var(--signal);
}

.vxh-card-price {
	min-height: 52px;
	margin-bottom: 8px;
}

.vxh-card-body .vxh-btn {
	margin-top: auto;
}

/* Display sale price */
.vxh .vx-sale {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
}

.vxh .vx-sale del {
	color: var(--mute);
	font-family: var(--num);
	font-size: 14px;
	text-decoration-thickness: 1px;
}

.vxh .vx-sale ins {
	color: var(--sale);
	font-family: var(--num);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1;
	text-decoration: none;
}

.vxh .vx-sale-badge {
	padding: 2px 9px;
	border-radius: 999px;
	background: #FBE7E7;
	color: var(--sale);
	font-family: var(--num);
	font-size: 12.5px;
	font-weight: 700;
}

.vxh .vx-sale-note {
	flex-basis: 100%;
	color: var(--mute);
	font-size: 13px;
}

/* Business ordering */
.vxh-b2b {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	padding: 56px;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: #fff;
}

.vxh-b2b-copy {
	display: grid;
	justify-items: start;
	gap: 18px;
}

.vxh-b2b-copy h2 {
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 700;
	line-height: 1.3;
}

.vxh-b2b-copy p:not(.vxh-pill) {
	max-width: 32em;
	font-size: 17px;
}

.vxh-b2b-copy .vxh-actions {
	margin-top: 6px;
}

.vxh-b2b-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 0;
	list-style: none;
}

.vxh-b2b-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 16px;
	background: var(--paper);
	color: var(--ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
}

.vxh-b2b-list li:last-child:nth-child(odd) {
	grid-column: span 2;
	background: var(--aqua);
}

.vxh-b2b-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 12px;
	background: #fff;
	color: var(--signal);
}

.vxh-b2b-icon svg {
	width: 24px;
	height: 24px;
}

@media (prefers-reduced-motion: no-preference) {
	.vxh-shard,
	.vxh-art-bag,
	.vxh-art-pouch,
	.vxh-art-tag {
		opacity: 0;
		animation: vxh-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
	}

	.vxh-art-pouch {
		animation-delay: 0.55s;
	}

	.vxh-art-bag {
		animation-delay: 0.7s;
	}

	.vxh-shard {
		animation-delay: 0.9s;
	}

	.vxh-art-tag {
		animation-delay: 1.1s;
	}
}

@media (max-width: 1180px) {
	.vxh-hero-panel {
		grid-template-columns: minmax(0, 1fr);
		padding: 56px 40px 152px;
	}

	.vxh-hero-art {
		max-width: 560px;
		margin: 0 auto;
	}

	.vxh-cats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vxh-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vxh-b2b {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
		padding: 40px;
	}
}

@media (max-width: 640px) {
	.vxh-hero {
		padding: 10px 10px 0;
	}

	.vxh-hero-panel {
		padding: 40px 22px 132px;
		border-radius: 22px;
	}

	.vxh-hero h1 {
		font-size: 32px;
	}

	.vxh-lead {
		font-size: 16.5px;
	}

	.vxh-checks {
		display: grid;
	}

	.vxh-art-tag {
		display: none;
	}

	.vxh-cats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
		margin-top: -96px;
		padding-inline: 20px;
	}

	.vxh-products {
		grid-template-columns: minmax(0, 1fr);
	}

	.vxh-b2b {
		padding: 28px 20px;
		gap: 28px;
		border-radius: 22px;
	}

	.vxh-b2b-list {
		gap: 10px;
	}

	.vxh-b2b-list li {
		gap: 10px;
		padding: 12px;
		font-size: 14.5px;
	}

	.vxh-b2b-icon {
		width: 36px;
		height: 36px;
		border-radius: 10px;
	}

	.vxh-b2b-icon svg {
		width: 20px;
		height: 20px;
	}
}
