.custom-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}

.custom-carousel {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 1px;
}

.carousel-slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
    font-size: 0;
    text-decoration: none;
    z-index: 1;
}

.carousel-slide.active-slide {
    display: block;
    position: relative;
    z-index: 2;
}

.carousel-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0;
}

.carousel-image.has-shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

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

.carousel-dots {
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    width: 100%;
    line-height: 1;
    font-size: 0;
    z-index: 11;
}

.carousel-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dots .dot.active {
    background: rgba(255, 255, 255, 0.95);
}

@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        font-size: 20px;
        padding: 6px;
    }

    .carousel-dots .dot {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
}