html {
  scroll-behavior: smooth;
}

body {
  background: var(--cc-bg);
  color: var(--cc-ink);
  text-rendering: optimizeLegibility;
}

body.public-pro,
body.store-shell {
  min-height: 100vh;
}

body,
button,
input,
textarea,
select {
  font-family: "IBM Plex Sans Arabic", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

img,
video,
canvas,
svg {
  max-width: 100%;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 0;
  box-shadow: var(--cc-focus);
}

.sr-only,
.cc-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
