/* =====================================================================
 *  تەواف — سیستەمی دیزاینی پەڕە ناوخۆییەکان
 * ---------------------------------------------------------------------
 *  یەک شێواز بۆ هەموو پەڕەکان: پاکێج · کۆمپانیا · ڕێبەر · بازاڕ · ڕێنمایی
 *  بێ Tailwind، بێ FontAwesome — تەنها ئایکۆنی SVG ی تەواف.
 * ================================================================== */

:root{
  --tl:#05403e; --tl2:#0a5754; --tl3:#032b29;
  --em:#0f9d6e; --em2:#12b981;
  --gd:#c9a961; --gd2:#e3c98d; --gd3:#9c7c2e;
  --ink:#0d1b1a; --mut:#7b8a87; --fnt:#9ab0aa;
  --line:#e8eeec; --bg:#f5f8f7; --card:#ffffff;
  --sat:env(safe-area-inset-top,0px); --sab:env(safe-area-inset-bottom,0px);
  --tm:14px;
}
@media (display-mode:standalone),(display-mode:fullscreen){ :root{ --tm:30px; } }

*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html,body{ margin:0; }
body{ font-family:'IBM Plex Sans Arabic',system-ui,-apple-system,sans-serif;
  background:var(--bg); color:var(--ink); line-height:1.7; }
a{ text-decoration:none; color:inherit; }
button{ font:inherit; cursor:pointer; border:0; background:none; color:inherit; }
svg{ display:block; flex-shrink:0; }
img{ max-width:100%; }
.num{ direction:ltr; font-variant-numeric:tabular-nums; }
.tw-shell{ max-width:760px; margin:0 auto; padding-bottom:28px; }
@media (min-width:920px){ .tw-shell{ max-width:1040px; } }

/* ══════════ سەرپەڕ ══════════ */
.tw-hero{ position:relative; overflow:hidden;
  padding:max(var(--tm),calc(var(--sat) + 12px)) 16px 20px;
  background:linear-gradient(162deg,#eff6f3,#e4efe9 58%,#dceae4);
  border-bottom:1px solid #dae7e2; }
.tw-hero .bgi{ position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; opacity:.15; }
.tw-hero .vg{ position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(245,248,247,.55),rgba(245,248,247,.94)); }
.tw-hero > *{ position:relative; z-index:2; }
.tw-hero .row{ display:flex; align-items:center; gap:12px; }
.tw-hero .sq{ width:48px; height:48px; border-radius:16px; flex-shrink:0;
  display:grid; place-items:center; color:#fff;
  background:linear-gradient(145deg,var(--tl2),var(--tl));
  box-shadow:0 10px 22px -10px rgba(5,64,62,.65); }
.tw-hero .t{ flex:1; min-width:0; }
.tw-hero h1{ margin:0; font-size:1.26rem; font-weight:900; letter-spacing:-.01em; }
.tw-hero p{ margin:3px 0 0; font-size:.74rem; color:var(--mut); font-weight:700; }
.tw-hero .bk{ width:42px; height:42px; border-radius:50%; flex-shrink:0;
  display:grid; place-items:center; background:#fff; color:var(--tl);
  border:1px solid #dae7e2; box-shadow:0 5px 14px -9px rgba(5,64,62,.5);
  transition:transform .12s; }
.tw-hero .bk:active{ transform:scale(.93); }

/* ══════════ گەڕان و پاڵێوەر ══════════ */
.tw-search{ display:flex; gap:9px; padding:14px 14px 0; }
.tw-search .fld{ flex:1; min-width:0; display:flex; align-items:center; gap:9px;
  background:#fff; border:1px solid var(--line); border-radius:99px;
  padding:0 8px 0 16px; height:48px;
  box-shadow:0 8px 20px -18px rgba(5,64,62,.55); }
.tw-search .fld svg{ color:var(--mut); }
.tw-search input,.tw-search select{ flex:1; min-width:0; border:0;
  background:none; font:inherit; font-size:.87rem; color:var(--ink); }
.tw-search input:focus,.tw-search select:focus{ outline:0; }
.tw-search .go{ width:48px; height:48px; border-radius:16px; flex-shrink:0;
  display:grid; place-items:center; color:#fff;
  background:linear-gradient(145deg,var(--tl2),var(--tl));
  box-shadow:0 9px 20px -10px rgba(5,64,62,.6); }

.tw-chips{ display:flex; gap:8px; padding:13px 14px; overflow-x:auto;
  scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.tw-chips::-webkit-scrollbar{ display:none; }
.tw-chip{ flex-shrink:0; display:inline-flex; align-items:center; gap:6px;
  height:38px; padding:0 15px; border-radius:99px; background:#fff;
  border:1px solid var(--line); font-size:.78rem; font-weight:800;
  color:var(--ink); white-space:nowrap; }
.tw-chip.on{ background:var(--tl); border-color:var(--tl); color:#fff; }
.tw-chip.on svg{ color:var(--gd2); }
.tw-chip .n{ font-size:.66rem; font-weight:900; color:var(--mut); }
.tw-chip.on .n{ color:rgba(255,255,255,.72); }

/* ══════════ سەردێڕی بەش ══════════ */
.tw-sec{ display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin:20px 16px 11px; }
.tw-sec h2{ margin:0; font-size:1.02rem; font-weight:900; }
.tw-sec span{ font-size:.72rem; color:var(--mut); font-weight:700; }
.tw-sec a{ display:inline-flex; align-items:center; gap:5px; font-size:.75rem;
  font-weight:800; color:var(--em); flex-shrink:0; }

/* ══════════ گرید و کارت ══════════ */
.tw-grid{ display:grid; gap:11px; margin:0 14px;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); }
.tw-card{ display:flex; gap:12px; background:var(--card);
  border:1px solid var(--line); border-radius:20px; padding:11px;
  box-shadow:0 10px 24px -22px rgba(5,64,62,.7);
  transition:transform .14s, box-shadow .14s; }
.tw-card:active{ transform:translateY(1px); }
.tw-card .im{ width:92px; height:92px; border-radius:16px; flex-shrink:0;
  overflow:hidden; display:grid; place-items:center; color:var(--gd2);
  background:linear-gradient(150deg,var(--tl),var(--tl2)); position:relative; }
.tw-card .im img{ width:100%; height:100%; object-fit:cover; }
.tw-card .t{ flex:1; min-width:0; display:flex; flex-direction:column; }
.tw-card .t b{ font-size:.93rem; font-weight:900; line-height:1.5;
  overflow:hidden; text-overflow:ellipsis; display:-webkit-box;
  -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.tw-card .meta{ font-size:.72rem; color:var(--mut); font-weight:700;
  line-height:1.75; margin:4px 0 auto; overflow:hidden; text-overflow:ellipsis;
  white-space:nowrap; }
.tw-card .bt{ display:flex; align-items:center; justify-content:space-between;
  gap:8px; margin-top:9px; }
.tw-card .pr{ font-size:.95rem; font-weight:900; color:var(--tl);
  direction:ltr; white-space:nowrap; }
.tw-card .pr small{ font-size:.6rem; color:var(--mut); font-weight:700; }
.tw-card .see{ flex-shrink:0; background:var(--em); color:#fff;
  border-radius:11px; padding:8px 15px; font-size:.74rem; font-weight:900; }

/* ══ نیشانەکان ══ */
.tw-tag{ display:inline-flex; align-items:center; gap:5px; border-radius:99px;
  padding:5px 11px; font-size:.62rem; font-weight:900; }
.tw-tag.vip{ background:#fff6e4; color:var(--gd3); }
.tw-tag.std{ background:#e9f4ef; color:var(--tl); }
.tw-tag.eco{ background:#eef3f5; color:#4b5f6b; }
.tw-tag.on{ background:#e9f7f0; color:#0b6b4c; }
.tw-tag.off{ background:#f3f5f4; color:#7b8a87; }

.tw-stars{ display:flex; gap:2px; color:var(--gd); margin:4px 0 5px; }

/* ══ کارتی ستوونی (کۆمپانیا/ڕێبەر) ══ */
.tw-vc{ background:var(--card); border:1px solid var(--line);
  border-radius:22px; padding:16px; text-align:center;
  box-shadow:0 10px 24px -22px rgba(5,64,62,.7); }
.tw-vc .av{ width:68px; height:68px; border-radius:50%; margin:0 auto 11px;
  overflow:hidden; display:grid; place-items:center; font-size:1.5rem;
  font-weight:900; color:#fff; position:relative;
  background:linear-gradient(145deg,var(--tl2),var(--tl)); }
.tw-vc .av img{ width:100%; height:100%; object-fit:cover; }
.tw-vc .av .dot{ position:absolute; inset-block-end:2px; inset-inline-end:2px;
  width:14px; height:14px; border-radius:50%; background:var(--em2);
  border:2.5px solid #fff; }
.tw-vc h3{ margin:0 0 3px; font-size:.95rem; font-weight:900;
  display:flex; align-items:center; justify-content:center; gap:5px; }
.tw-vc .sub{ margin:0 0 10px; font-size:.72rem; color:var(--mut);
  font-weight:700; line-height:1.7; }
.tw-vc .acts{ display:flex; gap:7px; }
.tw-vc .acts a{ flex:1; height:40px; border-radius:12px; display:inline-flex;
  align-items:center; justify-content:center; gap:6px; font-size:.74rem;
  font-weight:900; background:#eef3f1; color:var(--tl); }
.tw-vc .acts a.main{ background:var(--em); color:#fff; }

/* ══ بەتاڵ ══ */
.tw-empty{ margin:0 14px; text-align:center; background:var(--card);
  border:1px solid var(--line); border-radius:22px; padding:36px 24px;
  color:var(--mut); }
.tw-empty .c{ width:62px; height:62px; border-radius:50%; margin:0 auto 14px;
  display:grid; place-items:center; background:#eaf4ef; color:var(--tl); }
.tw-empty b{ display:block; color:var(--ink); font-size:1rem; margin-bottom:7px; }
.tw-empty div{ font-size:.81rem; line-height:1.95; }
.tw-empty a{ display:inline-block; margin-top:16px; background:var(--em);
  color:#fff; border-radius:13px; padding:12px 22px; font-size:.82rem;
  font-weight:900; }

/* ══ ئاگاداری ══ */
.tw-note{ margin:14px; background:#fff8e9; border:1px solid #f0dcae;
  color:#7a5b18; border-radius:18px; padding:14px 16px; font-size:.78rem;
  font-weight:700; line-height:1.9; }
.tw-note b{ display:block; color:#4a3708; margin-bottom:4px; }

/* ══ بەشی نووسراو (ڕێنمایی) ══ */
.tw-prose{ margin:0 14px; background:var(--card); border:1px solid var(--line);
  border-radius:22px; padding:20px; }
.tw-prose + .tw-prose{ margin-top:11px; }
.tw-prose .hd{ display:flex; align-items:center; gap:11px; margin-bottom:12px; }
.tw-prose .hd .c{ width:42px; height:42px; border-radius:14px; flex-shrink:0;
  display:grid; place-items:center; background:#eaf4ef; color:var(--tl); }
.tw-prose h3{ margin:0; font-size:1rem; font-weight:900; }
.tw-prose p{ margin:0 0 10px; font-size:.83rem; line-height:2; color:#2c3d39; }
.tw-prose p:last-child{ margin-bottom:0; }
.tw-prose ul{ margin:0; padding:0; list-style:none; display:grid; gap:9px; }
.tw-prose li{ display:flex; align-items:flex-start; gap:9px; font-size:.82rem;
  line-height:1.9; color:#2c3d39; font-weight:600; }
.tw-prose li svg{ color:var(--em); margin-top:4px; }
.tw-prose a.out{ display:inline-flex; align-items:center; gap:6px;
  color:var(--em); font-weight:900; font-size:.8rem; }
