/* ===== كوليا — Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* تخطيط */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: 72px; }
.section--tight { padding-block: 48px; }

/* عناوين الأقسام */
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.15;
}
.sec-head__sub {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 15px;
}

/* أزرار */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .01em;
  border-radius: var(--radius);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform .2s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--ink); color: var(--white); }
.btn--solid:hover { background: #000; transform: translateY(-2px); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn .ic { width: 16px; height: 16px; }

/* نجوم التقييم */
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }
.stars .off { color: var(--line-2); }

/* شارة تخفيض */
.badge-sale {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  background: var(--sale);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 9px;
  z-index: 3;
}

/* أدوات مساعدة */
.is-hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* أسهم تمرير دائرية للكاروسيلات */
.car-nav {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px; height: 38px;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  transition: background .25s var(--ease), opacity .25s;
}
.car-nav:hover { background: #000; }
.car-nav svg { width: 16px; height: 16px; }
.car-nav--prev { inset-inline-start: -6px; }
.car-nav--next { inset-inline-end: -6px; }
.car-nav[disabled] { opacity: .25; cursor: default; }
