/* ══════════════════════════════════════════
   DRAVIN OODA Slider — Public Styles
   ══════════════════════════════════════════ */

.dooda-slider-wrapper {
    --dooda-sticky-z: 9990;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.dooda-slider-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
}

.dooda-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.dooda-track {
    display: flex;
    align-items: center;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    -webkit-overflow-scrolling: touch;
}

/* Scrollable on mobile (no-JS fallback) */
.dooda-viewport.no-js-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.dooda-viewport.no-js-scroll::-webkit-scrollbar { display: none; }

/* Touch drag cursor */
.dooda-track.is-dragging { cursor: grabbing; transition: none; }
.dooda-track { cursor: grab; }

/* Fade edges */
.dooda-viewport::before,
.dooda-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20px;
    z-index: 1;
    pointer-events: none;
}

/* Arrows */
.dooda-arrow {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
    transition: opacity .2s, background .15s;
    user-select: none;
}
.dooda-arrow:hover { background: #f5f5f5; }
.dooda-arrow:disabled { opacity: .25; cursor: default; pointer-events: none; }

/* Pills base — overridden by inline CSS per instance */
.dooda-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: background .18s, color .18s, box-shadow .18s;
}

/* Animated active indicator */
.dooda-pill.active {
    position: relative;
}

/* Smooth pill transitions */
.dooda-pill,
.dooda-pill:focus { outline: none; }

/* Mobile swipe hint animation */
@keyframes doodaSwipeHint {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(-18px); }
    60%  { transform: translateX(8px); }
    100% { transform: translateX(0); }
}
.dooda-swipe-hint .dooda-track {
    animation: doodaSwipeHint 0.9s ease-in-out 0.5s both;
}

/* ══════════════════════════════════════════
   STICKY BAR — fixed position when scrolled
   Works even inside Elementor overflow:hidden
   ══════════════════════════════════════════ */

/* Invisible spacer that holds the layout gap when bar is fixed */
.dooda-sticky-spacer {
    display: none;
    width: 100%;
    pointer-events: none;
    visibility: hidden;
}
.dooda-sticky-spacer.dooda-spacer-active {
    display: block;
}

/* When stuck: override wrapper to fixed */
.dooda-slider-wrapper.dooda-stuck {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: var(--dooda-sticky-z, 9990) !important;
    /* top is set dynamically by JS */
    box-shadow: 0 2px 12px rgba(0,0,0,0.13) !important;
    transition: box-shadow 0.2s ease;
}
