@font-face { font-family: "ArFont"; src: url("fonts/NotoSansArabic-Regular.ttf") format("truetype"); font-weight: 300 500; font-display: swap; }
@font-face { font-family: "ArFont"; src: url("fonts/NotoSansArabic-SemiBold.ttf") format("truetype"); font-weight: 600 800; font-display: swap; }
:root { --bg: #fdfcfa; --ink: #3b2a28; --ink2: #7d6a67; --brand: #4e3532; --brand2: #6b4a45; --line: #e8e1da; --card: #ffffff; --ok: #2f6b4f; --warn: #8a5a12; --bad: #9b2c2c; --gold: #c9a24a; }
* { box-sizing: border-box; }
html { font-size: 19px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "ArFont", system-ui, sans-serif; line-height: 1.7; letter-spacing: 0; }
.page { max-width: 680px; margin: 0 auto; padding: 20px 18px 56px; }
h1, h2, h3 { font-weight: 600; margin: 0; line-height: 1.4; }
h1 { font-size: 2rem; }
h2 { font-size: 1.35rem; margin: 34px 0 10px; }
p { margin: 8px 0; }
.sub { color: var(--ink2); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.brand h1 { font-size: 1.6rem; }
.hero { width: 100%; height: auto; border-radius: 12px; display: block; margin: 8px 0 4px; }
.btn { font: inherit; font-weight: 600; min-height: 48px; padding: 8px 20px; border-radius: 8px; border: 1px solid var(--brand); background: var(--brand); color: #fff; cursor: pointer; }
.btn:hover { background: var(--brand2); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.alt { background: #fff; color: var(--brand); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--brand); }
.btn.small { min-height: 40px; padding: 4px 14px; font-size: .9rem; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 10px 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.field { display: flex; flex-direction: column; gap: 4px; margin: 14px 0; }
.field label, .lab { color: var(--ink2); font-size: .95rem; }
.field input { font: inherit; min-height: 50px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus { outline: 2px solid var(--brand2); outline-offset: 1px; }
.field input.ltr { direction: ltr; text-align: left; }
.hint { color: var(--ink2); font-size: .8rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 12px 0; }
.card .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card .name { font-weight: 600; }
.tag { display: inline-block; font-size: .8rem; padding: 1px 10px; border-radius: 99px; background: #f1ebe4; color: var(--ink2); }
.tag.ok { background: #e3f1ea; color: var(--ok); }
.tag.warn { background: #fbf0dc; color: var(--warn); }
.tag.bad { background: #f8e4e4; color: var(--bad); }
.price { font-weight: 600; white-space: nowrap; }
.note { border-radius: 10px; padding: 10px 14px; margin: 12px 0; background: #f6f1ea; }
.note.bad { background: #f8e4e4; color: var(--bad); }
.note.warn { background: #fbf0dc; color: var(--warn); }
.num { direction: ltr; display: inline-flex; align-items: center; gap: 12px; font-size: 1.4rem; font-weight: 600; background: #f6f1ea; padding: 6px 14px; border-radius: 10px; }
ol.steps { padding: 0 22px 0 0; margin: 8px 0; }
ol.steps li { margin: 8px 0; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 10px 0 6px; border-radius: 10px; overflow: hidden; background: #000; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.foot { margin-top: 40px; color: var(--ink2); font-size: .85rem; text-align: center; }
bdi, .ltr { unicode-bidi: isolate; }
@media (max-width: 380px) { html { font-size: 17.5px; } .page { padding: 14px 12px 48px; } }
