.custom-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
}

.custom-arrow {
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: invert(0.5); /* Делаем стрелку серой */
}

.carousel-control-prev .custom-arrow {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-chevron-left" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/></svg>');
}

.carousel-control-next .custom-arrow {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-chevron-right" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/></svg>');
}

.custom-btn:hover {
    background-color: #f0f0f0;
}

.carousel-item,
.carousel-item > img,
.carousel-inner {
    max-height: 750px;
    height: 560px;
    width: 100%;
    object-fit: cover;
}

#mainsliderCarousel {
    position: relative;
}

.carousel-item.active > img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
object-position: top;
}

.carousel-item.active {
    display: flex!important;
    flex-direction: column;
    justify-content: center;
    padding-left: calc(230px + (100vw - 1500px) / 2);
    padding-right: calc(230px + (100vw - 1500px) / 2);
    gap: 15px;
}

.main-sl__top-text {
    color: #d4d4d4;
	font-size: 14px;
}

.main-sl__name-text {
    font-size: 80px;
    font-weight: 400;
    line-height: 88px;
    letter-spacing: -3px;
    color: white;
}

.main-sl__prew_text {
    color: white;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    width: 600px;
}

.main-sl__btn,
.main-sl__btn:hover {
    border: 1px solid white;
    display: inline-block;
    padding: 10px 20px;
    color: white;
	text-decoration: none;
}

.main-sl__btn {
    text-align: center;
    border: 1px solid white;
    padding: 10px 20px;
    color: white;
	font-size: 16px;
    width: max-content;
	margin-top: 20px;
}
.carousel-container {
	position: relative;
}
.carousel-control-container .carousel-control-next, 
.carousel-control-container .carousel-control-prev {
    position: relative!important;
}
.carousel-control-container {
	display: flex;
    position: absolute;
    bottom: 0;
    width: 270px;
    right: calc(230px + (100vw - 1500px) / 2);
    justify-content: flex-end;
}
.carousel-control-container button {
	background-color: #f0f0f0;
}
.img__mobile{display: none;}
@media screen and (max-width: 1500px) {
    .carousel-item.active {
        padding: 0 230px;
    }
	.carousel-control-container {
		right: 230px;
	}
}
@media screen and (max-width: 1200px) {
    .carousel-item.active {
        padding: 0 150px;
    }
	.carousel-control-container {
		right: 150px;
	}
}
@media screen and (max-width: 992px) {
    .carousel-item.active {
        padding: 0 100px;
    }
	.carousel-control-container {
		right: 100px;
	}
}
@media screen and (max-width: 768px) {
    .carousel-item.active {
        padding: 0 20px;
    }
	.carousel-control-container {
		right: 50%;
		transform: translateX(50%);
	}
	.carousel-control-container {
		justify-content: center;
	}
	.main-sl__name-text {
		font-size: 40px;
		font-weight: 400;
		line-height: normal;
		letter-spacing: normal;
		color: white;
		text-align: center;
	}
	.main-sl__top-text {
		display: none;
	}
	.main-sl__prew_text {
		text-align: center;
		width: auto;
	}
	.carousel-item.active {
		align-items: center;
	}
}
@media screen and (max-width: 520px) {
.img__desc{display: none;}
.img__mobile{display: block;}
	.main-sl__name-text {
		font-size: 30px;
		font-weight: 600;
	}
	.main-sl__btn {
		text-align: center;
		border: 1px solid white;
		padding: 10px 0;
		color: white;
		width: 100%;
		border-radius: 5px;
		text-transform: uppercase;
		text-decoration: none;
	}
	.carousel-item, .carousel-item > img, .carousel-inner {
		height: 500px;
	}
}
@media (min-width: 2000px) {
    .carousel-item, 
    .carousel-item > img, 
    .carousel-inner {
        max-height: 1030px;
        height: 750px;
        width: 100%;
        object-fit: cover;
    }
}