/* Страница «Спецпредложения» (offers.php): все акции сеткой + «Показать ещё» */

.bv-offers h1 { margin: 0 0 clamp(2rem, 4vw, 3.5rem); }

.bv-offers_grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2.5rem, 4vw, 4rem) var(--_gap---size, 1.5rem);
}
.bv-offers_grid .card_primary_top h2 { margin: 0; }
.bv-offers_grid .card_primary_image { display: block; width: 100%; height: 100%; object-fit: cover; }

.bv-offers_more { display: flex; justify-content: center; margin-top: clamp(2.5rem, 4vw, 4rem); }
.bv-offers_more[aria-busy="true"] { opacity: .5; pointer-events: none; }
.bv-offers_empty { margin: 0; opacity: .7; }

@media (max-width: 991px) {
	.bv-offers_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.bv-offers_grid { grid-template-columns: 1fr; }
	.bv-offers_more .button_main_wrap { width: 100%; }
}

/* Главная, «Спецпредложения Свайпер»: на мобилке кнопка «Все спецпредложения» слева, стрелки справа */
@media (max-width: 767px) {
	.u-button-wrapper.bv-offers-head-buttons { width: 100%; flex-wrap: nowrap; justify-content: flex-end !important; align-items: center !important; }
	.bv-offers-head-buttons > :first-child > .button_main_wrap { flex: 0 1 auto; min-width: 0; margin-right: auto; }
	.bv-offers-head-buttons .button_main_text { white-space: normal; }
}
