/* promotions.css — страница с акциями */

.promo-page-hero {
	background: var(--bg-soft);
	border-bottom: 1px solid var(--line);
	padding: 1.5rem 0 1rem;
}

.promos {
	display: flex;
}

.promos .container {
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Ensure order modal centers properly on this page too */
.order-modal {
	align-items: center !important;
	justify-content: center !important;
}
.order-modal.open {
	display: flex !important;
}

.promo-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* image left, text right */
	gap: 1rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 0.75rem;
	padding: 1rem;
	box-shadow: 0 6px 18px rgba(17, 25, 40, 0.04);
	align-items: start;
}
.promo-item:nth-child(even) {
	grid-template-columns: 1fr 1fr;
}
.promo-item__media {
	width: 100%;
}
.promo-item__media img {
	width: 100%;
	height: auto; /* keep full image, no crop */
	display: block;
	border-radius: 0.5rem;
	object-fit: contain; /* safety for any constrained cases */
}
.promo-item__body h2 {
	margin: 0 0 0.5rem;
	font-weight: 800;
	color: var(--ink);
	font-size: clamp(1.125rem, 2.2vw, 1.5rem);
}
.promo-item__body p {
	margin: 0.25rem 0 0.5rem;
	color: var(--ink);
}

@media (max-width: 920px) {
	.promo-item,
	.promo-item:nth-child(even) {
		grid-template-columns: 1fr;
	}
	/* stack: image on top, text below */
	.promo-item__media {
		order: 0;
	}
	.promo-item__body {
		order: 1;
	}
	.promo-item__media img {
		width: 100%;
		height: auto;
	}
}
