/* Featured: 7800:2925 / 7789:292. Bundles: 7800:3017 / 7789:437.
 * Both sections reuse the same layout; shared cards retain their own design. */
.products-section,
.home-bundles-section {
	padding: 72px 0;
	background: var(--furpsy-color-opacity-white-100);
}

.products-section > .container,
.home-bundles-section > .container {
	max-width: 1340px; /* 1240px content plus the existing 50px container padding. */
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	row-gap: 48px;
}

.products-section-title,
.home-bundles-section-title { margin: 0; color: var(--furpsy-color-grey-100); }
.products-section-all,
.home-bundles-section-all { justify-self: end; }
.products-section-cards,
.home-bundles-section-cards { grid-column: 1 / -1; }

/* Homepage keeps two flexible columns through 767px, independently of the
 * shared catalog's 301px minimum. Higher specificity survives card CSS loading later. */
@media (max-width: 767px) {
	ul.furpsy-product-grid.products-section-cards,
	ul.furpsy-product-grid.home-bundles-section-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 499px) {
	.products-section,
	.home-bundles-section { padding: 48px 0; }
	.products-section > .container,
	.home-bundles-section > .container {
		padding: 0;
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}
	.products-section-title,
	.home-bundles-section-title {
		min-height: 40px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding-left: 10px;
	}
	.products-section-all,
	.home-bundles-section-all {
		grid-row: 3;
		justify-self: center;
		transform: translateX(5px); /* Figma CTA wrapper has 10px left padding. */
	}
	ul.furpsy-product-grid.products-section-cards,
	ul.furpsy-product-grid.home-bundles-section-cards { row-gap: 4px; }
}
