/* ==========================================================================
   Модуль «Баннеры» (расширенный): полноширинный слайдер главной страницы.
   Логика и вид скопированы с rost-farma.com: картинка растягивается по ширине,
   высота подстраивается по пропорции; белые круглые стрелки появляются при
   наведении, точки-индикаторы лежат снизу по центру.
   ========================================================================== */

.banner-module {
	position: relative;
	width: 100%;
}

.banner-module .owl-carousel .item a {
	display: block;
}

.banner-module .owl-carousel .item picture,
.banner-module .owl-carousel .item img {
	display: block;
	width: 100%;
	height: auto;
}

/* --- Растяжка на всю ширину страницы (full-bleed) --- */
.banner-fullwidth {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* --- Стрелки: белые кругляши по бокам, видны при наведении (как на rost-farma) --- */
.banner-module .owl-carousel .owl-controls .owl-buttons .owl-prev,
.banner-module .owl-carousel .owl-controls .owl-buttons .owl-next {
	background-color: #ffffff !important;
	border: 0 !important;
	border-radius: 50% !important;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
	color: #000 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	top: 50% !important;
	margin: -20px 0 0 !important;
	padding: 0 !important;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.banner-module .owl-carousel .owl-controls .owl-buttons .owl-prev {
	left: 15px !important;
}

.banner-module .owl-carousel .owl-controls .owl-buttons .owl-next {
	right: 15px !important;
}

.banner-module .owl-carousel:hover .owl-controls .owl-buttons .owl-prev,
.banner-module .owl-carousel:hover .owl-controls .owl-buttons .owl-next {
	opacity: 1;
}

.banner-module .owl-carousel .owl-controls .owl-buttons div i {
	color: #000;
	font-size: 20px !important;
	margin: 0 !important;
	line-height: 40px;
}

@media (max-width: 768px) {
	.banner-module .owl-carousel .owl-controls .owl-buttons .owl-prev,
	.banner-module .owl-carousel .owl-controls .owl-buttons .owl-next {
		width: 30px !important;
		height: 30px !important;
		margin: -15px 0 0 !important;
	}

	.banner-module .owl-carousel .owl-controls .owl-buttons .owl-prev {
		left: 10px !important;
	}

	.banner-module .owl-carousel .owl-controls .owl-buttons .owl-next {
		right: 10px !important;
	}

	.banner-module .owl-carousel .owl-controls .owl-buttons div i {
		font-size: 14px !important;
		line-height: 30px;
	}
}

@media (max-width: 468px) {
	.banner-module .owl-carousel .owl-controls .owl-buttons .owl-prev,
	.banner-module .owl-carousel .owl-controls .owl-buttons .owl-next {
		width: 24px !important;
		height: 24px !important;
		margin: -12px 0 0 !important;
	}

	.banner-module .owl-carousel .owl-controls .owl-buttons .owl-prev {
		left: 5px !important;
	}

	.banner-module .owl-carousel .owl-controls .owl-buttons .owl-next {
		right: 5px !important;
	}

	.banner-module .owl-carousel .owl-controls .owl-buttons div i {
		font-size: 12px !important;
		line-height: 24px;
	}
}

/* --- Точки-индикаторы снизу по центру --- */
.banner-module .owl-carousel .owl-controls .owl-pagination {
	position: absolute;
	bottom: 15px;
	top: auto !important;
	left: 0;
	width: 100%;
	text-align: center;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.banner-module .owl-carousel .owl-controls .owl-page {
	display: inline-block;
	margin: 0 5px;
	zoom: 1;
	*display: inline;
}

.banner-module .owl-carousel .owl-controls .owl-page span {
	display: block;
	width: 12px !important;
	height: 12px !important;
	background: transparent !important;
	border: 2px solid #ffffff !important;
	border-radius: 50% !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.banner-module .owl-carousel .owl-controls .owl-page.active span,
.banner-module .owl-carousel .owl-controls .owl-page:hover span {
	background-color: #ffffff !important;
}

@media (max-width: 468px) {
	.banner-module .owl-carousel .owl-controls .owl-pagination {
		bottom: 5px;
	}

	.banner-module .owl-carousel .owl-controls .owl-page span {
		width: 10px !important;
		height: 10px !important;
	}
}
