/* Produtos Profissionais section. The card itself lives in assets/css/product-card.css. */

.products {
	overflow: clip;
	background-color: var(--color-surface);
	/* The Figma frame gives this section only 24px on top: the hero curve already
	   provides the breathing room. */
	padding-block-start: var(--space-4);
	/* 140 under the carousel in 627:12636, 696:77814 and 752:40108, against the 120 of .section. */
	padding-block-end: var(--section-padding-start);
}

.products__header {
	margin-block-end: var(--space-gap-section);
}

.products .section-heading__description {
	max-width: 644px;
}

/*
 * The track carries the container gutter so the first card lines up with the container
 * and the last one is cut off, which is the affordance in the Figma frame.
 * scroll-padding is needed too, otherwise the snap ignores the padding.
 */
.products__track {
	padding-block-end: var(--space-1);
}

.products__item {
	width: 289px;
}

.products__ctas {
	display: flex;
	justify-content: center;
	margin-block-start: var(--space-gap-section);
}

@media (max-width: 767px) {
	.products__header {
		margin-block-end: var(--space-6);
	}

	.products__item {
		width: min(78vw, 289px);
	}

	.products__ctas {
		margin-block-start: var(--space-6);
	}
}
