.owl_couresel_container{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 200px);
    align-items: flex-start;
    gap: 20px;
}
.content-carousel {
    width: 600px;
    display: block;
    margin: 0 auto;
}
.owl-carousel1, .owl-carousel2, .owl-carousel3{
    width: 100%;
}
.owl-carousel div {
    width: 100%;
}
.owl-carousel .owl-controls .owl-dot {
    background-size: cover;
    margin-top: 10px;
}
.owl-dots {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 0;
    margin: 0;
}
.owl-dots li{
    list-style-type: none;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #0fa6ab;
    text-align: center;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.owl-dots li:hover{
    border-color: #0fa6ab;
    box-shadow: 0 0 0 3px rgba(15, 166, 171, 0.2);
}
.owl-dots li:focus{
    outline: none;
}
.owl-dots li:focus-visible{
    border-color: #005f63;
    box-shadow: 0 0 0 3px rgba(15, 166, 171, 0.35);
}
.owl-carousel .owl-dot {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}
.owl-dot{
    cursor: pointer;
}
.guide_seporate{
    display: flex;
    column-gap: 30px;
    width: 100%;
    justify-content: center;
    margin: 50px 0;
}
.guide_seporate img{
    width: 40px;
}
@media (max-width: 1024px) {
    .owl_couresel_container{
        grid-template-columns: 1fr;
    }
    .desktop-dots {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .owl_couresel_container{
        display: flex;
        flex-direction: column;
    }
    .owl_couresel_container img {
        width: 100%;
		max-height: 70vh; /* ограничение по высоте */
		object-fit: contain; /* сохраняет пропорции */
	}
    .owl-carousel1, .owl-carousel2, .owl-carousel3 {
        width: 100%;
    }
    .owl-dots{
        width: 100%;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        column-gap: 10px;
        row-gap: 10px;
        justify-content: space-evenly;
        margin-top: 10px;
    }
}

.mobile-select-container, .mobile-select-container1, .mobile-select-container2{
    position: relative;
    display: none;
    margin-top: 15px;
}

.mobile-carousel-select {
    width: 100%;
    padding: 5px 45px 5px 15px;
    background: white;
    border: 2px solid #0fa6ab;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #495057;
    appearance: none;
    cursor: pointer;
    /* box-shadow: 0 1px 5px #0fa6ab; */
}

.custom-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #0fa6ab;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.mobile-carousel-select:focus + .custom-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-carousel-select:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 0 3px #0fa6ab;
}

/* Адаптивность */
@media (max-width: 768px) {
    .desktop-dots {
        display: none;
    }
    
    .mobile-select-container, .mobile-select-container1, .mobile-select-container2 {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-select-container, .mobile-select-container1, .mobile-select-container2 {
        display: none;
    }
    
    .desktop-dots {
        display: flex;
        width: 100%;
    }
}


.owl_couresel_container .owl-item {
    position: relative;
    min-height: 200px; /* Минимальная высота слайда */
}

.owl_couresel_container .owl-item img {
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    height: auto;
}

.owl_couresel_container .owl-item img.loaded {
    opacity: 1;
}

.preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

.preloader.error {
    animation: none;
    border: none;
    width: auto;
    height: auto;
    color: #666;
    font-size: 14px;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Скрываем прелоадер когда изображение загружено */
.owl_couresel_container .owl-item img.loaded ~ .preloader {
    display: none;
}