* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--aladam-font-body);
  background-color: var(--aladam-cream);
  color: var(--aladam-text-dark);
  margin: 0;
  padding: 0;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--aladam-font-display);
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--aladam-gold-light);
  color: var(--aladam-navy-deep);
}

/* تمرير مخصص */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-thumb {
  background: var(--aladam-teal);
  border-radius: var(--aladam-radius-pill);
}

/* الفوكس للوصولية */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--aladam-gold);
  outline-offset: 3px;
  border-radius: 6px;
}

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

/* حالة عدم وجود نتائج بحث */
.aladam-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--aladam-text-muted);
}
.aladam-empty i {
  font-size: 48px;
  color: var(--aladam-teal-light);
  margin-bottom: 16px;
}
.aladam-empty h3 {
  font-size: 20px;
  color: var(--aladam-navy);
  margin-bottom: 6px;
}
.aladam-empty p {
  font-size: 14px;
}
