/* ============================================================
   70.0.0 — PRICING: union نرخ‌نامه table, CSS elevation only.
   Section is dark obsidian (--cb2-navy). No panel output was
   available (rate-limit); synthesis is manual per MASTER-BRIEF.
   Every price string comes from kelid_get_prices() / calc data —
   no invented numbers. JS slots + calc already live in main.js;
   no new JS here. All hooks/IDs/data-attrs preserved verbatim.
   ============================================================ */

/* time-slot segmented control: keyboard-focusable, no overflow */
#pricing .pricing-slot:focus-visible{
  outline:2px solid var(--kt-gold);outline-offset:2px;
}
@media (hover:hover) and (pointer:fine){
  #pricing .pricing-slot:not(.active):hover{border-color:var(--cb2-gold-line);color:var(--cb2-ink)}
}

/* rows: keep base layout; elevate popular rows with a gold
   inline-start edge marker (RTL = right edge) */
#pricing .pricing__row--popular{
  border-inline-start:3px solid var(--kt-gold);
  padding-inline-start:13px; /* 3px border + 13px pad = 16px: text column stays aligned */
}
@media (hover:hover) and (pointer:fine){
  #pricing .pricing__row:hover{border-color:var(--cb2-gold-line)}
  #pricing .pricing__row--popular:hover{border-inline-start-color:var(--kt-gold-hi)}
}
/* numbers: tabular figures everywhere a price renders (PHP + JS-injected) */
#pricing .pricing__amount,
#pricing .pricing__row-price,
#pricing .calc__eta strong,
#pricing .calc__price strong{font-variant-numeric:tabular-nums}

/* badge: keep «پرکاربرد» chip; Persian script must never be
   letter-spaced (gaps disconnect the joins) */
#pricing .pricing__badge{letter-spacing:0}

/* notes: honest framing — source line is the trust anchor */
#pricing .pricing__source{border-top:1px dashed var(--cb2-line);padding-top:.75rem}

/* calculator: ≥44px targets, no iOS zoom (16px select kept), quiet CTAs */
#pricing .calc__select{min-height:52px}
/* 70.0.0 loop5: base focus ring rgba(217,169,63,.2) was 1.40:1 vs the #1B2033 select bg (UI needs 3:1); .55 passes at 3.19:1 */
#pricing .cb2-calc__select:focus-visible{box-shadow:0 0 0 3px rgba(217,169,63,.55)}
#pricing .calc__result strong{overflow-wrap:break-word} /* break-word, not anywhere: never split mid-number unless it overflows */
#pricing .cb2-calc__btn--call{
  border-color:var(--cb2-gold-line);color:var(--cb2-gold-ink);
}
/* 70.0.0 loop 18: ghost-on-dark — the plain calc CTA inherits near-black
   --ink, unreadable on the dark calc surface once the stale white wash was
   removed; give it light text (footer/ctaband convention: #fff). --call keeps
   its gold ink via :not. */
#pricing .cb2-calc__btn:not(.cb2-calc__btn--call){color:#fff}
@media (hover:hover) and (pointer:fine){
  #pricing .cb2-calc__btn--call:hover{background:var(--cb2-gold-soft)}
}

/* 390px master: desc wraps, price never overflows the viewport */
@media (max-width:420px){
  #pricing .pricing__row{padding:.85rem .9rem;gap:.7rem}
  #pricing .pricing__row--popular{padding-inline-start:calc(.9rem - 3px)} /* keep the 3px edge compensated at this breakpoint too */
  #pricing .pricing__row-desc{font-size:13.5px;line-height:1.9}
  #pricing .pricing__row-price{font-size:14px}
  #pricing .pricing-slot__time{font-size:12px}
}

@media (prefers-reduced-motion:reduce){
  #pricing .pricing-slot,#pricing .pricing__row{transition:none}
  #pricing .pricing-slot:active{transform:none} /* 70.0.0 loop5: press-scale neutralized */
}

/* ---------- 70.0.0 loop5 (a11y): gold focus ring for the calc result
   WhatsApp + call buttons (slots and selects already have one) ---------- */
#pricing .cb2-calc__btn:focus-visible{
  outline:2px solid var(--kt-gold);outline-offset:2px;border-radius:10px;
}
