/* ==========================================================================
   SDR ENTERPRISE CORE CSS ENGINE
   RTL/LTR Logical Properties, Mobile Snap Overrides, and Touch Fixes
   ========================================================================== */

html, body {
    touch-action: manipulation !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

body.sdr-dir-rtl {
    direction: rtl;
    unicode-bidi: embed;
}

body.sdr-dir-ltr {
    direction: ltr;
    unicode-bidi: embed;
}

/* Performance Layer: Mobile Slider Touch Track Fix */
.sdr-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y pinch-zoom !important; 
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
}

.sdr-slider-container:active {
    cursor: grabbing;
}

.sdr-slider-container::-webkit-scrollbar { 
    display: none !important; 
}

.sdr-slider-container.sdr-dragging { 
    scroll-snap-type: none !important; 
    scroll-behavior: auto !important; 
}

/* Hardware Accelerated Kinetic Reveal Blueprints */
.sdr-reveal-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.99);
    transition: opacity 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000), transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    will-change: transform, opacity;
}

.sdr-reveal-up.sdr-active {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}