/* بطاقات اختيار تصميم الموقع. تُضاف لمسار التسجيل بدون تعديل onboard.js من هذا العامل. */
.ox-designs{max-width:1180px;margin:0 auto;padding:28px 20px 80px}
.ox-designs h1{font-family:"Noto Kufi Arabic",Tahoma,sans-serif;font-weight:600;letter-spacing:0;font-size:clamp(1.6rem,3vw,2.2rem);margin:0 0 8px;color:var(--text,#1c1c1c)}
.ox-designs .lede{color:var(--muted,#5d5d69);margin:0 0 28px;letter-spacing:0;max-width:36rem}
.ox-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.ox-filters button{min-height:40px;padding:6px 14px;border-radius:999px;border:1px solid var(--line,#e5e5ea);background:var(--surface,#fff);color:var(--ink,#4a4a5c);font-family:"IBM Plex Sans Arabic",Tahoma,sans-serif;font-weight:500;letter-spacing:0;cursor:pointer}
.ox-filters button[aria-pressed="true"]{background:var(--btn,#1f7a55);color:var(--btn-fg,#fff);border-color:transparent}
.ox-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:22px}
.ox-card{background:var(--surface,#fff);border:1px solid var(--hair,#ececf0);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 10px 28px rgba(28,28,28,.05)}
.ox-card .thumb{aspect-ratio:16/10;overflow:hidden;background:var(--hair,#ececf0)}
.ox-card .thumb img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.ox-card .body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.ox-card h2{font-family:"Noto Kufi Arabic",Tahoma,sans-serif;font-weight:600;letter-spacing:0;font-size:1.2rem;margin:0;color:var(--text,#1c1c1c)}
.ox-card .for{color:var(--accent-ink,#8a5d00);font-weight:600;font-size:.9rem;letter-spacing:0;margin:0}
.ox-card .for::before{content:"الأنسب لـ "}
.ox-card .desc{color:var(--muted,#5d5d69);font-size:.92rem;margin:0;letter-spacing:0;flex:1}
.ox-card .pick{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:8px 16px;border-radius:12px;border:0;background:#1f7a55;color:#fff;font-weight:600;font-family:"IBM Plex Sans Arabic",Tahoma,sans-serif;letter-spacing:0;cursor:pointer;width:100%;margin-top:8px;text-decoration:none}
.ox-card .pick:hover{background:#196747}
[data-theme="night"] .ox-card .pick, [data-theme="dark"] .ox-card .pick{background:#5fc796;color:#0c1a14}
[data-theme="night"] .ox-card .pick:hover, [data-theme="dark"] .ox-card .pick:hover{background:#6fd6a6}
.ox-card .look{
  appearance:none;-webkit-appearance:none;
  display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  margin-top:8px;padding:.45rem 1rem;
  border:1.5px solid #1f7a55;border-radius:999px;
  background:transparent;color:#1f7a55;
  font:inherit;font-weight:600;font-family:"IBM Plex Sans Arabic",Tahoma,sans-serif;
  letter-spacing:0;font-size:.92rem;line-height:1.3;
  cursor:pointer;text-decoration:none;box-shadow:none;
}
.ox-card .look .obf-i{width:1.15rem;height:1.15rem;flex:none}
.ox-card .look:hover,.ox-card .look:focus-visible{
  background:rgba(31,122,85,.08);
  box-shadow:0 0 0 3px rgba(31,122,85,.18);
  outline:none;
}
html[data-theme="dark"] .ox-card .look,
html[data-theme="night"] .ox-card .look,
[data-theme="dark"] .ox-card .look,
[data-theme="night"] .ox-card .look{
  border-color:#5fc796;color:#5fc796;
}
html[data-theme="dark"] .ox-card .look:hover,
html[data-theme="dark"] .ox-card .look:focus-visible,
html[data-theme="night"] .ox-card .look:hover,
html[data-theme="night"] .ox-card .look:focus-visible{
  background:rgba(95,199,150,.12);
  box-shadow:0 0 0 3px rgba(95,199,150,.22);
}
@media(max-width:420px){.ox-grid{grid-template-columns:1fr}}

/* Night: dark card surfaces, light type, emerald outline. No white blocks. */
html[data-theme="dark"] .ox-card,
html[data-theme="night"] .ox-card,
[data-theme="dark"] .ox-card,
[data-theme="night"] .ox-card{
  background:#16191d;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 28px rgba(0,0,0,.35);
  color:#f3f4f6;
}
html[data-theme="dark"] .ox-card .thumb,
html[data-theme="night"] .ox-card .thumb,
[data-theme="dark"] .ox-card .thumb,
[data-theme="night"] .ox-card .thumb{background:#101215}
html[data-theme="dark"] .ox-card h2,
html[data-theme="night"] .ox-card h2,
[data-theme="dark"] .ox-card h2,
[data-theme="night"] .ox-card h2{color:#f3f4f6}
html[data-theme="dark"] .ox-card .desc,
html[data-theme="night"] .ox-card .desc,
[data-theme="dark"] .ox-card .desc,
[data-theme="night"] .ox-card .desc{color:#b8bec6}
html[data-theme="dark"] .ox-card .for,
html[data-theme="night"] .ox-card .for,
[data-theme="dark"] .ox-card .for,
[data-theme="night"] .ox-card .for{color:#e8c37a}
html[data-theme="dark"] .ox-filters button,
html[data-theme="night"] .ox-filters button,
[data-theme="dark"] .ox-filters button,
[data-theme="night"] .ox-filters button{
  background:#16191d;
  border-color:rgba(255,255,255,.12);
  color:#d5d8de;
}
html[data-theme="dark"] .ox-designs h1,
html[data-theme="night"] .ox-designs h1{color:var(--text,#f3f4f6)}
html[data-theme="dark"] .ox-designs .lede,
html[data-theme="night"] .ox-designs .lede{color:var(--text2,#b8bec6)}
