/* Hero slider: Elementor container + Swiper fade */

.my-slider {
	position: relative;
	overflow: hidden !important;
	width: 100%;
}

.my-slider > #swiper-wrapper.swiper-wrapper {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
	gap: 0 !important;
	--flex-direction: row !important;
	--width: 100% !important;
}

.my-slider > #swiper-wrapper > .swiper-slide {
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 100% !important;
	box-sizing: border-box;
}

/* До инициализации показываем только первый слайд */
.my-slider:not(.granxok-hero-ready):not(.swiper-initialized) > #swiper-wrapper > .swiper-slide:not(:first-child) {
	display: none !important;
}

.my-slider .hero-swiper-prev,
.my-slider .hero-swiper-next {
	position: absolute;
	top: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 60;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #257785;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transform: translateY(-50%);
}

.my-slider .hero-swiper-prev {
	left: 20px;
}

.my-slider .hero-swiper-next {
	right: 20px;
}

.my-slider .hero-swiper-prev svg,
.my-slider .hero-swiper-next svg {
	display: block;
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
}

.my-slider .hero-swiper-prev svg {
	transform: translateX(-1px);
}

.my-slider .hero-swiper-next svg {
	transform: translateX(1px);
}

.my-slider .swiper-pagination,
.my-slider .hero-swiper-pagination,
.my-slider .swiper-pagination-bullets {
	display: none !important;
}

.my-slider:not(.swiper-initialized):not(.granxok-hero-ready) > #swiper-wrapper > .swiper-slide:first-child,
.my-slider .swiper-slide-active {
	pointer-events: auto !important;
}

.my-slider .swiper-slide-active .elementor-button,
.my-slider .swiper-slide-active a[href*="elementor-action"],
.my-slider #request-button,
.my-slider [id=" request-button"] {
	position: relative;
	z-index: 10;
	pointer-events: auto !important;
}
