/* =========================================================
   SOLO — accessibility toolbar styles + accessibility modes
   ========================================================= */
.a11y-root { font-family: Arial, "Assistant", sans-serif; }
.a11y-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.a11y-fab {
  position: fixed; z-index: 9998; inset-inline-start: 18px; bottom: 22px;
  width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff;
  background: #0f6f68; color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.45); transition: transform .2s;
}
.a11y-fab:hover { transform: scale(1.06); }
.a11y-fab:focus-visible, .a11y-root button:focus-visible, .a11y-root a:focus-visible { outline: 3px solid #ffbf00; outline-offset: 3px; }
.a11y-fab svg { width: 30px; height: 30px; }
.a11y-panel {
  position: fixed; z-index: 9999; inset-inline-start: 18px; bottom: 88px;
  width: min(380px, calc(100vw - 36px)); max-height: calc(100vh - 120px); overflow: auto;
  background: #fff; color: #111; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  font-size: 15px; line-height: 1.4;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #0f6f68; color: #fff; border-radius: 10px 10px 0 0; position: sticky; top: 0; }
.a11y-head h2 { margin: 0; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; font-family: inherit; letter-spacing: 0; text-transform: none; color: #fff; }
.a11y-head h2 svg { width: 22px; height: 22px; }
.a11y-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.a11y-body { padding: 14px; }
.a11y-size { display: flex; align-items: center; gap: 8px; border: 1px solid #ddd; border-radius: 8px; padding: 8px 10px; margin-bottom: 12px; }
.a11y-size-l { flex: 1; font-weight: 700; }
.a11y-step { width: 44px; height: 38px; border: 1px solid #0f6f68; background: #fff; color: #0f6f68; border-radius: 6px; font-weight: 700; font-size: 16px; cursor: pointer; }
.a11y-step:hover { background: #0f6f68; color: #fff; }
.a11y-size-val { min-width: 48px; text-align: center; font-weight: 700; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 78px; padding: 10px 6px; border: 1px solid #ddd; border-radius: 8px; background: #f6f6f6; color: #111; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-align: center; }
.a11y-tile svg { width: 26px; height: 26px; color: #0f6f68; }
.a11y-tile:hover { border-color: #0f6f68; }
.a11y-tile[aria-pressed="true"] { background: #0f6f68; border-color: #0f6f68; color: #fff; }
.a11y-tile[aria-pressed="true"] svg { color: #fff; }
.a11y-reset { width: 100%; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 1px solid #111; border-radius: 8px; background: #111; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.a11y-reset svg { width: 18px; height: 18px; }
.a11y-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 16px 14px; border-top: 1px solid #eee; font-size: 13px; color: #555; }
.a11y-foot a { color: #0f6f68; font-weight: 700; text-decoration: underline; }
@media (max-width: 900px) {
  .a11y-fab { bottom: 88px; width: 48px; height: 48px; }
  .a11y-panel { bottom: 146px; }
}

/* ---------- Modes (applied on <html>) ---------- */
/* High contrast */
html.a11y-contrast body, html.a11y-contrast body *:not(.a11y-root):not(.a11y-root *) { background-color: #000 !important; color: #fff !important; border-color: #fff !important; text-shadow: none !important; box-shadow: none !important; }
html.a11y-contrast body a:not(.a11y-root a), html.a11y-contrast body a *:not(.a11y-root *) { color: #ff0 !important; }
html.a11y-contrast .cover > img, html.a11y-contrast .hero::after, html.a11y-contrast .chef::after, html.a11y-contrast .club::after { opacity: .25; }
html.a11y-contrast .btn { border: 2px solid #ff0 !important; }

/* Light background */
html.a11y-light body, html.a11y-light body *:not(.a11y-root):not(.a11y-root *):not(img):not(picture):not(svg):not(svg *) { background-color: #fff !important; color: #111 !important; border-color: #888 !important; text-shadow: none !important; }
html.a11y-light body a:not(.a11y-root a) { color: #0a5a54 !important; }
html.a11y-light .cover { background: #fff !important; }
html.a11y-light .cover > img { opacity: .18; }
html.a11y-light .hero h1 img, html.a11y-light .logo img, html.a11y-light .footer__brand img { filter: invert(1) hue-rotate(180deg); }
html.a11y-light .btn { border: 2px solid #0a5a54 !important; color: #0a5a54 !important; }

/* Grayscale */
html.a11y-gray body > *:not(.a11y-root) { filter: grayscale(1); }

/* Highlight links */
html.a11y-links a:not(.a11y-root a) { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed #ffbf00; outline-offset: 2px; }

/* Highlight headings */
html.a11y-headings h1:not(.a11y-root *), html.a11y-headings h2:not(.a11y-root *), html.a11y-headings h3:not(.a11y-root *), html.a11y-headings h4:not(.a11y-root *) { outline: 2px solid #ffbf00 !important; outline-offset: 4px; }

/* Readable font */
html.a11y-readable body *:not(.a11y-root *):not(svg):not(svg *) { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: normal !important; text-transform: none !important; }

/* Text spacing (WCAG 1.4.12 values) */
html.a11y-spacing body *:not(.a11y-root *) { line-height: 1.6 !important; letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-spacing body p:not(.a11y-root *) { margin-bottom: 2em !important; }

/* Stop animations */
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-noanim .rv { opacity: 1 !important; transform: none !important; }

/* Big cursor */
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'><path d='M4 2l15 9-7 1.6L8.6 20z' fill='black' stroke='white' stroke-width='1.4' stroke-linejoin='round'/></svg>") 6 3, auto !important; }

/* Keyboard focus */
html.a11y-focus *:focus { outline: 4px solid #ffbf00 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #000 !important; }
