/* Стили для блока "С этим товаром покупают" (Frequently Bought Together) */

.regagro-shop-fbt-section {
	position: relative;
	width: 100%;
	padding: 90px 0 120px 0;
	overflow: visible;
}

/* Фоновый градиент ("полка") - исправлен согласно Screen 1 */
.regagro-shop-fbt-section::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 563px; /* Точная высота из макета Figma */
	/* Градиент идет сверху вниз: от глубокого зеленого к прозрачному */
	background: linear-gradient(180deg,
		rgba(21, 96, 67, 0.5) 0%,
		rgba(25, 26, 28, 0) 100%
	);
	z-index: 0;
	pointer-events: none;
}

/* Верхняя градиентная линия */
.regagro-shop-fbt-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: linear-gradient(90deg, #126d4f 0%, #a7b11d 66%, #23d399 100%);
	z-index: 1;
}

.regagro-shop-fbt-section .site-inner {
	position: relative;
	z-index: 2;
}

.regagro-shop-fbt-title {
	font-family: 'Montserrat', sans-serif;
	font-size: 40px;
	font-weight: 400;
	line-height: 1.2;
	color: #ffffff;
	margin: 0 0 40px 0;
	letter-spacing: -0.02em;
}

.regagro-shop-fbt-products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	align-items: stretch;
}

@media (max-width: 1024px) {
	.regagro-shop-fbt-products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.regagro-shop-fbt-products {
		grid-template-columns: 1fr;
	}

	.regagro-shop-fbt-title {
		font-size: 28px;
	}

	.regagro-shop-fbt-section {
		padding: 40px 0 60px 0;
	}

	.regagro-shop-fbt-section::after {
		height: 400px;
	}
}

/* Переопределение стилей для карточек внутри этого блока */
.regagro-shop-fbt-section .figma-product-card {
	margin-bottom: 0 !important;
}
