/**
 * Owl Carousel v2.3.4 - Core Structural Styles
 * Optimized for performance and stability
 */

.owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -moz-backface-visibility: hidden;
    /* fix for flickering */
    display: flex;
}

.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;
    /* fix for flashing background */
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-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-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
}

.owl-carousel.owl-loaded {
    display: flex;
    flex-direction: column;
}

.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 {
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

.owl-carousel.owl-grabbing {
    cursor: grabbing;
}

.owl-carousel.owl-rtl {
    direction: rtl;
}

.owl-carousel.owl-rtl .owl-item {
    float: right;
}

/* Animations */
.owl-carousel .owl-item.animated {
    animation-duration: 300ms;
    animation-fill-mode: both;
}

.owl-carousel .owl-fade-in {
    animation-name: owlFadeIn;
}

.owl-carousel .owl-fade-out {
    animation-name: owlFadeOut;
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes owlFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes owlFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* No Js */
.no-js .owl-carousel {
    display: block;
}

/* Lazy Load */
.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    transition: opacity 400ms ease;
}

.owl-carousel .owl-item .owl-lazy[src^=""], .owl-carousel .owl-item .owl-lazy:not([src]) {
    max-height: 0;
}

.owl-carousel .owl-item img.owl-lazy {
    transform-style: preserve-3d;
}

/* Basic Theme - Bare minimum to be usable */
.owl-carousel {
    display: flex;
    flex-direction: column;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1;
}

.owl-nav, .owl-dots {
    display: flex;
    gap: 10px;
    z-index: 10;
    flex-shrink: 0;
}

/* Nav Positions */
.owl-nav-top-left      { order: -2; justify-content: flex-start; margin-bottom: 15px; }
.owl-nav-top-center    { order: -2; justify-content: center; margin-bottom: 15px; }
.owl-nav-top-right     { order: -2; justify-content: flex-end; margin-bottom: 15px; }

.owl-nav-bottom-left   { order: 2; justify-content: flex-start; margin-top: 15px; }
.owl-nav-bottom-center { order: 2; justify-content: center; margin-top: 15px; }
.owl-nav-bottom-right  { order: 2; justify-content: flex-end; margin-top: 15px; }

.owl-nav-left-vertical { 
    position: absolute; 
    top: 50%; 
    left: 10px; 
    flex-direction: column; 
    transform: translateY(-50%); 
}

.owl-nav-right-vertical { 
    position: absolute; 
    top: 50%; 
    right: 10px; 
    flex-direction: column; 
    transform: translateY(-50%); 
}

.owl-nav-middle-left-right {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}
.owl-nav-middle-left-right button { pointer-events: auto; }

/* Adjust stage outer when vertical navs are used to avoid overlap */
.owl-carousel:has(.owl-nav-left-vertical) { padding-left: 70px; }
.owl-carousel:has(.owl-nav-right-vertical) { padding-right: 70px; }
.owl-carousel:has(.owl-dots-left-vertical) { padding-left: 40px; }
.owl-carousel:has(.owl-dots-right-vertical) { padding-right: 40px; }

.owl-nav button {
    background: #fff;
    color: #333;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid #ddd;
    font-size: 18px;
    line-height: 1;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    width: 48px;
    height: 48px;
}

.owl-nav button:hover {
    background: #f8f8f8;
    border-color: #bbb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Dots Positions */
.owl-dots-top-left      { order: -1; justify-content: flex-start; margin-bottom: 15px; }
.owl-dots-top-center    { order: -1; justify-content: center; margin-bottom: 15px; }
.owl-dots-top-right     { order: -1; justify-content: flex-end; margin-bottom: 15px; }

.owl-dots-bottom-left   { order: 3; justify-content: flex-start; margin-top: 15px; }
.owl-dots-bottom-center { order: 3; justify-content: center; margin-top: 15px; }
.owl-dots-bottom-right  { order: 3; justify-content: flex-end; margin-top: 15px; }

.owl-dots-left-vertical { 
    position: absolute; 
    top: 50%; 
    left: 10px; 
    flex-direction: column; 
    transform: translateY(-50%); 
}

.owl-dots-right-vertical { 
    position: absolute; 
    top: 50%; 
    right: 10px; 
    flex-direction: column; 
    transform: translateY(-50%); 
}

.owl-dot {
    width: 12px;
    height: 12px;
    background: #ccc !important;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.owl-dot:hover { background: #999 !important; transform: scale(1.2); }
.owl-dot.active { width: 30px; border-radius: 6px; background: #000 !important; box-shadow: 0 0 8px rgba(0, 0, 0, 0.2); }

