/* ==========================================================================
   Pricing page (price.php). Everything is scoped under .pr so nothing leaks
   into the rest of the site. Apple-style: lots of white, large numbers,
   hairline borders, one green accent. Meta = blue, SENDPK = green.
   ========================================================================== */

.pr {
  --pr-ink: #1d1d1f;
  --pr-muted: #6e6e73;
  --pr-faint: #86868b;
  --pr-line: #e3e3e8;
  --pr-fill: #f5f5f7;
  --pr-green: #128C7E;
  --pr-green-dark: #0B7A43;
  --pr-green-soft: #e9f6f2;
  --pr-meta: #0866FF;
  --pr-meta-soft: #eef4ff;
  --pr-sp: #25D366;
  --pr-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px -12px rgba(0, 0, 0, .12);
  --pr-shadow-lg: 0 24px 48px -20px rgba(0, 0, 0, .22);
  --pr-ring: 0 0 0 4px rgba(18, 140, 126, .18);

  font-family: var(--mg-font-body);
  color: var(--pr-ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.5;
}
.pr *, .pr *::before, .pr *::after { box-sizing: border-box; }
.pr p { margin: 0; }
.pr :is(p, li) a:not(.mg-btn), .pr :is(p, li) a:not(.mg-btn):visited { color: var(--pr-green); font-weight: 600; }
.pr :is(p, li) a:not(.mg-btn):hover { text-decoration: underline; }

.pr-wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
.pr-wrap-narrow { max-width: 820px; }
@media (min-width: 768px) { .pr-wrap { padding-inline: 24px; } }

/* space above + below each section (one rule for the whole page) */
.pr-sec { padding-block: clamp(28px, 3.6vw, 48px); }
.pr-sec-tint { background: var(--pr-fill); }

/* -- Type -- */
/* the display font has a narrow space: keep "PKR 4.50" from reading as "PKR4.50" */
.pr-pkg-fee b, .pr-fx-v { word-spacing: .14em; }
.pr .pr-h1, .pr .pr-h2, .pr .pr-h3, .pr .pr-h4 {
  font-family: var(--mg-font-display);
  color: var(--pr-ink);
  margin: 0;
}
.pr .pr-h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.06; font-weight: 800; letter-spacing: -.04em; }
.pr .pr-h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.pr .pr-h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 750; letter-spacing: -.02em; }
.pr .pr-h4 { font-size: 1.08rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.pr-sub { color: var(--pr-muted); font-size: 1.06rem; max-width: 620px; margin-top: 10px !important; }
.pr-c-meta { color: var(--pr-meta); }
.pr-c-sp { color: var(--pr-green-dark); }

.pr-head { margin-bottom: clamp(22px, 3vw, 34px); }
.pr-step, .pr-eyebrow, .pr-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mg-font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px;
}
.pr-step { color: var(--pr-green); }
.pr-step b {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--pr-green); color: #fff; font-size: .78rem;
}
.pr-tag { padding: 6px 12px; border-radius: 999px; }
.pr-tag-meta { color: var(--pr-meta); background: var(--pr-meta-soft); }
.pr-tag-sp { color: var(--pr-green-dark); background: var(--pr-green-soft); }

/* Meta logo (Font Awesome) in Meta's own blue gradient */
.pr-meta-logo::before {
  background: linear-gradient(90deg, #0062E0 0%, #0081FB 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pr-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
/* small Meta logo used as the "this is Meta" mark (instead of a blue dot) */
.pr-meta-mark { flex: none; font-size: 15px; line-height: 1; }
.pr-dot-sp { background: var(--pr-sp); }

/* -- 1. Hero -- */
.pr-hero {
  text-align: center;
  padding: clamp(16px, 2.2vw, 28px) 0 clamp(4px, 1vw, 8px);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(37, 211, 102, .10) 0%, rgba(37, 211, 102, 0) 70%),
    #fff;
}
.pr-eyebrow { color: var(--pr-green); background: var(--pr-green-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 16px; }
.pr-lead { max-width: 980px; margin: 14px auto 0 !important; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--pr-muted); line-height: 1.55; text-wrap: pretty; }
.pr-lead b { font-weight: 600; white-space: nowrap; }
.pr-lead .pr-meta-logo { font-size: 1.05em; }
/* desktop: one sentence per line */
@media (min-width: 1024px) { .pr-lead-2 { display: block; } }
.pr-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 16px; font-size: .9rem; color: var(--pr-muted); }
.pr-legend span { display: inline-flex; align-items: center; gap: 8px; }

/* -- 2. Country + rates -- */
#packages .pr-pkg-after { margin-top: 22px; }
@media (min-width: 992px) {
  #rates .pr-wrap { display: grid; grid-template-columns: 1fr 400px; column-gap: 48px; align-items: end; }
  #rates .pr-head { margin-bottom: 0; }
  #rates .pr-qty-panel, #rates .pr-for, #rates .pr-cats, #rates .pr-cards-note, #rates .pr-fx { grid-column: 1 / -1; }
}

.pr-label { display: block; font-size: .84rem; font-weight: 650; color: var(--pr-muted); margin: 0 0 8px; }
.pr-country { position: relative; }
.pr-combo { position: relative; }
.pr-combo-input {
  width: 100%; height: 58px;
  padding: 0 46px 0 54px;
  border: 1px solid var(--pr-line); border-radius: 16px;
  background: #fff; color: var(--pr-ink);
  font-family: var(--mg-font-display); font-size: 1.08rem; font-weight: 650;
  box-shadow: var(--pr-shadow);
  transition: border-color .2s, box-shadow .2s;
}
.pr-combo-input::placeholder { color: var(--pr-faint); font-weight: 500; }
.pr-combo-input:focus { outline: none; border-color: var(--pr-green); box-shadow: var(--pr-ring); }
.pr-combo-flag { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; }
.pr-combo-caret { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--pr-muted); pointer-events: none; transition: transform .2s; }
.pr-combo.is-open .pr-combo-caret { transform: translateY(-50%) rotate(180deg); }

.pr-flag { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); flex: none; }
.pr-flag-sm { width: 20px; height: 20px; }
.pr-flag-ot { display: inline-flex; align-items: center; justify-content: center; background: var(--pr-fill); color: var(--pr-muted); font-size: 13px; }

.pr-combo-list {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0;
  max-height: min(340px, 60vh); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--pr-line); border-radius: 18px;
  box-shadow: var(--pr-shadow-lg);
}
.pr-combo-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 12px; cursor: pointer;
  font-size: .98rem; color: var(--pr-ink);
}
.pr-combo-list li.is-active { background: var(--pr-fill); }
.pr-combo-list li[aria-selected="true"] { font-weight: 650; }
.pr-opt-name { flex: 1 1 auto; min-width: 0; }
.pr-opt-dial { color: var(--pr-faint); font-size: .86rem; font-variant-numeric: tabular-nums; }
.pr-opt-check { color: var(--pr-green); visibility: hidden; }
.pr-combo-list li[aria-selected="true"] .pr-opt-check { visibility: visible; }
.pr-combo-list li.pr-combo-empty { cursor: default; color: var(--pr-muted); font-size: .9rem; line-height: 1.4; }
.pr-combo-list li.pr-combo-empty:hover { background: none; }

.pr-country-note { margin-top: 10px !important; font-size: .86rem; color: var(--pr-muted); display: flex; gap: 8px; align-items: flex-start; }
.pr-country-note i { color: var(--pr-green); margin-top: 1px; }
.pr-noscript { display: flex; gap: 8px; margin-top: 10px; }
.pr-noscript select { flex: 1; height: 44px; border-radius: 12px; border: 1px solid var(--pr-line); padding: 0 10px; }
.pr-noscript button { height: 44px; border-radius: 12px; border: 0; background: var(--pr-green); color: #fff; padding: 0 18px; font-weight: 600; }

.pr-for { margin: clamp(20px, 2.4vw, 28px) 0 12px !important; font-size: .95rem; color: var(--pr-muted); }
.pr-for b { color: var(--pr-ink); font-weight: 650; }

/* category cards */
.pr-cats { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .pr-cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pr-cats { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.pr-cat {
  position: relative;
  display: flex; flex-direction: column;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--pr-line);
  border-radius: 22px;
  transition: box-shadow .25s, transform .25s;
}
.pr-cat:hover { box-shadow: var(--pr-shadow); transform: translateY(-2px); }
.pr-cat.tip-open { z-index: 5; }
.pr-cat-top { display: flex; align-items: center; gap: 12px; padding-right: 40px; }
.pr-cat-icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--pr-green-soft); color: var(--pr-green-dark); font-size: 1.1rem;
}
.pr .pr-cat-name { margin: 0; font-family: var(--mg-font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; color: var(--pr-ink); }
/* the main price = Meta + SENDPK for the chosen number of messages */
.pr-cat-price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; min-width: 0; }
.pr-cat-cur { font-size: .95rem; font-weight: 650; color: var(--pr-muted); }
.pr-cat-amt {
  font-family: var(--mg-font-display);
  font-size: clamp(1.9rem, 2.8vw, 2.4rem); line-height: 1; font-weight: 800; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.pr-cat-amt.is-long { font-size: clamp(1.45rem, 2vw, 1.8rem); letter-spacing: -.02em; }
.pr-cat-for { margin-top: 6px !important; font-size: .85rem; color: var(--pr-muted); font-variant-numeric: tabular-nums; }
.pr-cat-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
/* Meta and SENDPK lines: soft tinted boxes, each with its own pop-up */
.pr-cat-row {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 10px;
  padding: 9px 11px; border-radius: 12px; border: 1px solid transparent;
  cursor: help; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.pr-cat-row-meta { background: var(--pr-meta-soft); border-color: #dbe6ff; }
.pr-cat-row-sp { background: var(--pr-green-soft); border-color: #cbeadf; }
.pr-cat-row-meta:hover, .pr-cat-row-meta:focus-visible, .pr-cat-row-meta.is-open { border-color: rgba(8, 102, 255, .45); box-shadow: 0 0 0 3px rgba(8, 102, 255, .10); }
.pr-cat-row-sp:hover, .pr-cat-row-sp:focus-visible, .pr-cat-row-sp.is-open { border-color: rgba(18, 140, 126, .5); box-shadow: 0 0 0 3px rgba(18, 140, 126, .12); }
.pr-cat:hover, .pr-cat:focus-within { z-index: 4; }
.pr-row-tip {
  position: absolute; z-index: 30; left: -4px; right: -4px; bottom: calc(100% + 10px);
  padding: 12px 14px; border-radius: 14px;
  background: #1d1d1f; color: #f5f5f7; box-shadow: var(--pr-shadow-lg);
  font-size: .82rem; line-height: 1.45; font-weight: 500; text-align: left;
  opacity: 0; visibility: hidden; transform: translateY(4px); pointer-events: none;
  transition: opacity .16s, transform .16s, visibility 0s linear .16s;
}
.pr-row-tip::after { content: ""; position: absolute; top: 100%; left: 22px; border: 7px solid transparent; border-top-color: #1d1d1f; }
.pr-cat-row:hover .pr-row-tip, .pr-cat-row:focus-visible .pr-row-tip, .pr-cat-row.is-open .pr-row-tip {
  opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s, visibility 0s;
}
.pr-cat-k { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 650; color: var(--pr-ink); white-space: nowrap; }
.pr-cat-v { font-family: var(--mg-font-display); font-size: 1rem; font-weight: 750; word-spacing: .14em; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.pr-cat-row small { grid-column: 1 / -1; padding-left: 16px; margin-top: 1px; font-size: .76rem; line-height: 1.35; color: var(--pr-muted); font-variant-numeric: tabular-nums; }
.pr-cat-row-meta small { padding-left: 26px; }   /* under the word, past the logo */
.pr-cat-short { margin-top: 14px !important; padding-top: 12px; border-top: 1px solid var(--pr-line); font-size: .86rem; color: var(--pr-muted); line-height: 1.4; flex: 1 0 auto; }
.pr-cat.is-na .pr-cat-cur { display: none; }
.pr-cat.is-na .pr-cat-amt { font-size: 1.3rem; color: var(--pr-muted); letter-spacing: -.01em; }
.pr-cards-note { margin-top: 14px !important; font-size: .86rem; color: var(--pr-muted); }
.pr-for a, .pr-cards-note a { color: var(--pr-green); font-weight: 650; }
.pr-for a:hover, .pr-cards-note a:hover { text-decoration: underline; }

/* tooltip */
.pr-tip-btn {
  position: absolute; top: 18px; right: 16px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0;
  border: 1px solid var(--pr-line); border-radius: 50%;
  background: #fff; color: var(--pr-muted); font-size: 1rem;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.pr-tip-btn:hover { background: var(--pr-fill); color: var(--pr-ink); }
.pr-tip-btn:focus-visible { outline: 3px solid rgba(18, 140, 126, .45); outline-offset: 2px; }
.pr-tip-btn[aria-expanded="true"] { background: var(--pr-ink); border-color: var(--pr-ink); color: #fff; }
.pr-tip {
  position: absolute; z-index: 30; top: 60px; left: 10px; right: 10px;
  padding: 16px 18px;
  background: #1d1d1f; color: #f5f5f7;
  border-radius: 16px; box-shadow: var(--pr-shadow-lg);
  font-size: .9rem; line-height: 1.5;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility 0s linear .18s;
}
.pr-tip::before {
  content: ""; position: absolute; top: -6px; right: 22px;
  width: 12px; height: 12px; background: #1d1d1f; transform: rotate(45deg); border-radius: 2px;
}
.pr-cat.tip-open .pr-tip { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s, visibility 0s; }
.pr-tip b { display: block; color: #fff; font-size: .98rem; margin-bottom: 4px; }
.pr-tip-text { display: block; }
.pr-tip-label { display: block; margin-top: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.pr-tip ul { margin: 4px 0 0; padding-left: 18px; }
.pr-tip li { margin: 2px 0; }
.pr-tip-rule { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .72); font-size: .84rem; }

/* USD -> PKR */
.pr-fx {
  margin-top: clamp(20px, 3vw, 28px);
  padding: clamp(18px, 2.6vw, 26px);
  background: var(--pr-fill);
  border-radius: 22px;
  display: grid; gap: 16px 32px;
}
@media (min-width: 992px) {
  .pr-fx { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .pr-fx-foot { grid-column: 1 / -1; }
}
.pr-fx-text p { margin-top: 6px !important; color: var(--pr-muted); font-size: .94rem; max-width: 460px; }
.pr-fx-sum { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.pr-fx-cell {
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  flex: 1 1 140px; min-width: 0;
  background: #fff; border: 1px solid var(--pr-line); border-radius: 16px;
  padding: 12px 16px;
}
.pr-fx-cell.is-total { background: var(--pr-green-soft); border-color: rgba(18, 140, 126, .35); }
.pr-fx-k { font-size: .78rem; color: var(--pr-muted); line-height: 1.3; }
.pr-fx-v { font-family: var(--mg-font-display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pr-fx-cell.is-total .pr-fx-v { color: var(--pr-green-dark); }
.pr-fx-op { align-self: center; font-size: 1.4rem; font-weight: 600; color: var(--pr-faint); }
@media (min-width: 992px) { .pr-fx-cell { flex: 0 0 168px; } }
@media (max-width: 559px) {
  .pr-fx-sum { flex-direction: column; gap: 6px; }
  .pr-fx-cell { flex: none; flex-direction: row; align-items: center; }
  .pr-fx-op { line-height: 1; }
}
.pr-fx-foot { font-size: .86rem; color: var(--pr-muted); }
/* Meta facts + official link, at the end of the PKR box */
.pr-fx-facts { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--pr-line); display: grid; gap: 10px 28px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pr-fx-facts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .pr-fx-facts, .pr-fx-link { grid-column: 1 / -1; } }
.pr-fx-facts li { position: relative; padding-left: 28px; font-size: .88rem; line-height: 1.5; color: var(--pr-muted); }
.pr-fx-facts li i { position: absolute; left: 0; top: 1px; color: var(--pr-meta); font-size: 1rem; }
.pr-fx-facts b { color: var(--pr-ink); font-weight: 650; }
.pr-fx-facts a, .pr-fx-link a { color: var(--pr-green); font-weight: 650; }
.pr-fx-link { font-size: .86rem; color: var(--pr-muted); }

/* -- 3. Meta facts -- */
.pr-facts { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .pr-facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .pr-facts { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.pr-fact { background: #fff; border-radius: 20px; padding: 22px; }
.pr-fact > i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--pr-meta-soft); color: var(--pr-meta); font-size: 1.15rem;
}
.pr-fact h3 { font-family: var(--mg-font-display); font-size: 1.04rem; font-weight: 700; letter-spacing: -.01em; color: var(--pr-ink); margin: 14px 0 6px; }
.pr-fact p { font-size: .93rem; color: var(--pr-muted); line-height: 1.5; }
.pr-note { margin-top: 20px !important; font-size: .9rem; color: var(--pr-muted); }

/* -- 4. Packages -- */
.pr-pkgs { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pr-pkgs { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.pr-pkg {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px 22px;
  background: #fff;
  border: 1px solid var(--pr-line);
  border-radius: 24px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .25s, transform .25s;
  -webkit-tap-highlight-color: transparent;
}
.pr-pkg:hover { box-shadow: var(--pr-shadow); transform: translateY(-2px); }
.pr-pkg:focus-visible { outline: 3px solid rgba(18, 140, 126, .45); outline-offset: 2px; }
.pr-pkg.is-on { border-color: var(--pr-green); box-shadow: 0 0 0 1px var(--pr-green), 0 18px 40px -22px rgba(18, 140, 126, .65); }
.pr-pkg.is-na { cursor: default; background: var(--pr-fill); }
.pr-pkg.is-na:hover { box-shadow: none; transform: none; }
.pr-pkg-flag {
  position: absolute; top: 22px; right: 22px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
  color: var(--pr-green-dark); background: var(--pr-green-soft);
  padding: 5px 10px; border-radius: 999px;
}
.pr-pkg-name { font-size: .95rem; font-weight: 650; color: var(--pr-muted); }
.pr-pkg-price {
  display: flex; align-items: baseline; gap: 6px; margin-top: 10px;
  font-family: var(--mg-font-display); font-size: clamp(2.3rem, 3.6vw, 2.8rem); line-height: 1;
  font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.pr-pkg-cur { font-size: 1.05rem; font-weight: 650; letter-spacing: 0; color: var(--pr-muted); }
.pr-pkg-per { margin-top: 8px; font-size: .92rem; color: var(--pr-muted); }
.pr-pkg-fee { margin-top: 18px; padding: 12px 14px; background: var(--pr-fill); border-radius: 14px; font-size: .9rem; color: var(--pr-muted); line-height: 1.4; }
.pr-pkg-fee b { display: block; font-family: var(--mg-font-display); font-size: 1.2rem; color: var(--pr-ink); letter-spacing: -.01em; }
.pr-pkg.is-on .pr-pkg-fee { background: var(--pr-green-soft); }
.pr-pkg.is-on .pr-pkg-fee b { color: var(--pr-green-dark); }
.pr-pkg-list { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; font-size: .92rem; color: var(--pr-ink); }
.pr-pkg-list > span { display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.pr-pkg-list i { color: var(--pr-green); }
.pr-pkg-meta { margin-top: 14px; font-size: .84rem; color: var(--pr-meta); flex: 1 0 auto; }
.pr-pkg-pick {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--pr-line);
  font-weight: 650; font-size: .95rem; color: var(--pr-muted);
}
.pr-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c7c7cc; display: inline-block; position: relative; transition: border-color .2s, background .2s; }
.pr-pkg.is-on .pr-radio { border-color: var(--pr-green); background: var(--pr-green); }
.pr-pkg.is-on .pr-radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.pr-pkg-pick-on { display: none; color: var(--pr-green); }
.pr-pkg.is-on .pr-pkg-pick-off { display: none; }
.pr-pkg.is-on .pr-pkg-pick-on { display: inline; }
.pr-pkg-na { margin-top: 12px !important; font-size: .94rem; color: var(--pr-muted); }

.pr-pkg-after { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.pr-pkg-after p { font-size: .95rem; color: var(--pr-muted); }
.pr-pkg-after p i { color: var(--pr-green); margin-right: 4px; }
.pr-pkg-after .mg-btn { margin-left: auto; }
@media (max-width: 575px) { .pr-pkg-after .mg-btn { width: 100%; margin-left: 0; } }

/* -- Message count: slider + quick amounts + number box (in the country section; every card follows it) -- */
.pr-qty-panel { margin-top: clamp(20px, 3vw, 28px); padding: clamp(18px, 2.6vw, 26px) clamp(18px, 2.6vw, 28px) clamp(14px, 2vw, 18px); background: var(--pr-fill); border-radius: 22px; }
.pr-qty-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.pr-qty-label { margin: 0; font-family: var(--mg-font-display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; color: var(--pr-ink); }
.pr-qty-box {
  display: flex; align-items: baseline; gap: 8px;
  padding: 6px 16px 6px 6px;
  background: #fff; border: 1px solid var(--pr-line); border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.pr-qty-box:focus-within { border-color: var(--pr-green); box-shadow: var(--pr-ring); }
.pr-qty-box input {
  width: 7.2ch; min-width: 0; padding: 4px 6px;
  border: 0; background: transparent; outline: none; text-align: right;
  font-family: var(--mg-font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--pr-ink);
  font-variant-numeric: tabular-nums;
}
.pr-qty-box span { font-size: .95rem; font-weight: 600; color: var(--pr-muted); }

.pr-range {
  --pr-thumb: 28px;
  -webkit-appearance: none; appearance: none;
  display: block; width: 100%; height: var(--pr-thumb); margin: 0; padding: 0;
  border: 0; border-radius: 0; box-shadow: none;   /* the old site CSS puts a box on every input */
  background: transparent; cursor: pointer;
  touch-action: pan-y;
}
.pr-range:focus { outline: none; }
.pr-range::-webkit-slider-runnable-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(to right, var(--pr-green) 0, var(--pr-green-dark) var(--pr-pct, 0%), #dcdce1 var(--pr-pct, 0%), #dcdce1 100%);
}
.pr-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: var(--pr-thumb); height: var(--pr-thumb); margin-top: calc((8px - var(--pr-thumb)) / 2);
  border-radius: 50%; border: 4px solid #fff; background: var(--pr-green-dark);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 3px 8px rgba(0, 0, 0, .22);
  transition: transform .15s;
}
.pr-range:active::-webkit-slider-thumb { transform: scale(1.08); }
.pr-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 3px 8px rgba(0, 0, 0, .22), 0 0 0 6px rgba(18, 140, 126, .25); }
.pr-range::-moz-range-track { height: 8px; border-radius: 999px; background: #dcdce1; }
.pr-range::-moz-range-progress { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--pr-green), var(--pr-green-dark)); }
.pr-range::-moz-range-thumb {
  width: calc(var(--pr-thumb) - 8px); height: calc(var(--pr-thumb) - 8px);
  border-radius: 50%; border: 4px solid #fff; background: var(--pr-green-dark);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 3px 8px rgba(0, 0, 0, .22);
}
.pr-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 6px rgba(18, 140, 126, .25); }

/* quick amounts sit right under the thumb positions (inset by half a thumb on each side) */
.pr-miles { position: relative; height: 34px; margin-top: 8px; }
.pr-miles button {
  position: absolute; top: 0;
  left: calc(14px + (100% - 28px) * var(--i) / var(--pr-n));
  transform: translateX(-50%);
  padding: 8px 4px 4px; border: 0; background: none; cursor: pointer;
  font-size: .8rem; font-weight: 650; color: var(--pr-faint); font-variant-numeric: tabular-nums;
  border-radius: 8px; transition: color .15s;
}
.pr-miles button::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 5px; background: #d2d2d7; transform: translateX(-50%);
}
.pr-miles button:hover { color: var(--pr-ink); }
.pr-miles button.is-on { color: var(--pr-green-dark); }
.pr-miles button.is-on::before { background: var(--pr-green); }
.pr-miles button:focus-visible { outline: 2px solid rgba(18, 140, 126, .5); outline-offset: 1px; }
.pr-qty-hint { margin-top: 6px !important; font-size: .82rem; color: var(--pr-faint); }
.pr-qty-hint.is-warn { color: #b45309; }
@media (max-width: 420px) { .pr-miles button { font-size: .74rem; } }

/* -- 6. Two charges -- */
.pr-flow { list-style: none; margin: 0 0 clamp(24px, 3vw, 36px); padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
@media (min-width: 768px) { .pr-flow { grid-template-columns: repeat(4, 1fr); } }
.pr-flow li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; font-size: .9rem; color: var(--pr-muted); }
.pr-flow li b { color: var(--pr-ink); font-size: 1rem; margin-top: 8px; }
.pr-flow-n {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--pr-line); color: var(--pr-ink);
  font-family: var(--mg-font-display); font-weight: 800;
}
.pr-flow-n.pr-flow-meta { background: var(--pr-meta); border-color: var(--pr-meta); color: #fff; }
.pr-flow-n.pr-flow-sp { background: var(--pr-green); border-color: var(--pr-green); color: #fff; }
@media (min-width: 768px) {
  .pr-flow li:not(:last-child)::after {
    content: ""; position: absolute; top: 20px; left: calc(50% + 28px); right: calc(-50% + 28px);
    height: 1px; background: var(--pr-line);
  }
}

.pr-two { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pr-two { grid-template-columns: 1fr 1fr; gap: 20px; } }
.pr-who { border-radius: 24px; padding: clamp(22px, 3vw, 30px); border: 1px solid transparent; }
.pr-who-meta { background: var(--pr-meta-soft); border-color: #dbe6ff; }
.pr-who-sp { background: var(--pr-green-soft); border-color: #cbeadf; }
.pr-who .pr-h3 { margin: 4px 0 14px; }
.pr-who ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pr-who li { position: relative; padding-left: 22px; font-size: .96rem; line-height: 1.5; color: #3a3a3c; }
.pr-who li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; }
.pr-who-meta li::before { background: var(--pr-meta); }
.pr-who-sp li::before { background: var(--pr-green); }

/* -- 7. FAQ -- */
.pr-faq { background: var(--pr-fill); border-radius: 24px; padding: 4px clamp(18px, 3vw, 28px); }
.pr-faq details { border-bottom: 1px solid var(--pr-line); }
.pr-faq details:last-child { border-bottom: 0; }
.pr-faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 40px 18px 0;
  font-family: var(--mg-font-display); font-weight: 700; font-size: 1.04rem; color: var(--pr-ink);
}
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--pr-muted); transition: transform .2s;
}
.pr-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.pr-faq summary:focus-visible { outline: 3px solid rgba(18, 140, 126, .45); outline-offset: 2px; border-radius: 8px; }
.pr-faq details p { padding: 0 0 18px; color: var(--pr-muted); font-size: .97rem; line-height: 1.6; }

/* -- Done-for-you onboarding -- */
.pr-help {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--pr-line); background: #fff; box-shadow: var(--pr-shadow);
}
@media (min-width: 900px) { .pr-help { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.pr-help-main { padding: clamp(24px, 4vw, 44px); }
.pr-help-lead { margin-top: 12px !important; color: var(--pr-muted); font-size: 1.04rem; max-width: 520px; }
.pr-help-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px 24px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .pr-help-list { grid-template-columns: 1fr 1fr; } }
.pr-help-list li { display: flex; align-items: center; gap: 10px; font-size: .97rem; font-weight: 600; color: var(--pr-ink); }
.pr-help-list i { color: var(--pr-green); font-size: 1.1rem; }
.pr-help-side {
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: clamp(24px, 4vw, 44px);
  background: radial-gradient(120% 120% at 100% 0%, rgba(37, 211, 102, .16) 0%, rgba(37, 211, 102, 0) 60%), var(--pr-green-soft);
}
.pr-help-k { font-size: .84rem; font-weight: 650; color: var(--pr-green-dark); text-transform: uppercase; letter-spacing: .05em; }
.pr-help-price { display: flex; align-items: baseline; gap: 8px; font-family: var(--mg-font-display); font-size: clamp(2.6rem, 5vw, 3.4rem); line-height: 1; font-weight: 800; letter-spacing: -.04em; color: var(--pr-ink); }
.pr-help-price span { font-size: 1.1rem; font-weight: 650; letter-spacing: 0; color: var(--pr-muted); }
.pr-help-btn { margin-top: 14px; align-self: flex-start; }
@media (max-width: 559px) { .pr-help-btn { align-self: stretch; } }
.pr-help-note { margin-top: 10px !important; font-size: .88rem; font-weight: 600; color: #9a3412; display: flex; gap: 6px; }
.pr-help-need { font-size: .84rem; color: var(--pr-muted); }
.pr-video { max-width: 860px; margin: clamp(32px, 4vw, 48px) auto 0; text-align: center; }
.pr-video .pr-h4 { margin-bottom: 14px; }
.pr-video .ratio { border-radius: 22px; overflow: hidden; box-shadow: var(--pr-shadow); }

/* -- Error -- */
.pr-alert { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.pr-alert i { font-size: 1.2rem; }

@media (prefers-reduced-motion: reduce) {
  .pr *, .pr *::before, .pr *::after { transition: none !important; }
  .pr-cat:hover, .pr-pkg:hover { transform: none; }
}
