/* Owl Carousel Widget Styles */
.owl-carousel.owl-carousel-slider {
    display: block !important;
    width: 100%;
    position: relative;
    visibility: visible !important;
}

/* Ensure only one item is visible at a time */
.owl-carousel.owl-carousel-slider.owl-loaded {
    display: block;
}

/* Hide carousel until initialized to prevent all items showing */
.owl-carousel.owl-carousel-slider:not(.owl-loaded) {
    opacity: 0;
}

.owl-carousel.owl-carousel-slider.owl-loaded {
    opacity: 1;
    transition: opacity 0.3s;
}

/* Don't force display on items - let Owl Carousel handle it */
.owl-carousel.owl-carousel-slider .item {
    width: 100%;
    min-height: 100px;
}

/* Before Owl Carousel initializes, hide all items except first */
.owl-carousel.owl-carousel-slider:not(.owl-loaded) .item:not(:first-child) {
    display: none;
}

/* Ensure stage wrapper exists and works properly */
.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Ensure content inside items is visible */
.owl-carousel .owl-item .item {
    display: block;
    width: 100%;
}

/* Navigation and dots */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.owl-carousel .owl-nav button.owl-prev {
    left: 10px;
}

.owl-carousel .owl-nav button.owl-next {
    right: 10px;
}

.owl-carousel .owl-dots {
    text-align: center;
    padding: 10px 0;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #D6D6D6;
    display: block;
    border-radius: 30px;
}

.owl-carousel .owl-dots .owl-dot.active span {
    background: #869791;
}
