/* الأساس: المتغيّرات (قابلة للتخصيص من إعدادات المتجر) + إعادة ضبط + عناصر عامة */
:root {
  --primary: #0f766e; --on-primary: #fff;
  --accent: #f59e0b; --on-accent: #111;
  --bg: #f6f7f9; --surface: #ffffff; --text: #14202b; --muted: #6b7785; --line: #e4e8ee;
  --font: 'Cairo', system-ui, sans-serif;
  --r: 14px;            /* استدارة البطاقات */
  --btn-r: 12px;        /* استدارة الأزرار */
  --img-r: 16px;        /* شكل إطار الصورة */
  --img-ar: 1/1;        /* نسبة الصورة */
  --shadow: 0 1px 3px rgba(20,32,43,.08), 0 8px 24px rgba(20,32,43,.08);
  --container: 1440px;
  --ok: #166534; --danger: #b91c1c;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; zoom: var(--zoom, 1); font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }
body.lock { overflow: hidden; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 2px; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.ic { flex: none; }

/* أزرار */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: var(--on-primary); padding: 11px 22px; border-radius: var(--btn-r); font-weight: 700; transition: .15s; }
.btn:hover { filter: brightness(1.08); }
.btn.sm { padding: 8px 14px; font-size: 14px; }
.btn.sec { background: var(--surface); color: var(--text); border: 1.5px solid var(--line); }
.btn.acc { background: var(--accent); color: var(--on-accent); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 18px; }
.chip { padding: 6px 16px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); font-size: 14px; }
.chip:hover { border-color: var(--primary); color: var(--primary-ink, var(--primary)); }

/* نجمة الحقل الإلزامي + خطأ القاعدة */
.rq { color: #dc2626; margin-inline-start: 4px; font-weight: 900; }
