/* An orange edge marks the pointer target while the selected card keeps its check. */
@layer fb-interaction {
  :root {
    --fb-hover-edge: var(--fb-ring);
    --fb-hover-halo: 0 0 0 1px color-mix(in srgb, var(--fb-ring) 20%, transparent);
  }
  @media (hover: hover) and (pointer: fine) and (forced-colors: none) {
    :is(button, [role="button"], [role="tab"], [role="radio"], input[type="submit"], input[type="button"], summary, a.btn, a.sh-btn, a.row-go, a.cart-btn, a[class*="-cta"], a[class*="-btn"]):not(:disabled, [aria-disabled=true], [aria-busy=true], [data-disabled]):hover {
      outline: 1px solid var(--fb-hover-edge) !important;
      outline-offset: -1px !important;
      box-shadow: var(--fb-hover-halo) !important;
    }
    :is(.fb-action-next, .fb-ri-submit, .cart-summary-primary, .fbc-product-action):not(:disabled, [aria-disabled=true], [aria-busy=true]):hover {
      background: var(--fb-action-hover) !important;
      color: white !important;
    }
  }
  :is(button, [role="button"], [role="tab"], [role="radio"], input[type="submit"], input[type="button"], input:not([type="hidden"]), textarea, select, summary, a):not(:disabled, [aria-disabled=true], [aria-busy=true], [data-disabled]):focus-visible {
    outline: 2px solid var(--fb-ring) !important;
    outline-offset: 2px !important;
  }
  @media (forced-colors: active) {
    :focus-visible { outline-color: Highlight !important; }
  }
}
