.hafraco-content-wide:has(.hafraco-product-page) {
	margin-top: clamp(5vh, 7.5vh, 9vh);
}

.hafraco-product-page {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	font-style: normal;
	color: #fff;
}

.hafraco-entry-content .hafraco-product-page {
	font-style: normal;
}

.hafraco-product-layout {
	--hafraco-product-gap: clamp(18px, 2.4vw, 32px);
	--hafraco-product-line: 3px;
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) var(--hafraco-product-line) minmax(0, 1.08fr);
	column-gap: var(--hafraco-product-gap);
	row-gap: clamp(14px, 1.6vw, 20px);
	align-items: stretch;
}

.hafraco-product-layout--has-warnings {
	grid-template-rows: auto var(--hafraco-product-line) auto;
}

.hafraco-product-left {
	grid-column: 1;
	grid-row: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 1.8vw, 22px);
}

.hafraco-product-layout__divider {
	grid-column: 2;
	grid-row: 1 / -1;
	width: var(--hafraco-product-line);
	background: rgba(255, 255, 255, 0.9);
	border-radius: 2px;
	min-height: 100%;
}

.hafraco-product-details-main {
	grid-column: 3;
	grid-row: 1;
	display: flex;
	flex-direction: column;
	gap: clamp(14px, 1.6vw, 20px);
}

.hafraco-product-layout__hline {
	grid-column: 2 / 4;
	grid-row: 2;
	height: var(--hafraco-product-line);
	background: rgba(255, 255, 255, 0.9);
	border-radius: 2px;
	align-self: stretch;
}

.hafraco-product-details-warnings {
	grid-column: 3;
	grid-row: 3;
	padding-top: clamp(4px, 0.6vw, 8px);
}

.hafraco-product-media {
	display: grid;
	grid-template-columns: minmax(72px, 92px) minmax(0, 1fr);
	gap: clamp(10px, 1.2vw, 14px);
	align-items: start;
}

.hafraco-product-gallery {
	display: flex;
	flex-direction: column;
	gap: clamp(8px, 1vw, 10px);
}

.hafraco-product-gallery__item {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: none;
	border-radius: 12px;
	overflow: hidden;
	line-height: 0;
	background: transparent;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.hafraco-product-gallery__item:hover,
.hafraco-product-gallery__item:focus-visible {
	outline: none;
	opacity: 0.88;
	transform: scale(1.02);
}

.hafraco-product-gallery__item.is-active {
	opacity: 1;
}

.hafraco-product-gallery__item img {
	display: block;
	width: 100%;
	height: auto;
	border: none;
	border-radius: 12px;
}

.hafraco-product-main-image {
	border-radius: 16px;
	overflow: hidden;
	line-height: 0;
	background: transparent;
}

.hafraco-product-main-image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: opacity 0.2s ease;
}

.hafraco-product-main-image img.is-swapping {
	opacity: 0.35;
}

.hafraco-product-description__line,
.hafraco-entry-content .hafraco-product-description__line {
	margin: 0;
	font-size: clamp(12px, 0.88vw, 15px);
	line-height: 1.35;
	color: #fff;
	font-style: normal;
	white-space: pre-line;
}

.hafraco-product-intro h1,
.hafraco-entry-content .hafraco-product-intro h1 {
	margin: 0 0 clamp(8px, 1vw, 12px);
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1.12;
	font-weight: 700;
	font-style: italic;
	color: #fff;
}

.hafraco-product-tag {
	display: inline-block;
	margin: 0 0 clamp(10px, 1.2vw, 14px);
	padding: 8px 16px;
	border-radius: 16px;
	font-size: clamp(12px, 0.92vw, 14px);
	font-weight: 500;
	font-style: normal;
	line-height: 1.2;
	color: #1f2329;
	background: rgba(255, 255, 255, 0.48);
	border: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hafraco-entry-content a.hafraco-product-tag,
a.hafraco-product-tag {
	text-decoration: none;
	color: #1f2329;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

@media (hover: hover) {
	.hafraco-entry-content a.hafraco-product-tag:hover,
	.hafraco-entry-content a.hafraco-product-tag:focus-visible,
	a.hafraco-product-tag:hover,
	a.hafraco-product-tag:focus-visible {
		color: #151820;
		text-decoration: none;
		background: rgba(255, 255, 255, 0.62);
		border-color: rgba(255, 255, 255, 0.42);
		transform: translateY(-1px);
	}
}

.hafraco-product-specs {
	display: flex;
	flex-direction: column;
	gap: clamp(6px, 0.8vw, 9px);
}

.hafraco-product-specs__row {
	margin: 0;
	font-size: clamp(13px, 0.95vw, 16px);
	line-height: 1.35;
	font-style: normal;
	color: #fff;
}

.hafraco-product-specs__label {
	font-weight: 700;
}

.hafraco-product-specs__value {
	font-weight: 400;
}

.hafraco-product-warnings {
	padding-top: 0;
}

.hafraco-product-warnings__title {
	margin: 0 0 clamp(8px, 1vw, 10px);
	font-size: clamp(13px, 0.95vw, 16px);
	font-weight: 700;
	font-style: normal;
	color: #fff;
}

.hafraco-product-warnings__list {
	margin: 0;
	padding-left: 1.1em;
	display: flex;
	flex-direction: column;
	gap: clamp(4px, 0.5vw, 6px);
}

.hafraco-product-warnings__list li {
	font-size: clamp(12px, 0.9vw, 15px);
	line-height: 1.32;
	font-style: normal;
	color: #fff;
}

@media (max-width: 900px) {
	.hafraco-product-layout,
	.hafraco-product-layout--has-warnings {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.hafraco-product-left,
	.hafraco-product-details-main,
	.hafraco-product-details-warnings {
		grid-column: 1;
		grid-row: auto;
	}

	.hafraco-product-layout__divider,
	.hafraco-product-layout__hline {
		display: none;
	}

	.hafraco-product-warnings {
		padding-top: clamp(12px, 1.4vw, 16px);
		border-top: var(--hafraco-product-line) solid rgba(255, 255, 255, 0.88);
	}

	.hafraco-product-media {
		grid-template-columns: minmax(64px, 84px) minmax(0, 1fr);
	}
}

@media (max-width: 560px) {
	.hafraco-product-media {
		grid-template-columns: 1fr;
	}

	.hafraco-product-gallery {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.hafraco-product-gallery__item {
		width: 72px;
	}
}
