.ymx-carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.ymx-carousel-wrapper {
    position: relative;
    width: 100%;
    height: 360px;
}

.ymx-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.ymx-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.ymx-carousel-item.active {
    opacity: 1;
}

.ymx-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ymx-carousel-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.ymx-carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.ymx-carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ymx-carousel-indicators .indicator.active {
    background-color: #fff;
}

.ymx-carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.carousel-prev,
.carousel-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .ymx-carousel-wrapper {
        height: 200px;
    }

    .ymx-carousel-controls {
        padding: 0 10px;
    }

    .carousel-prev,
    .carousel-next {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .ymx-carousel-indicators {
        bottom: 10px;
    }

    .ymx-carousel-indicators .indicator {
        width: 8px;
        height: 8px;
    }
}
