/* Accessibility remediation styles for mirrored Elementor pages (injected by the
   catch-all mirror route alongside a11y-mirror.js — mirror pages only). */

/* Skip link ("דילוג לתוכן") — visually hidden until keyboard focus, RTL placement. */
.a11y-skip {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 100000;
  padding: 10px 18px;
  background: #1a4fa0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  /* off-screen + clipped until focused */
  transform: translateY(-200%);
  clip-path: inset(50%);
  white-space: nowrap;
}
.a11y-skip:focus,
.a11y-skip:focus-visible {
  transform: none;
  clip-path: none;
  outline: 3px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #1a4fa0;
}

/* Visible keyboard focus everywhere. :where() keeps selector specificity at just the
   pseudo-class, so any intentional site focus styling still wins. */
:where(a, button, input, select, textarea, summary,
       [tabindex], [role="button"], [role="tab"], [role="link"]):focus-visible {
  outline: 3px solid #1a4fa0;
  outline-offset: 2px;
}

/* Elementor dropdown submenus: open on keyboard focus, mirroring the :hover behavior
   (smartmenus toggles them with inline styles, so !important is needed to beat those
   while a child link is focused). */
.elementor-nav-menu--main .menu-item-has-children:focus-within > ul.sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
}

/* WooCommerce struck-through "was" prices: theme grey fails AA contrast on the white cards */
del .woocommerce-Price-amount, del .woocommerce-Price-amount bdi { color: #595959 !important; }
/* WooCommerce sale prices: theme gold fails AA on white — darker gold, same hue */
ins .woocommerce-Price-amount, ins .woocommerce-Price-amount bdi { color: #8a661a !important; }
/* prices inside jet-listing cards (text-editor widgets, no ins/del wrapper): same gold-on-white failure */
[data-elementor-type="jet-listing-items"] .woocommerce-Price-amount { color: #8a661a !important; }
