.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.a11y-fab {
    position: fixed;
    left: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px) + var(--cookie-offset, 0px));
    z-index: 90;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #1a1a1a;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.a11y-fab:focus-visible {
    outline: 3px solid #ffe600;
    outline-offset: 3px;
}
.a11y-fab-icon { display: flex; }

.a11y-panel {
    position: fixed;
    left: 16px;
    bottom: calc(76px + var(--cookie-offset, 0px));
    z-index: 91;
    width: min(320px, calc(100vw - 32px));
    background: #111;
    color: #f4f4f4;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.a11y-panel[hidden] { display: none !important; }
.a11y-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.a11y-close {
    background: transparent;
    border: 0;
    color: inherit;
    font-size: 24px;
    line-height: 1;
    width: 36px;
    height: 36px;
}
.a11y-lead, .a11y-hint {
    margin: 0 0 12px;
    color: #cfcfcf;
    font-size: 13px;
    line-height: 1.45;
}
.a11y-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}
.a11y-step { display: flex; gap: 6px; }
.a11y-step button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid #444;
    background: #1c1c1c;
    color: inherit;
    border-radius: 4px;
    font-weight: 700;
}
.a11y-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    min-height: 44px;
    font-size: 14px;
    cursor: pointer;
}
.a11y-opt input { width: 20px; height: 20px; accent-color: #2ebd6b; }
.a11y-reset {
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    border: 0;
    border-radius: 4px;
    background: #2a2a2a;
    color: inherit;
    font-weight: 700;
}

html.a11y-contrast {
    --bg: #000 !important;
    --bg-2: #000 !important;
    --card: #000 !important;
    --line: #fff !important;
    --text: #fff !important;
    --muted: #fff !important;
    --green: #ffe600 !important;
    --green-d: #ffe600 !important;
}
html.a11y-contrast body,
html.a11y-contrast .site-header,
html.a11y-contrast .drawer,
html.a11y-contrast .cookie-bar {
    background: #000 !important;
    color: #fff !important;
}
html.a11y-contrast a { color: #ffe600 !important; }
html.a11y-contrast .btn,
html.a11y-contrast .add-btn,
html.a11y-contrast .cart-bar,
html.a11y-contrast .nav-cta,
html.a11y-contrast .cat-btn.active {
    background: #ffe600 !important;
    color: #000 !important;
    border-color: #ffe600 !important;
}
html.a11y-contrast .a11y-fab {
    background: #ffe600;
    color: #000;
}

html.a11y-text-1 { font-size: 18px; }
html.a11y-text-2 { font-size: 20px; }
html.a11y-text-1 body,
html.a11y-text-2 body { font-size: 1.05em; }

html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }

html.a11y-font,
html.a11y-font body,
html.a11y-font button,
html.a11y-font input,
html.a11y-font textarea,
html.a11y-font select {
    font-family: Arial, Verdana, sans-serif !important;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

html.a11y-targets .btn,
html.a11y-targets .add-btn,
html.a11y-targets .cat-btn,
html.a11y-targets .map-btn,
html.a11y-targets .qty button,
html.a11y-targets .nav-toggle,
html.a11y-targets .flag {
    min-height: 48px !important;
    min-width: 48px;
}
html.a11y-targets input,
html.a11y-targets select,
html.a11y-targets textarea {
    min-height: 48px;
    font-size: 16px;
}

html.a11y-motion,
html.a11y-motion * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
}

html.a11y-keyboard .add-btn:focus-visible,
html.a11y-keyboard .cart-bar:focus-visible,
html.a11y-keyboard .qty button:focus-visible,
html.a11y-keyboard .btn:focus-visible,
html.a11y-keyboard a:focus-visible {
    outline: 4px solid #ffe600 !important;
    outline-offset: 3px;
}
html.a11y-keyboard .cart-bar {
    outline: 2px solid #ffe600;
}
html.a11y-keyboard .a11y-cart-skip {
    display: block;
}

.a11y-cart-skip {
    display: none;
    position: absolute;
    left: 8px;
    top: 8px;
    z-index: 100;
    background: #ffe600;
    color: #000;
    padding: 8px 12px;
    font-weight: 700;
}
.a11y-cart-skip:focus { display: block; }

@media (max-width: 860px) {
    html:has(#cart-bar) .a11y-fab { bottom: calc(92px + var(--cookie-offset, 0px)); }
    html:has(#cart-bar) .a11y-panel { bottom: calc(152px + var(--cookie-offset, 0px)); }
}
