/* Product page: hero card with gallery and key figures */
.product-hero {
	padding-bottom: 28px;
}

.product-hero-card {
	position: relative;
	height: 647px;
	overflow: hidden;
	border-radius: 20px;
	background: var(--color-white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.product-hero-main {
	display: flex;
	align-items: flex-start;
	gap: 56px;
	padding: 48px 48px 0;
}

.product-hero-info {
	flex: none;
	width: 520px;
}

.product-hero-title {
	margin-top: 14px;
	font: 600 42px/49px var(--font-title);
	color: var(--color-navy);
}

.product-hero-lead {
	margin-top: 16px;
	font: 400 15px/24px var(--font-text);
	color: var(--color-text);
}

.product-hero-features {
	display: grid;
	grid-template-columns: repeat(2, 248px);
	gap: 0 24px;
	margin-top: 32px;
}

.product-hero-feature {
	display: flex;
	gap: 8px;
	height: 71px;
	padding-top: 13px;
	border-top: 1px solid var(--color-border);
}

.product-hero-feature-num {
	flex: none;
	width: 24px;
	padding-top: 2px;
	font: 600 13px/16px var(--font-text);
	color: var(--color-accent);
}

.product-hero-feature-body {
	min-width: 0;
}

.product-hero-feature-title {
	font: 600 15px/18px var(--font-text);
	color: var(--color-navy);
}

.product-hero-feature-text {
	margin-top: 4px;
	font: 400 12.5px/15px var(--font-text);
	color: var(--color-text);
}

.product-hero-actions {
	display: flex;
	gap: 16px;
	margin-top: 12px;
}

.product-hero-button {
	gap: 7px;
	width: 210px;
	min-height: 46px;
	padding: 0;
	font-weight: 600;
}

.product-hero-gallery {
	flex: 1;
	min-width: 0;
}

.product-hero-image {
	height: 330px;
	overflow: hidden;
	border-radius: 20px;
	background: #e6ecf2;
}

.product-hero-thumbs {
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
}

.product-hero-thumb {
	flex: none;
	width: 91px;
	height: 72px;
}

.product-hero-thumb-button {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background: #e6ecf2;
	transition: border-color .2s;
}

.product-hero-thumb-button:hover {
	border-color: var(--color-accent);
}

.product-hero-thumb-button-active {
	border: 2px solid var(--color-accent);
}

.product-hero-stats {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: grid;
	grid-template-columns: 272px 296px 296px 1fr;
	height: 113px;
	padding: 40px 48px 0;
	border-top: 1px solid var(--color-border);
}

.product-hero-stat {
	position: relative;
}

.product-hero-stat-sep {
	padding-left: 24px;
}

.product-hero-stat-sep::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 40px;
	background: var(--color-border);
}

.product-hero-stat-value {
	font: 600 26px/30px var(--font-title);
	color: var(--color-white);
}

.product-hero-stat-label {
	margin-top: 8px;
	font: 400 13px/16px var(--font-text);
	color: var(--color-border);
}

@media (max-width: 1279px) {
	.product-hero-card {
		height: auto;
	}

	.product-hero-main {
		flex-direction: column;
		gap: 32px;
		padding: 40px 40px 40px;
	}

	.product-hero-info {
		width: 100%;
	}

	.product-hero-gallery {
		width: 100%;
	}

	.product-hero-stats {
		position: static;
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
		height: auto;
		padding: 32px 40px;
	}

	.product-hero-stat-sep {
		padding-left: 0;
	}

	.product-hero-stat-sep::before {
		display: none;
	}
}

@media (max-width: 767px) {
	.product-hero {
		padding-bottom: 16px;
	}

	.product-hero-main {
		padding: 24px 16px;
	}

	.product-hero-title {
		font-size: 32px;
		line-height: 38px;
	}

	.product-hero-features {
		grid-template-columns: 1fr;
	}

	.product-hero-feature {
		height: auto;
		padding-bottom: 14px;
	}

	.product-hero-actions {
		flex-direction: column;
	}

	.product-hero-button {
		width: 100%;
	}

	.product-hero-image {
		height: auto;
		aspect-ratio: 608 / 330;
	}

	.product-hero-thumbs {
		overflow-x: auto;
		gap: 8px;
	}

	.product-hero-stats {
		padding: 24px 16px;
		gap: 20px 12px;
	}

	.product-hero-stat-value {
		font-size: 22px;
		line-height: 26px;
	}
}
