/* ============================================================
   YELLOW MOON — صفحات المحتوى (منتج، تصنيف، منطقة، دليل، أسئلة)
   ============================================================ */

.page-wrap { padding-top: 104px; }

/* ── مسار التنقّل ───────────────────────────────────────── */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .84rem; color: var(--gray); padding: 14px 0;
}
.crumbs a { color: var(--gray-light); transition: color .2s; }
.crumbs a:hover { color: var(--yellow); }
.crumbs i { font-size: .6rem; color: #444; }
.crumbs [aria-current] { color: var(--yellow); }

/* ── ترويسة الصفحة ─────────────────────────────────────── */
.page-head { padding: 10px 0 30px; }
.page-head h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1.35;
}
.page-head .lead { color: var(--gray-light); font-size: 1.02rem; line-height: 2; max-width: 68ch; margin-top: 14px; }

/* ── صندوق الإجابة السريعة (لمحركات الإجابة) ───────────── */
.answer-box {
  background: linear-gradient(160deg, rgba(252, 213, 15, .1), rgba(252, 213, 15, .03));
  border: 1px solid var(--yellow-glow); border-right: 3px solid var(--yellow);
  border-radius: var(--radius-lg); padding: 22px 24px; margin: 26px 0;
}
.answer-box .tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .76rem; font-weight: 600; color: var(--yellow); margin-bottom: 8px;
}
.answer-box p { font-size: 1.05rem; line-height: 2; color: #eaeaea; margin: 0; }

/* ── نص المقالة ────────────────────────────────────────── */
.prose { max-width: 74ch; }
.prose h2 {
  font-family: var(--font-display); font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 700; margin: 38px 0 12px; color: #fff;
}
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 26px 0 10px; color: var(--yellow); }
.prose p { color: var(--gray-light); font-size: 1rem; line-height: 2.1; margin-bottom: 14px; }
.prose ul { list-style: none; margin: 12px 0 18px; }
.prose ul li { color: var(--gray-light); padding: 6px 0 6px 0; display: flex; gap: 10px; }
.prose ul li::before { content: '\F26B'; font-family: 'bootstrap-icons'; color: var(--yellow); font-size: .8rem; }

/* ── الجداول ───────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin: 20px 0 26px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.08); }
.data-table { width: 100%; border-collapse: collapse; min-width: 420px; }
.data-table th {
  background: var(--dark-3); color: var(--yellow); font-size: .85rem; font-weight: 600;
  text-align: start; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.data-table td { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.05); color: var(--gray-light); font-size: .93rem; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: rgba(252, 213, 15, .04); color: #fff; }
.data-table td:first-child { color: #fff; font-weight: 500; }

/* ── الأسئلة الشائعة ───────────────────────────────────── */
.faq-list { display: grid; gap: 10px; margin-top: 18px; }
.faq-item { background: var(--dark-3); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s; }
.faq-item[open] { border-color: var(--yellow-glow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 17px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 1rem; font-weight: 600; color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\F282'; font-family: 'bootstrap-icons'; color: var(--yellow);
  font-size: .9rem; transition: transform .3s var(--transition);
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .a { padding: 0 20px 18px; color: var(--gray-light); font-size: .96rem; line-height: 2; }

.faq-group + .faq-group { margin-top: 34px; }
.faq-group h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; }

/* ── شبكة البطاقات العامة ──────────────────────────────── */
.tile {
  display: block; background: var(--dark-3); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg); overflow: hidden; height: 100%;
  transition: all var(--transition);
}
.tile:hover { transform: translateY(-6px); border-color: var(--yellow-glow); box-shadow: 0 24px 50px rgba(0,0,0,.45); }
.tile__pic { aspect-ratio: 16/10; overflow: hidden; background: var(--dark-4); }
.tile__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--transition); }
.tile:hover .tile__pic img { transform: scale(1.06); }
.tile__body { padding: 20px; }
.tile__body h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.tile__body p { color: var(--gray); font-size: .9rem; line-height: 1.85; }
.tile__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: .82rem; color: var(--yellow); }

/* ── قائمة روابط غنية ──────────────────────────────────── */
.link-list { list-style: none; margin-top: 22px; display: grid; gap: 8px; }
.link-list a {
  display: flex; align-items: flex-start; gap: 12px; padding: 15px 17px;
  background: var(--dark-3); border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); transition: all .25s var(--transition);
}
.link-list a:hover { border-color: var(--yellow-glow); transform: translateX(-4px); }
.link-list i { color: var(--yellow); font-size: 1.1rem; margin-top: 4px; }
.link-list b { display: block; font-size: .98rem; font-weight: 600; color: #fff; }
.link-list em { font-style: normal; font-size: .86rem; color: var(--gray); }

/* ── رقائق الروابط ─────────────────────────────────────── */
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  display: inline-block; padding: 9px 18px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.1); background: var(--dark-3);
  color: var(--gray-light); font-size: .88rem; transition: all .22s;
}
.chip:hover { background: var(--yellow); border-color: var(--yellow); color: #000; }
.chip--soft { background: transparent; }

/* ── صفحة المنتج ───────────────────────────────────────── */
.pd-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pd-shot {
  border: 0; padding: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--dark-3); aspect-ratio: 4/3; position: relative; cursor: zoom-in;
}
.pd-shot:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
.pd-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--transition); }
.pd-shot:hover img { transform: scale(1.05); }
.pd-shot::after {
  content: '\F4A1'; font-family: 'bootstrap-icons'; position: absolute; bottom: 12px; left: 12px;
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(0,0,0,.6); color: var(--yellow); opacity: 0; transition: opacity .25s;
}
.pd-shot:hover::after { opacity: 1; }

.pd-panel { background: var(--dark-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-lg); padding: 22px; }
.pd-panel + .pd-panel { margin-top: 14px; }
.pd-panel h2, .pd-panel h3 { font-size: .82rem; font-weight: 600; letter-spacing: .06em; color: var(--yellow); margin-bottom: 14px; }
.pd-code { font-family: var(--font-mono); font-size: 1.25rem; color: var(--yellow); letter-spacing: .06em; }
.pd-cta { display: grid; gap: 10px; margin-top: 14px; }
.pd-cta .btn-primary-lum, .pd-cta .btn-ghost-lum { width: 100%; justify-content: center; }
@media (min-width: 992px) { .pd-side { position: sticky; top: 100px; } }

.spec-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.08); }
.spec-row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-row b { font-weight: 500; font-size: .95rem; color: #fff; }
.spec-row span { font-family: var(--font-mono); font-size: .85rem; color: var(--gray-light); direction: ltr; }

/* ── مربع ملاحظة/تنويه ─────────────────────────────────── */
.note-box {
  background: var(--dark-3); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg); padding: 18px 20px; margin: 22px 0;
  display: flex; gap: 14px; align-items: flex-start;
}
.note-box i { color: var(--yellow); font-size: 1.15rem; margin-top: 4px; }
.note-box p { color: var(--gray-light); font-size: .94rem; line-height: 1.95; margin: 0; }

/* ── شريط سفلي للتواصل ─────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, rgba(252,213,15,.14), rgba(252,213,15,.04));
  border: 1px solid var(--yellow-glow); border-radius: var(--radius-lg);
  padding: 32px 28px; margin: 44px 0 10px; text-align: center;
}
.cta-strip h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; }
.cta-strip p { color: var(--gray-light); margin: 8px auto 20px; max-width: 56ch; }
.cta-strip .btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── منطقة ────────────────────────────────────────────── */
.district-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.district { padding: 7px 15px; border-radius: 100px; background: var(--dark-3); border: 1px solid rgba(255,255,255,.07); font-size: .85rem; color: var(--gray-light); }

@media (max-width: 767px) {
  .page-wrap { padding-top: 86px; }
  .pd-gallery { gap: 8px; }
  .answer-box { padding: 18px; }
  .prose p { font-size: .97rem; }
}
