.cn-product-details,
.cn-product-related,
.cn-product-category {
	padding: clamp(30px, 5vw, 80px) var(--cn-edge, clamp(20px, 5vw, 140px));
}

.cn-product-details {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 0;
	padding-block: 0 25px;
}
.cn-product-gallery {
	margin: 25px;
	overflow: hidden;
	border-radius: 20px;
	background: #f3f3f3;
}
.cn-product-details .woocommerce-product-gallery {
	float: none;
	width: 100%;
	margin: 0;
	padding: 15px 20px;
	box-sizing: border-box;
}
.cn-product-details .woocommerce-product-gallery img {
	display: block;
	width: 100%;
	height: auto;
}
.cn-product-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > :first-child ~ .woocommerce-product-gallery__image {
	display: inline-block;
	width: 100px;
	max-width: 100%;
	margin: 12px 8px 0 0;
	vertical-align: top;
}
.cn-product-gallery .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > :first-child ~ .woocommerce-product-gallery__image > a {
	display: block;
	border-radius: 6px;
	overflow: hidden;
}
.cn-product-gallery .woocommerce-product-gallery__wrapper {
	margin: 0;
}
.cn-product-gallery .woocommerce-product-gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 0;
	padding: 2px;
	list-style: none;
}
.cn-product-gallery .woocommerce-product-gallery .flex-control-thumbs li {
	float: none;
	width: clamp(52px, 12vw, 76px);
	margin: 0;
}
.cn-product-gallery .woocommerce-product-gallery .flex-control-thumbs img {
	box-sizing: border-box;
	aspect-ratio: 1;
	border: 2px solid transparent;
	border-radius: 7px;
	background: #fff;
	object-fit: cover;
	cursor: pointer;
	opacity: 1;
}
.cn-product-gallery .flex-control-thumbs img.flex-active {
	border-color: var(--cn-ink, #050603);
}
.cn-product-gallery .flex-control-thumbs img:focus-visible {
	outline: 2px solid var(--cn-ink, #050603);
	outline-offset: 1px;
}
.cn-product-description {
	padding: 30px 40px 20px;
	font: 400 20px / 1.167 Montserrat, Arial, sans-serif;
	overflow-wrap: anywhere;
}
.cn-product-description h1 {
	margin: 0;
	font: 700 clamp(28px, 3.2vw, 40px) / 1.1 Montserrat, Arial, sans-serif;
	letter-spacing: 1px;
}
.cn-product-description .product-category-name {
	margin: 0;
	font: 500 clamp(24px, 3.2vw, 40px) / 1.2 Montserrat, Arial, sans-serif;
}
.cn-product-description :is(h4, h5) { margin: 25px 0; text-transform: none; letter-spacing: normal; }
.cn-product-description h4 { font: 400 32px / 1.25 Montserrat, Arial, sans-serif; }
.cn-product-description h5 { font: 500 24px / 1.375 Montserrat, Arial, sans-serif; }
.cn-product-description p { margin: 10px 0; font: inherit; }
.cn-product-description p a { color: inherit; text-underline-offset: .15em; }
.cn-product-description .cn-button { margin-top: 1em; white-space: normal; }
.cn-product-description .cn-product-coach-button {
	display: flex;
	max-width: 100%;
	margin: 48px auto 0;
	color: var(--cn-lila, #9093ce);
	letter-spacing: .8px;
}
.cn-product-description .cn-product-coach-button:is(:hover, :focus-visible) { color: #fff; }
.cn-product-flavours {
	position: relative;
	padding-block-start: clamp(42px, 5vw, 72px);
}
.cn-product-flavours::before {
	position: absolute;
	inset: 0 5% auto;
	height: 6px;
	background: url("../../../uploads/2022/08/Sectie_dots_paars.svg") center / 100% auto no-repeat;
	content: "";
}
.wp-block-group.cn-product-category-banner {
	padding: 0;
	color: #050603;
}
.cn-product-category-banner .cn-product-category-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
}
.cn-product-category-banner .wp-block-column { min-width: 0; }
.cn-product-category-banner .wp-block-column:first-child {
	padding: 30px 30px 25px var(--cn-edge, clamp(20px, 5.4vw, 90px));
}
.cn-product-category-banner h2,
.cn-product-category-banner .product-category-name,
.cn-product-flavours h2,
.cn-product-related-final h2 {
	margin: 0;
	font-size: clamp(27px, 3vw, 40px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 1px;
	text-align: start;
	text-transform: uppercase;
}
.cn-product-category-banner .category-description {
	margin-block-start: 18px;
	color: white;
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 1px;
}
.cn-product-category-banner .category-description > :first-child { margin-block-start: 0; }
.cn-product-category-banner .category-description > :last-child { margin-block-end: 0; }
.cn-product-category-banner .wp-block-column:last-child { position: relative; min-height: 370px; }
.cn-product-category-banner .wp-block-image { position: absolute; inset: 0; margin: 0; }
.cn-product-category-banner .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.cn-product-category {
	padding-block: 55px 90px;
}
.cn-product-category,
.cn-product-related-final { padding-inline: clamp(15px, 6.14vw, 100px); }
.cn-product-category :is(.cn-product-summary-title, .cn-product-category-name) {
	margin: 0 0 25px;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
}
.cn-product-summary {
	font: 500 24px / 1.375 Montserrat, Arial, sans-serif;
}
.cn-product-summary > :first-child { margin-block-start: 0; }
.cn-product-summary > :last-child { margin-block-end: 0; }
.cn-product-related h2 { text-align: center; }
.cn-product-related-final { padding-block-start: 0; }
.cn-product-flavours h2,
.cn-product-related-final h2 { margin-block-end: 40px; text-align: start; }
.cn-product-related .custom-related-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(15px, 3vw, 40px);
}
.cn-product-related .custom-related-products img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 6 / 5;
	object-fit: contain;
	border-radius: 20px;
	background: #f3f3f3;
}
.cn-product-related .custom-product-item h6 { margin: .7em 0 0; font-size: 1rem; }

@media (max-width: 1024px) {
	.cn-product-details { padding-inline: 10px; }
	.cn-product-gallery { margin: 10px; }
	.cn-product-description { padding-inline: 30px; }
	.cn-product-related .custom-related-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.cn-product-details { grid-template-columns: minmax(0, 1fr); }
	.cn-product-gallery { margin: 20px 10px 0; }
	.cn-product-details .woocommerce-product-gallery img { max-width: 480px; margin-inline: auto; }
	.cn-product-description { padding: 20px; font-size: 18px; }
	.cn-product-description .cn-product-coach-button { margin: 28px 0 0; }
	.cn-product-related .custom-related-products { grid-template-columns: minmax(0, 1fr); }
	.cn-product-category { padding-block-end: 75px; }
	.cn-product-category,
	.cn-product-related-final { padding-inline: 15px; }
	.cn-product-related-final h2 { font-size: clamp(25px, 9vw, 35px); }
}

@media (max-width: 781px) {
	.cn-product-category-banner .cn-product-category-columns { grid-template-columns: minmax(0, 1fr); }
	.cn-product-category-banner .wp-block-column:first-child { padding: 20px 15px 16px; }
	.cn-product-category-banner h2,
	.cn-product-category-banner .product-category-name { font-size: clamp(25px, 9vw, 35px); }
	.cn-product-category-banner .category-description { font-size: clamp(17px, 5.15vw, 20px); }
	.cn-product-category-banner .wp-block-column:last-child { min-height: min(100vw, 480px); }
}
