/*!
 * Intersky agency accessibility widget — nirgrar build (v2.1 template).
 * Positioned bottom-right (opposite the FAB WhatsApp+Call on the left).
 */

#a11y-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2147483000;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fe7024;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#a11y-toggle:hover,
#a11y-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
#a11y-toggle:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
#a11y-toggle svg { width: 28px; height: 28px; }

#a11y-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #ffffff;
  color: #1a2332;
  z-index: 2147483001;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  padding: 24px 20px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  font-family: 'Open Sans Hebrew Condensed', 'Heebo', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
}
#a11y-panel.open { transform: translateX(0); }

#a11y-panel h2 {
  font-size: 1.2rem;
  color: #fe7024;
  margin: 0 0 16px;
  font-weight: 700;
}
#a11y-panel .a11y-close {
  position: absolute;
  top: 12px;
  left: 12px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: #1a2332;
  padding: 4px 8px;
  border-radius: 6px;
}
#a11y-panel .a11y-close:hover,
#a11y-panel .a11y-close:focus-visible { background: #f0f5f9; }
#a11y-panel .a11y-close:focus-visible { outline: 2px solid #fe7024; outline-offset: 2px; }

#a11y-panel .a11y-btn {
  display: block;
  width: 100%;
  text-align: right;
  background: #f5f8fb;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #1a2332;
  font-family: inherit;
  transition: background 0.12s ease, border-color 0.12s ease;
}
#a11y-panel .a11y-btn:hover { background: #ffe9db; }
#a11y-panel .a11y-btn:focus-visible {
  outline: 2px solid #fe7024;
  outline-offset: 1px;
  border-color: #fe7024;
}

#a11y-panel .a11y-report {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.88rem;
  color: #5a6b7e;
  line-height: 1.65;
}
#a11y-panel .a11y-report strong { color: #1a2332; }
#a11y-panel .a11y-report a { color: #fe7024; font-weight: 600; text-decoration: underline; }

html.a11y-contrast { filter: contrast(1.3); }
html.a11y-invert   { filter: invert(1) hue-rotate(180deg); }
html.a11y-grayscale img,
html.a11y-grayscale [style*="background-image"] { filter: grayscale(1); }
html.a11y-underline a { text-decoration: underline !important; }
html.a11y-no-anim *,
html.a11y-no-anim *::before,
html.a11y-no-anim *::after {
  animation-duration: 0ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0ms !important;
  scroll-behavior: auto !important;
}
html.a11y-readable body,
html.a11y-readable body * {
  font-family: Arial, sans-serif !important;
  letter-spacing: 0.3px;
}

@media print {
  #a11y-toggle,
  #a11y-panel { display: none !important; }
}

@media (max-width: 480px) {
  #a11y-panel { width: 100vw; max-width: 100vw; }
  #a11y-toggle { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  #a11y-toggle svg { width: 24px; height: 24px; }
}
