/* ==========================================================================
   AIS DYSLEXIA FRIENDLY & ACCESSIBILITY SUITE (Self-Hosted, UserWay-Style)
   Strict AIS Institutional Navy Palette, Zero Gradients, Zero Glassmorphism
   ========================================================================== */

/* Self-Hosted Authentic OpenDyslexic Webfonts */
@font-face {
    font-family: 'AISOpenDyslexic';
    src: url('./fonts/OpenDyslexic-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'AISOpenDyslexic';
    src: url('./fonts/OpenDyslexic-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 1. Floating Bottom-Left Launcher (Zero Overlap with Right Pearl / Call Now) */
.ais-a11y-root {
    font-family: 'DM Sans', 'Roboto', sans-serif;
}

.ais-a11y-root *,
.ais-a11y-root *::before,
.ais-a11y-root *::after {
    box-sizing: border-box;
}

body.aisx-sheet-open #ais-a11y-root {
    opacity: 0 !important;
    pointer-events: none !important;
}

.ais-a11y-launcher {
    position: fixed;
    left: 20px;
    bottom: 22px;
    z-index: 2147483000;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 48px;
    padding: 0 18px 0 14px !important;
    border-radius: 999px;
    border: 2px solid #ffffff;
    background: #063360 !important;
    color: #ffffff !important;
    font-family: 'Roboto', 'DM Sans', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(6, 51, 96, 0.28);
    transition: transform 0.22s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.ais-a11y-launcher:hover,
.ais-a11y-launcher:focus-visible {
    background: #17345a !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(6, 51, 96, 0.36);
    outline: 3px solid rgba(6, 51, 96, 0.35);
    outline-offset: 2px;
}

.ais-a11y-launcher-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ais-a11y-active-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #eff7f8;
    border: 2px solid #063360;
    box-shadow: 0 0 0 2px #ffffff;
}

.ais-a11y-active-dot[hidden] {
    display: none;
}

/* 2. Backdrop & Slide-In Drawer */
.ais-a11y-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483630;
    background: rgba(6, 51, 96, 0.48);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.ais-a11y-backdrop.is-open {
    opacity: 1;
}

.ais-a11y-backdrop[hidden],
.ais-a11y-drawer[hidden] {
    display: none !important;
}

.ais-a11y-drawer {
    position: fixed;
    top: 14px;
    bottom: 14px;
    left: 14px;
    width: 396px;
    max-width: calc(100vw - 28px);
    z-index: 2147483635;
    background: #eff7f8;
    color: #121212;
    border: 1px solid #e6e1df;
    border-radius: 14px;
    box-shadow: 0 22px 54px rgba(6, 51, 96, 0.32);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(-110%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ais-a11y-drawer.is-open {
    transform: translateX(0);
}

.ais-a11y-head {
    background: #063360;
    color: #ffffff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex: 0 0 auto;
}

.ais-a11y-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ais-a11y-head-badge {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #17345a;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.ais-a11y-head h2 {
    margin: 0 !important;
    font-family: 'Roboto', 'DM Sans', sans-serif !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
}

.ais-a11y-head-sub {
    display: block;
    font-size: 12.5px;
    color: #eff7f8;
    opacity: 0.85;
    margin-top: 2px;
}

.ais-a11y-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent !important;
    color: #ffffff !important;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ais-a11y-close:hover {
    background: #ffffff !important;
    color: #063360 !important;
}

.ais-a11y-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}

/* Master One-Click Dyslexia Friendly Profile Card */
.ais-a11y-profile {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px !important;
    background: #ffffff !important;
    border: 2px solid #063360;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ais-a11y-profile:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(6, 51, 96, 0.12);
}

.ais-a11y-profile.is-on {
    background: #063360 !important;
    color: #ffffff !important;
}

.ais-a11y-profile-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff7f8;
    color: #063360;
    font-family: 'AISOpenDyslexic', 'Roboto', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ais-a11y-profile.is-on .ais-a11y-profile-icon {
    background: #ffffff;
    color: #063360;
}

.ais-a11y-profile-copy {
    flex: 1;
    min-width: 0;
}

.ais-a11y-profile-copy strong {
    display: block;
    font-family: 'Roboto', 'DM Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #063360;
    line-height: 1.25;
    margin-bottom: 3px;
}

.ais-a11y-profile-copy span {
    display: block;
    font-size: 13px;
    line-height: 1.38;
    color: #777777;
}

.ais-a11y-profile.is-on .ais-a11y-profile-copy strong,
.ais-a11y-profile.is-on .ais-a11y-profile-copy span {
    color: #ffffff;
}

.ais-a11y-switch {
    flex: 0 0 auto;
    width: 44px;
    height: 24px;
    border-radius: 999px;
    background: #ecf0f1;
    border: 1px solid #e6e1df;
    padding: 2px;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.ais-a11y-switch span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #063360;
    transition: transform 0.22s ease, background-color 0.2s ease;
}

.ais-a11y-profile.is-on .ais-a11y-switch {
    background: #ffffff;
    border-color: #ffffff;
}

.ais-a11y-profile.is-on .ais-a11y-switch span {
    transform: translateX(20px);
    background: #063360;
}

.ais-a11y-grid-label {
    font-family: 'Roboto', 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #323d6e;
    margin: 0 0 10px 2px;
}

/* 2-Column UserWay-Style Feature Tile Grid */
.ais-a11y-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ais-a11y-tile {
    position: relative;
    appearance: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 16px 10px 13px !important;
    min-height: 112px;
    background: #ffffff !important;
    color: #121212 !important;
    border: 1.5px solid #e6e1df;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ais-a11y-tile:hover {
    border-color: #063360;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(6, 51, 96, 0.08);
}

.ais-a11y-tile.is-active {
    border-color: #063360;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(6, 51, 96, 0.14);
}

.ais-a11y-tile-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #063360;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ais-a11y-tile.is-active .ais-a11y-tile-check {
    opacity: 1;
    transform: scale(1);
}

.ais-a11y-tile-ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff7f8;
    color: #063360;
    font-family: 'Roboto', 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ais-a11y-tile.is-active .ais-a11y-tile-ico {
    background: #063360;
    color: #ffffff;
}

.ais-a11y-tile-name {
    font-family: 'Roboto', 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #063360;
    line-height: 1.2;
}

.ais-a11y-tile-state {
    font-size: 12px;
    font-weight: 600;
    color: #777777;
    line-height: 1.2;
}

.ais-a11y-tile.is-active .ais-a11y-tile-state {
    color: #063360;
}

.ais-a11y-steps {
    display: flex;
    gap: 5px;
    width: 68%;
    margin-top: 2px;
}

.ais-a11y-steps i {
    display: block;
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #ecf0f1;
    transition: background-color 0.2s ease;
}

.ais-a11y-steps i.is-lit {
    background: #063360;
}

/* Footer Reset Bar */
.ais-a11y-foot {
    padding: 14px 16px 15px;
    background: #ffffff;
    border-top: 1px solid #e6e1df;
    flex: 0 0 auto;
}

.ais-a11y-reset {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px !important;
    border-radius: 10px;
    border: 1.5px solid #063360;
    background: #063360 !important;
    color: #ffffff !important;
    font-family: 'Roboto', 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.ais-a11y-reset:hover {
    background: #17345a !important;
}

.ais-a11y-foot-note {
    text-align: center;
    font-size: 12px;
    color: #777777;
    margin-top: 8px;
}

/* 3. Reading Mask, Reading Guide Ruler & Soft Cream Glare Tint */
.ais-a11y-mask {
    position: fixed;
    inset: 0;
    z-index: 2147482000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
}

.ais-a11y-mask[hidden],
.ais-a11y-guide[hidden],
.ais-a11y-tint[hidden] {
    display: none !important;
}

.ais-a11y-mask-top {
    width: 100%;
    height: var(--ais-mask-y, 260px);
    background: rgba(18, 18, 18, 0.56);
    border-bottom: 3px solid #063360;
}

.ais-a11y-mask-window {
    width: 100%;
    height: 148px;
    background: transparent;
    flex: 0 0 auto;
}

.ais-a11y-mask-bottom {
    width: 100%;
    flex: 1;
    background: rgba(18, 18, 18, 0.56);
    border-top: 3px solid #063360;
}

.ais-a11y-guide {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--ais-guide-y, 320px);
    height: 6px;
    z-index: 2147482005;
    pointer-events: none;
    background: #063360;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(6, 51, 96, 0.35);
}

/* Soft glare-reducing reading overlay (Irlen / visual stress comfort) */
.ais-a11y-tint {
    position: fixed;
    inset: 0;
    z-index: 2147481990;
    pointer-events: none;
    background: rgba(230, 225, 223, 0.24);
    mix-blend-mode: multiply;
}

/* ==========================================================================
   4. ACTIVE ACCESSIBILITY TRANSFORMATIONS ON SITE CONTENT
   Carefully excludes icon font glyphs so icons never break into boxes
   ========================================================================== */

/* Font Mode 1: Authentic OpenDyslexic */
html.ais-a11y-font-1 body,
html.ais-a11y-font-1 p,
html.ais-a11y-font-1 h1,
html.ais-a11y-font-1 h2,
html.ais-a11y-font-1 h3,
html.ais-a11y-font-1 h4,
html.ais-a11y-font-1 h5,
html.ais-a11y-font-1 h6,
html.ais-a11y-font-1 a,
html.ais-a11y-font-1 li,
html.ais-a11y-font-1 td,
html.ais-a11y-font-1 th,
html.ais-a11y-font-1 label,
html.ais-a11y-font-1 blockquote,
html.ais-a11y-font-1 input,
html.ais-a11y-font-1 textarea,
html.ais-a11y-font-1 button,
html.ais-a11y-font-1 span:not([class*="icon"]):not([class*="fa"]):not([class*="eicon"]):not([class*="flaticon"]) {
    font-family: 'AISOpenDyslexic', 'DM Sans', Arial, sans-serif !important;
    font-style: normal !important;
}

/* Font Mode 2: Legible Humanist Sans (Open Counters, No Serifs/Italics) */
html.ais-a11y-font-2 body,
html.ais-a11y-font-2 p,
html.ais-a11y-font-2 h1,
html.ais-a11y-font-2 h2,
html.ais-a11y-font-2 h3,
html.ais-a11y-font-2 h4,
html.ais-a11y-font-2 h5,
html.ais-a11y-font-2 h6,
html.ais-a11y-font-2 a,
html.ais-a11y-font-2 li,
html.ais-a11y-font-2 td,
html.ais-a11y-font-2 th,
html.ais-a11y-font-2 label,
html.ais-a11y-font-2 blockquote,
html.ais-a11y-font-2 button,
html.ais-a11y-font-2 span:not([class*="icon"]):not([class*="fa"]):not([class*="eicon"]):not([class*="flaticon"]) {
    font-family: Verdana, 'DM Sans', Arial, sans-serif !important;
    font-style: normal !important;
}

/* Text Spacing (Light / Moderate / Heavy) */
html.ais-a11y-spacing-1 body *:not(#ais-a11y-root):not(#ais-a11y-root *) {
    letter-spacing: 0.055em !important;
    word-spacing: 0.14em !important;
}
html.ais-a11y-spacing-2 body *:not(#ais-a11y-root):not(#ais-a11y-root *) {
    letter-spacing: 0.1em !important;
    word-spacing: 0.24em !important;
}
html.ais-a11y-spacing-3 body *:not(#ais-a11y-root):not(#ais-a11y-root *) {
    letter-spacing: 0.15em !important;
    word-spacing: 0.36em !important;
}

/* Bigger Text (110% / 120% / 130%) */
html.ais-a11y-size-1 { font-size: 112% !important; }
html.ais-a11y-size-1 body { font-size: 19px !important; }
html.ais-a11y-size-1 p, html.ais-a11y-size-1 li { font-size: 19px !important; }

html.ais-a11y-size-2 { font-size: 122% !important; }
html.ais-a11y-size-2 body { font-size: 21px !important; }
html.ais-a11y-size-2 p, html.ais-a11y-size-2 li { font-size: 21px !important; }

html.ais-a11y-size-3 { font-size: 132% !important; }
html.ais-a11y-size-3 body { font-size: 23px !important; }
html.ais-a11y-size-3 p, html.ais-a11y-size-3 li { font-size: 23px !important; }

/* Line Height (1.65 / 1.85 / 2.1) */
html.ais-a11y-lh-1 p, html.ais-a11y-lh-1 li, html.ais-a11y-lh-1 td, html.ais-a11y-lh-1 blockquote { line-height: 1.75 !important; }
html.ais-a11y-lh-2 p, html.ais-a11y-lh-2 li, html.ais-a11y-lh-2 td, html.ais-a11y-lh-2 blockquote { line-height: 1.95 !important; }
html.ais-a11y-lh-3 p, html.ais-a11y-lh-3 li, html.ais-a11y-lh-3 td, html.ais-a11y-lh-3 blockquote { line-height: 2.2 !important; }

/* Contrast Modes (1 = Soft Reading Tint via overlay; 2 = High Contrast; 3 = Invert) */
html.ais-a11y-contrast-2 {
    filter: contrast(1.28) saturate(1.1);
}
html.ais-a11y-contrast-3 {
    filter: invert(1) hue-rotate(180deg);
}
html.ais-a11y-contrast-3 img,
html.ais-a11y-contrast-3 video,
html.ais-a11y-contrast-3 #ais-a11y-root {
    filter: invert(1) hue-rotate(180deg);
}

/* Text Alignment */
html.ais-a11y-align-1 p, html.ais-a11y-align-1 h1, html.ais-a11y-align-1 h2, html.ais-a11y-align-1 h3, html.ais-a11y-align-1 li { text-align: left !important; }
html.ais-a11y-align-2 p, html.ais-a11y-align-2 h1, html.ais-a11y-align-2 h2, html.ais-a11y-align-2 h3, html.ais-a11y-align-2 li { text-align: center !important; }
html.ais-a11y-align-3 p, html.ais-a11y-align-3 h1, html.ais-a11y-align-3 h2, html.ais-a11y-align-3 h3, html.ais-a11y-align-3 li { text-align: right !important; }

/* Highlight Links */
html.ais-a11y-links a:not(#ais-a11y-root a) {
    text-decoration: underline !important;
    text-decoration-thickness: 2.5px !important;
    text-underline-offset: 4px !important;
    outline: 2px solid #063360 !important;
    outline-offset: 2px;
}

/* Pause Animations */
html.ais-a11y-motion *,
html.ais-a11y-motion *::before,
html.ais-a11y-motion *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
}

/* Mobile Responsive Native App Sheet */
@media (max-width: 767px) {
    .ais-a11y-launcher {
        left: 14px;
        bottom: 18px;
        width: 48px;
        height: 48px;
        padding: 0 !important;
        justify-content: center;
    }
    .ais-a11y-launcher-label {
        display: none;
    }
    .ais-a11y-active-dot {
        position: absolute;
        top: 2px;
        right: 2px;
    }
    .ais-a11y-drawer {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        max-height: 86vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(105%);
    }
    .ais-a11y-drawer.is-open {
        transform: translateY(0);
    }
    .ais-a11y-mask-window {
        height: 118px;
    }
}

body.ais-a11y-open #callnowbutton,
body.ais-a11y-open .cnb-single,
body.ais-a11y-open .call-now-button,
body.ais-a11y-open #ais-concierge-root {
    opacity: 0 !important;
    pointer-events: none !important;
}


/* === USERWAY-STYLE CIRCULAR ICON, RIPPLE & STAGGERED ANIMATIONS + COOKIE CLEARANCE === */
.ais-a11y-launcher {
    left: 15px !important;
    bottom: 82px !important;
    width: 54px !important;
    height: 54px !important;
    padding: 0 !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 2.5px solid #ffffff !important;
    background: #063360 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(6, 51, 96, 0.34), 0 0 0 0 rgba(6, 51, 96, 0.35) !important;
    overflow: visible !important;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, box-shadow 0.3s ease, bottom 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.ais-a11y-launcher::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(6, 51, 96, 0.32);
    opacity: 0;
    transform: scale(0.88);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ais-a11y-launcher:hover {
    transform: scale(1.1) !important;
    background: #17345a !important;
    box-shadow: 0 12px 28px rgba(6, 51, 96, 0.42) !important;
}
.ais-a11y-launcher:hover::after {
    opacity: 1;
    transform: scale(1.06);
}
.ais-a11y-launcher:active {
    transform: scale(0.92) !important;
}
.ais-a11y-uw-svg {
    display: block;
    transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ais-a11y-launcher:hover .ais-a11y-uw-svg {
    transform: scale(1.06) rotate(-6deg);
}
.ais-a11y-launcher.is-pulsing .ais-a11y-uw-svg {
    animation: aisA11yIconPop 0.48s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes aisA11yIconPop {
    0%   { transform: scale(1) rotate(0deg); }
    35%  { transform: scale(0.82) rotate(-14deg); }
    70%  { transform: scale(1.16) rotate(8deg); }
    100% { transform: scale(1) rotate(0deg); }
}
.ais-a11y-ripple {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 3px solid #063360;
    opacity: 0;
    pointer-events: none;
}
.ais-a11y-launcher.is-pulsing .ais-a11y-ripple {
    animation: aisA11yRippleWave 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes aisA11yRippleWave {
    0%   { opacity: 0.78; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.95); }
}
.ais-a11y-tooltip {
    position: absolute;
    left: 64px;
    top: 50%;
    transform: translateY(-50%) translateX(-6px);
    background: #063360;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 7px 12px;
    font-family: 'Roboto', 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 8px 20px rgba(6, 51, 96, 0.28);
    transition: opacity 0.22s ease, transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}
.ais-a11y-launcher:hover .ais-a11y-tooltip,
.ais-a11y-launcher:focus-visible .ais-a11y-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
.ais-a11y-active-dot {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    width: 14px !important;
    height: 14px !important;
    border: 2.5px solid #063360 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 2px #063360 !important;
}
/* Staggered Spring Entrance for Profile & Tiles When Drawer Opens (UserWay feel) */
.ais-a11y-drawer .ais-a11y-profile,
.ais-a11y-drawer .ais-a11y-tile {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
}
.ais-a11y-drawer.is-open .ais-a11y-profile {
    animation: aisA11yTileIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}
.ais-a11y-drawer.is-open .ais-a11y-tile {
    animation: aisA11yTileIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) var(--a11y-stagger, 0.08s) forwards;
}
@keyframes aisA11yTileIn {
    0%   { opacity: 0; transform: translateY(12px) scale(0.97); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
.ais-a11y-tile.is-popped,
.ais-a11y-profile.is-popped {
    animation: aisA11yClickBounce 0.34s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}
@keyframes aisA11yClickBounce {
    0%   { opacity: 1; transform: scale(1); }
    40%  { opacity: 1; transform: scale(0.94); }
    75%  { opacity: 1; transform: scale(1.03); }
    100% { opacity: 1; transform: scale(1); }
}
.ais-a11y-tile.is-active .ais-a11y-tile-check {
    transition: opacity 0.22s ease, transform 0.34s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
/* Also hide CookieYes revisit icon while Accessibility Drawer is open so nothing overlaps */
body.ais-a11y-open .cky-btn-revisit-wrapper,
body.ais-a11y-open .cky-consent-container {
    opacity: 0 !important;
    pointer-events: none !important;
}
@media (max-width: 767px) {
    .ais-a11y-launcher {
        left: 15px !important;
        bottom: 76px !important;
        width: 50px !important;
        height: 50px !important;
    }
    .ais-a11y-uw-svg {
        width: 31px;
        height: 31px;
    }
    .ais-a11y-tooltip {
        display: none !important;
    }
}
