.cedyt-product-sections {
	--cedyt-section-gap-x: clamp(32px, 6vw, 72px);
	--cedyt-section-gap-y: clamp(36px, 5vw, 64px);
	display: flex;
	flex-direction: column;
	gap: var(--cedyt-section-gap-y);
	width: 100%;
}

.cedyt-product-section {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--cedyt-section-gap-x);
}

.cedyt-product-section__text,
.cedyt-product-section__media {
	min-width: 0;
}

.cedyt-product-section--text-only .cedyt-product-section__text {
	grid-column: 1 / -1;
}

.cedyt-product-section__title {
	margin: 0 0 8px;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 700;
	line-height: 1.15;
}

.cedyt-product-section__description,
.cedyt-product-section__description p {
	font-size: inherit;
	line-height: 1.45;
}

.cedyt-product-section__description p {
	margin: 0 0 1em;
}

.cedyt-product-section__description p:last-child {
	margin-bottom: 0;
}

.cedyt-product-section__media {
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
}

.cedyt-product-section__media img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.cedyt-product-sections--first-image-right .cedyt-product-section:nth-child(odd) .cedyt-product-section__text,
.cedyt-product-sections--first-image-left .cedyt-product-section:nth-child(even) .cedyt-product-section__text {
	order: 1;
}

.cedyt-product-sections--first-image-right .cedyt-product-section:nth-child(odd) .cedyt-product-section__media,
.cedyt-product-sections--first-image-left .cedyt-product-section:nth-child(even) .cedyt-product-section__media {
	order: 2;
}

.cedyt-product-sections--first-image-right .cedyt-product-section:nth-child(even) .cedyt-product-section__media,
.cedyt-product-sections--first-image-left .cedyt-product-section:nth-child(odd) .cedyt-product-section__media {
	order: 1;
}

.cedyt-product-sections--first-image-right .cedyt-product-section:nth-child(even) .cedyt-product-section__text,
.cedyt-product-sections--first-image-left .cedyt-product-section:nth-child(odd) .cedyt-product-section__text {
	order: 2;
}

@media (max-width: 767px) {
	.cedyt-product-section {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.cedyt-product-section .cedyt-product-section__text {
		order: 1 !important;
	}

	.cedyt-product-section .cedyt-product-section__media {
		order: 2 !important;
	}
}
