/* Mehr Ka Ghar shop. English, left to right, phone first; two columns on laptops (960px and up).
   Body text uses the phone's own font (no download); headings use Fraunces (18 KB). The books are Urdu,
   so their Urdu titles use the phone's Naskh font, or Vazirmatn where a computer has none. */
@font-face { font-family: "Fraunces"; src: url("/f/fr-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face {
  font-family: "Vazirmatn"; src: url("/f/vz-400.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  --paper: #fdf8f1;
  --card: #ffffff;
  --ink: #2a211b;
  --soft: #6b5b4d;
  --line: #eadfce;
  --maroon: #8e2a22;
  --maroon-dark: #6b1d17;
  --gold: #e9a91c;
  --olive: #55621f;
  --teal: #154a5c;
  --cobalt: #2b3f9e;
  --ok: #1f7a3d;
  --bad: #b3261e;
  --radius: 16px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .45em; }
h1 { font-size: 32px; }
h2 { font-size: 27px; color: var(--maroon); }
h3 { font-size: 20px; }
p { margin: 0 0 .85em; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.small { font-size: 15px; color: var(--soft); }
.nowrap { white-space: nowrap; }
.mt { margin-top: 14px; }
.mt2 { margin-top: 32px; }
.offscreen { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; }
.ur-title { font-family: "Noto Naskh Arabic", "Vazirmatn", "Segoe UI", Tahoma, sans-serif; font-size: 17px; line-height: 1.7; color: var(--soft); text-align: left; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* top and bottom bands: a thin strip of the truck-art border from the covers */
.band { height: 12px; background: url("/img/strip.webp") repeat-x center / auto 12px, var(--maroon); }
header.top { background: var(--card); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 23px; color: var(--maroon); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: none; }
.wa-small { display: inline-flex; align-items: center; font-size: 15px; font-weight: 700; color: var(--ok); text-decoration: none; padding: 7px 14px; border: 2px solid #cfe8d6; border-radius: 999px; background: #f3fbf5; white-space: nowrap; }

section { padding: 32px 0; }
.alt { background: #f7efe3; }
.section-lead { color: var(--soft); max-width: 44em; }

/* hero */
.hero { padding-top: 20px; }
.hero img.cover { width: 300px; max-width: 100%; margin: 0 auto 18px; border-radius: var(--radius); box-shadow: 0 8px 24px rgba(60, 30, 20, .18); aspect-ratio: 1 / 1; }
.eyebrow { font-size: 15px; font-weight: 700; color: var(--maroon); margin-bottom: 6px; }
.hero h1 { font-size: 34px; }
.lead { font-size: 18px; color: var(--soft); }
.price { display: inline-block; margin: 4px 0 14px; padding: 6px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--gold); font-weight: 700; font-size: 17px; }
.price b { color: var(--maroon); font-size: 24px; margin-inline-start: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 14px; }

/* buttons */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; padding: 10px 18px;
  border: 0; border-radius: 12px;
  background: var(--maroon); color: #fff;
  font: inherit; font-size: 18px; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 2px 0 var(--maroon-dark);
}
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn[disabled] { opacity: .6; }
.btn.green { background: var(--ok); box-shadow: 0 2px 0 #145a2b; }
.btn.light { background: #fff; color: var(--maroon); border: 2px solid var(--maroon); box-shadow: none; }

/* book cards */
.book { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--maroon); border-radius: var(--radius); padding: 16px; margin: 0 0 14px; }
.book .bh { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.book img { width: 72px; flex: none; border-radius: 6px; aspect-ratio: 9 / 16; object-fit: cover; box-shadow: 0 2px 8px rgba(60, 30, 20, .18); }
.book h3 { margin-bottom: 2px; }
.book .meta { font-size: 14px; color: var(--soft); }
.book ul { margin: 0; padding: 0; padding-inline-start: 20px; font-size: 16px; }
.book li { margin-bottom: 6px; }
.book.b2 { border-top-color: var(--olive); }
.book.b3 { border-top-color: var(--teal); }
.book.b4 { border-top-color: var(--cobalt); }

/* sample pages */
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.samples a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px 6px 8px; text-decoration: none; color: var(--soft); font-size: 14px; line-height: 1.4; }
.samples img { width: 100%; border-radius: 6px; aspect-ratio: 9 / 16; object-fit: cover; background: #f1e9de; margin-bottom: 6px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 14px; padding-inline-start: 50px; }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--maroon); color: #fff; font-weight: 700; text-align: center; line-height: 36px; font-size: 17px; }

/* questions */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; }
summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--maroon); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details > div { padding: 0 16px 14px; color: #3a2e25; }

/* trust section (home page) */
.trust { display: grid; grid-template-columns: 1fr; gap: 14px; }
.tcard { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--maroon); border-radius: var(--radius); padding: 16px; }
.tcard h3 { margin-bottom: 8px; }
.tcard p { font-size: 16px; }
.tcard p:last-child { margin-bottom: 0; }
.tcard ul { margin: 0 0 10px; padding: 0; padding-inline-start: 20px; font-size: 16px; }
.tcard li { margin-bottom: 6px; }
.tcard .more { font-weight: 700; font-size: 15px; }
.tcard .more::after { content: " →"; }
.tcard.t2 { border-top-color: var(--olive); }
.tcard.t3 { border-top-color: var(--teal); }
.tcard.t4 { border-top-color: var(--gold); }
.tcard.t5 { border-top-color: var(--bad); }
.tcard.t6 { border-top-color: var(--cobalt); }
.reviews-h { margin-top: 30px; color: var(--maroon); }
.reviews { display: grid; grid-template-columns: 1fr; gap: 14px; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.review blockquote { margin: 0 0 8px; font-size: 16px; }
.review figcaption { font-size: 14px; color: var(--soft); font-weight: 700; }
.cta { text-align: center; margin-top: 10px; }
.price.block { display: block; text-align: center; }

/* forms */
.field { margin: 0 0 18px; }
.field label { display: block; font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.field input[type=text], .field input[type=tel] {
  width: 100%; min-height: 54px; padding: 10px 14px;
  border: 2px solid #d9cbb8; border-radius: 12px; background: #fff;
  font: inherit; font-size: 19px; color: var(--ink);
}
.field input:focus { outline: 3px solid #f3d48a; border-color: var(--gold); }
.field .help { font-size: 14px; color: var(--soft); margin-top: 4px; }
.field .err { display: none; color: var(--bad); font-size: 15px; font-weight: 700; margin-top: 4px; }
.field.bad .err { display: block; }
.field.bad input { border-color: var(--bad); }
.file-btn { position: relative; }
.file-btn input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.preview { margin-top: 10px; }
.preview img { max-height: 260px; width: auto; margin: 0 auto; border-radius: 10px; border: 1px solid var(--line); }
.progress { height: 12px; background: #eee3d4; border-radius: 999px; overflow: hidden; margin: 12px 0 6px; }
.progress i { display: block; height: 100%; width: 0; background: var(--ok); transition: width .2s; }
.status { min-height: 1.5em; font-weight: 700; text-align: center; }
.status.bad { color: var(--bad); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
fieldset.field legend { font-weight: 700; font-size: 17px; margin-bottom: 6px; padding: 0; }
.choices { display: grid; grid-template-columns: 1fr; gap: 10px; }
.field .choice { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 2px solid #d9cbb8; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 700; font-size: 17px; margin: 0; }
.choice input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--maroon); }
.choice:has(input:checked) { border-color: var(--maroon); background: #fff6f4; }
.field.bad .choice { border-color: var(--bad); }
#tid { letter-spacing: 1px; }

.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; }
.done { text-align: center; }
.done .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 38px; line-height: 64px; margin: 6px auto 12px; }
.code-line b { font-size: 22px; color: var(--maroon); }

/* order pages: two columns on laptops, one on phones (side column hidden) */
.side { display: none; }
.resume { margin: 0 0 16px; }
.resume p { margin-bottom: 8px; }
.mini-trust { list-style: none; margin: 14px 0 0; padding: 0; font-size: 15px; color: var(--soft); }
.mini-trust li { position: relative; padding-inline-start: 24px; margin-bottom: 6px; }
.mini-trust li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: 700; }

.code-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.code-bar > div { flex: 1 1 140px; background: var(--card); border: 2px solid var(--gold); border-radius: 14px; padding: 8px 14px; }
.code-bar > div > span { display: block; font-size: 14px; color: var(--soft); }
.code-bar b { font-size: 22px; color: var(--maroon); white-space: nowrap; }

.pays { display: grid; gap: 14px; margin: 0 0 12px; }
.pay { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.pay .name { font-weight: 700; font-size: 17px; }
.pay .num { font-size: 26px; font-weight: 700; letter-spacing: .5px; margin: 2px 0; overflow-wrap: anywhere; }
.pay .holder { font-size: 15px; margin-bottom: 10px; }
.pay.jazzcash { border-color: #f1c9c4; }
.pay.easypaisa { border-color: #c7e6cf; }
.pay.raast { border-color: #c9d3f1; }
.copied { background: var(--ok) !important; box-shadow: none !important; color: #fff !important; border-color: var(--ok) !important; }

.note { background: var(--card); border: 1px solid var(--line); border-inline-start: 5px solid var(--gold); border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; font-size: 15px; }
.note.safe { border-inline-start-color: var(--teal); background: #eef6f8; }
.note.warn { border-inline-start-color: var(--bad); background: #fff4f2; }

details.where { margin: 8px 0 0; background: #faf5ee; }
details.where summary { font-size: 15px; padding: 10px 14px; color: var(--maroon); }
.receipt { max-width: 300px; margin: 4px auto 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: #333; box-shadow: 0 2px 10px rgba(60, 30, 20, .1); }
.receipt .r-ok { color: var(--ok); font-weight: 700; }
.receipt .r-amt { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.receipt .r-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 4px; border-top: 1px dashed #e5ddd2; }
.receipt .r-row.hl { background: #fff3c4; outline: 2px solid var(--gold); border-radius: 6px; font-weight: 700; }

.qr-box { text-align: center; }
.qr-box h3 { color: var(--maroon); }
.qr-box p { font-size: 15px; }
svg.qr { display: block; width: 220px; height: 220px; margin: 8px auto 0; border: 1px solid var(--line); border-radius: 10px; }
.side .box + .box { margin-top: 16px; }
.summary img { width: 150px; border-radius: 12px; margin: 0 auto 12px; }
.summary h2, .summary h3 { text-align: center; }
.summary .price { display: block; text-align: center; }
.summary .steps { font-size: 15px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 6px 0 12px; }
.summary dt { color: var(--soft); }
.summary dd { margin: 0; font-weight: 700; }

/* her books page */
.dl { display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 14px; align-items: center; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 12px; margin: 0 0 14px; text-decoration: none; color: var(--ink); }
.dl img { width: 58px; grid-row: span 2; border-radius: 6px; }
.dl .t { display: block; font-weight: 700; font-size: 18px; line-height: 1.3; }
.dl .ur-title { display: block; font-size: 15px; }
.dl .s { display: block; font-size: 14px; color: var(--soft); }
.dl .go { grid-column: 2; justify-self: start; margin-top: 8px; background: var(--maroon); color: #fff; border-radius: 10px; padding: 7px 16px; font-weight: 700; font-size: 15px; }

/* contact page */
.contact { text-align: center; }
.contact-num { font-size: 30px; font-weight: 700; color: var(--ok); margin: 2px 0 12px; white-space: nowrap; }
.official { padding: 0; padding-inline-start: 20px; }
.official li { margin-bottom: 6px; }

/* privacy and refund pages */
.legal h2 { font-size: 22px; margin-top: 22px; }
.legal ul, .legal ol { padding: 0; padding-inline-start: 22px; }
.fillme { border: 2px dashed var(--bad); background: #fff4f2; color: #7a1a14; padding: 14px; border-radius: 12px; }

footer { padding: 24px 0 30px; font-size: 15px; color: var(--soft); text-align: center; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 8px; }
footer a { color: var(--soft); }

@media (hover: hover) {
  .btn:hover { filter: brightness(1.08); }
  .btn.light:hover { background: #fff6f4; filter: none; }
  .samples a:hover, .dl:hover, .choice:hover { border-color: var(--gold); }
  .nav a:hover { color: var(--maroon); }
}

/* small tablets: two cards per row */
@media (min-width: 640px) {
  .trust, .reviews { grid-template-columns: 1fr 1fr; }
}

/* ---------- laptops and desktops ---------- */
@media (min-width: 960px) {
  body { font-size: 18px; }
  .wrap { max-width: 1160px; padding: 0 32px; }
  .wrap.narrow { max-width: 820px; }
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  h3 { font-size: 21px; }
  section { padding: 64px 0; }

  header.top .wrap { min-height: 72px; gap: 28px; }
  .brand { font-size: 28px; }
  .nav { display: flex; align-items: center; gap: 26px; margin-inline-start: auto; font-size: 16px; font-weight: 700; }
  .nav a { color: var(--ink); text-decoration: none; }
  .nav a.nav-order { color: #fff; background: var(--maroon); border-radius: 999px; padding: 7px 18px; }

  .hero { padding: 56px 0 68px; }
  .hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; align-items: center; }
  .hero img.cover { grid-column: 2; grid-row: 1; width: 460px; margin: 0; }
  .hero-text { grid-column: 1; grid-row: 1; }
  .hero h1 { font-size: 56px; }
  .lead { font-size: 20px; max-width: 32em; }
  .hero .btn { max-width: 360px; }

  .books { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .books .book { margin: 0; padding: 20px 22px; }
  .book img { width: 84px; }
  .samples { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .tcard { padding: 20px 22px; }

  #how .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 28px; }
  #how .steps li { padding: 50px 0 0; }
  .cta .price.block { display: inline-block; }
  .cta .btn { max-width: 360px; margin: 0 auto; }

  .cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
  .side { display: block; position: sticky; top: 24px; }
  .pays, .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .code-bar b { font-size: 26px; }
  .pay .num { font-size: 22px; }
  .pay .btn { font-size: 16px; min-height: 48px; }

  .dls { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .dls .dl { margin: 0; }
  .box.done { max-width: 660px; margin: 0 auto; }
  .legal .wrap { max-width: 820px; }
  .contact .btn { max-width: 360px; margin: 0 auto; }
}
@media (min-width: 960px) { .phone-only { display: none; } }
/* tablets and touch laptops: no QR (it is for moving from a laptop to a phone) */
@media (min-width: 960px) and (hover: none) { .qr-box { display: none; } }
