/* ============================================
   OWL CAROUSEL — Base + Custom Theme
   ============================================ */

/* — Core Owl (minimal) — */
.owl-carousel {
    display: none;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
}

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

.owl-carousel .owl-stage::after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0, 0, 0);
}

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

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
}

.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
    display: none;
}

.owl-carousel.owl-loaded {
    display: block;
}

.owl-carousel.owl-loading {
    opacity: 0;
    display: block;
}

.owl-carousel.owl-hidden {
    opacity: 0;
}

.owl-carousel.owl-refresh .owl-item {
    visibility: hidden;
}

.owl-carousel.owl-drag .owl-item {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.owl-carousel.owl-grab {
    cursor: move;
    cursor: grab;
}

/* — Dots — */
.owl-dots {
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    margin-top: var(--space-xl);
}

.owl-dots .owl-dot {
    display: inline-block;
    zoom: 1;
    cursor: pointer;
}

.owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 6px;
    background: var(--gray-500);
    display: block;
    -webkit-backface-visibility: visible;
    transition: all 0.3s var(--ease-out);
    border-radius: var(--radius-pill);
}

.owl-dots .owl-dot.active span,
.owl-dots .owl-dot:hover span {
    background: var(--gold);
    width: 28px;
}

/* — Nav Arrows — */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 var(--space-md);
}

.owl-nav button {
    pointer-events: all;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(199, 165, 74, 0.3) !important;
    background: rgba(10, 10, 10, 0.7) !important;
    color: var(--gold) !important;
    font-size: 1.25rem !important;
    transition: all 0.3s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl-nav button:hover {
    background: var(--gold) !important;
    color: var(--black) !important;
    border-color: var(--gold) !important;
}

/* — Fade Transition — */
.owl-carousel .owl-item.fadeOut {
    animation: owlFadeOut 0.5s both ease;
}

@keyframes owlFadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}