/* Seller guide (course) — layered on style.css. Logical properties keep one
   stylesheet working for the RTL (Arabic, Kurdish) and LTR (English) pages. */

.guide { max-width: 880px; margin: 0 auto; padding: 48px 20px 96px; }

.guide-hero { text-align: center; padding: 24px 0 8px; }
.guide-hero .eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(223,176,92,0.12); color: var(--gold); font-size: 13px; font-weight: 600;
}
.guide-hero h1 { font-size: clamp(30px, 6vw, 46px); margin: 16px 0 12px; line-height: 1.2; }
.guide-hero p { color: var(--text-muted); font-size: 17px; max-width: 640px; margin: 0 auto; line-height: 1.8; }
.guide-hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.btn-gold, .btn-quiet {
  display: inline-block; padding: 12px 22px; border-radius: var(--r-sm); font-weight: 700; font-size: 15px;
}
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--gold-light); }
.btn-quiet { background: var(--bg-elev-2); color: var(--text); }
.btn-quiet:hover { background: var(--border-strong); }

.toc {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px;
  margin: 40px 0 56px; padding: 0; list-style: none;
}
.toc a {
  display: flex; gap: 12px; align-items: center; height: 100%;
  padding: 14px 16px; border-radius: var(--r-md); background: var(--bg-elev);
  border: 1px solid var(--border); color: var(--text); font-weight: 600; font-size: 15px;
}
.toc a:hover { border-color: rgba(223,176,92,0.5); }
.toc .num {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(223,176,92,0.15); color: var(--gold); font-size: 14px; font-weight: 700;
}

.lesson {
  scroll-margin-top: 90px; padding: 32px 0; border-top: 1px solid var(--border);
}
.lesson-head { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.lesson-head .num {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--bg); font-weight: 800; font-size: 18px;
}
.lesson h2 { font-size: clamp(22px, 4.5vw, 30px); margin: 0; line-height: 1.3; }
.lesson .goal { color: var(--text-muted); margin: 6px 0 20px; font-size: 16px; line-height: 1.8; }
.lesson h3 { font-size: 19px; margin: 28px 0 10px; color: var(--gold-light); }
.lesson p, .lesson li { color: var(--text-muted); line-height: 1.9; font-size: 16px; }
.lesson strong { color: var(--text); }
.lesson ul { padding-inline-start: 22px; margin: 8px 0; }
.lesson ul li { margin: 4px 0; }

.ui { /* an on-screen label or button, quoted exactly */
  display: inline-block; padding: 1px 8px; margin: 0 1px; border-radius: 6px;
  background: var(--bg-elev-2); color: var(--text); font-weight: 600; font-size: 0.92em; white-space: nowrap;
}
.ui.wrap { white-space: normal; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 12px 0; }
.steps > li {
  counter-increment: step; position: relative; padding-inline-start: 46px; margin: 12px 0; min-height: 32px;
}
.steps > li::before {
  content: counter(step); position: absolute; inset-inline-start: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(223,176,92,0.15); color: var(--gold); font-weight: 700; font-size: 14px;
}

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 22px 0; justify-items: center; }
.shot { margin: 0; max-width: 300px; width: 100%; }
.shot img {
  width: 100%; height: auto; display: block; border-radius: 22px;
  border: 6px solid #0f0e14; box-shadow: var(--shadow-soft);
}
.shot figcaption { color: var(--text-dim); font-size: 14px; text-align: center; margin-top: 10px; line-height: 1.6; }

.note { margin: 18px 0; padding: 14px 18px; border-radius: var(--r-md); line-height: 1.8; font-size: 15px; }
.note p { margin: 4px 0; font-size: 15px; }
.note .label { font-weight: 800; display: block; margin-bottom: 2px; }
.note.tip { background: rgba(223,176,92,0.08); border: 1px solid rgba(223,176,92,0.3); color: var(--text-muted); }
.note.tip .label { color: var(--gold); }
.note.warn { background: rgba(208,84,77,0.08); border: 1px solid rgba(208,84,77,0.35); color: var(--text-muted); }
.note.warn .label { color: #e8857f; }

.table-wrap { overflow-x: auto; margin: 14px 0; }
.guide table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guide th, .guide td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.7; }
.guide th { color: var(--text-dim); font-weight: 600; font-size: 13px; }
.guide td { color: var(--text-muted); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-inline-start: 30px; margin: 10px 0; }
.checklist li::before { content: "✓"; position: absolute; inset-inline-start: 4px; color: var(--gold); font-weight: 800; }

.help-box {
  margin-top: 40px; padding: 28px; border-radius: var(--r-lg); text-align: center;
  background: var(--bg-elev); border: 1px solid var(--border);
}
.help-box h2 { margin: 0 0 8px; font-size: 24px; }
.help-box p { color: var(--text-muted); margin: 0 0 18px; }

.to-top { display: inline-block; margin-top: 18px; color: var(--text-dim); font-size: 14px; }
.to-top:hover { color: var(--gold); }

@media (max-width: 600px) {
  .guide { padding-top: 28px; }
  .shots { grid-template-columns: 1fr; }
  .shot { max-width: 290px; }
}
