/* עמוד המנויים (הבעלים, 2.10: "יותר נגיש עם פחות מלל").
 *
 * מלמעלה: הכותרת, הטווח וכפתור אחד; מה מקבלים; בורר מסלול וקופסה אחת.
 * הצבעים לפי תפקיד: --iris פעולה, ולכן רק הכפתור הראשי והבורר הנבחר נושאים
 * אותו; --aqua ידע, בנקודות של "מה יש כאן"; המחיר עצמו בצבע הכותרת - מחיר
 * צבעוני נקרא כפרסומת. כל יעד נגיעה 44 לפחות. */

.pr-section { margin: 0 0 40px; outline: none; }

/* ── הכותרת: שורה, טווח, כפתור ── */
.pr-hero { padding-bottom: 30px; }
.pr-hero p { max-width: 60ch; }
.pr-range { color: var(--text); font-size: 1.05rem; }
.pr-range b { color: var(--text-heading); font-variant-numeric: tabular-nums; }
.pr-cta { margin-top: 18px; min-height: 48px; padding-inline: 26px; font-size: 1.02rem; }

/* ── מה מקבלים ── */
.pr-gets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.pr-get {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.pr-get b { font-size: 1.05rem; color: var(--text-heading); }
.pr-get span { font-size: .95rem; line-height: 1.5; color: var(--text); }
.pr-get a {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--aqua-deep);
  font-weight: 600;
}
.pr-get.is-free { background: var(--aqua-soft); border-color: transparent; }

/* ── בורר המסלול: כפתורים, הנבחר ב---iris ── */
.buy-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.buy-jump button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: var(--surface);
  color: var(--text-heading);
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
}
.buy-jump button:hover { border-color: var(--iris); }
.buy-jump button[aria-pressed="true"] { background: var(--iris); border-color: var(--iris); color: var(--on-accent); }
.buy-jump button:focus-visible, .pr-get a:focus-visible, .faq-item summary:focus-visible,
.buy-links-link:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ── קופסת המסלול ── */
.buy-group {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 18px 20px 20px;
}
.buy-group h3 { margin: 0 0 2px; font-size: 1.15rem; }
.buy-group-sub { margin: 0 0 15px; color: var(--text-muted); font-size: .92rem; }
.buy-cards {
  display: grid;
  /* auto-fill: קופסה של שתי חבילות אינה נמתחת לרוחב כפול */
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: 14px;
}

/* ── כרטיס חבילה ── */
.buy-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px 16px;
}
/* המשתלמת: מסגרת ולא צבע מלא, כדי שהאחרות לא ייראו נחותות */
.buy-card.is-best { border-color: var(--iris); box-shadow: var(--shadow); }
.buy-flag {
  position: absolute;
  top: -11px;
  inset-inline-start: 16px;
  background: var(--iris);
  color: var(--on-accent);
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.buy-card h4 { margin: 0 0 6px; font-size: 1.08rem; color: var(--text-heading); }
.buy-blurb { margin: 0 0 12px; font-size: .92rem; line-height: 1.5; color: var(--text-muted); }
.facts {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: .9rem;
  color: var(--text);
}
.facts li { padding-inline-start: 18px; position: relative; line-height: 1.5; }
.facts li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
}
/* התחתית נדבקת לתחתית הכרטיס: המחירים בשורה מיושרים */
.buy-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.price { margin: 0 0 10px; }
.price b {
  font-size: 1.72rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.btn.buy { justify-content: center; width: 100%; min-height: 48px; font-weight: 700; }
.buy-card .fine { margin: 10px 0 0; font-size: .82rem; color: var(--text-muted); text-align: center; }

/* ── בכל רכישה, ושורת התשלום ── */
.pr-perks {
  list-style: none;
  margin: 18px 0 8px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: .92rem;
  color: var(--text);
}
.pr-perks li { position: relative; padding-inline-start: 22px; }
.pr-perks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .3em;
  width: 10px;
  height: 6px;
  /* סימן וי: שמאל ותחתית פיזיים, כי הציור אינו מתהפך ב-RTL */
  border-left: 2px solid var(--aqua-deep);
  border-bottom: 2px solid var(--aqua-deep);
  transform: rotate(-45deg);
}
.pay-note { margin: 0; color: var(--text-muted); font-size: .88rem; }
.buy-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 12px 0 0; font-size: .95rem; }
.buy-links-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--aqua-deep); font-weight: 700; }

/* ── שאלות נפוצות: נפתחות לפי בקשה ── */
.faq-list { display: grid; gap: 8px; max-width: 74ch; }
.faq-item { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.faq-item summary {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 16px;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
}
.faq-item > div { padding: 0 16px 14px; color: var(--text); font-size: .95rem; line-height: 1.6; }

#have-code { margin-bottom: 44px; }

@media (max-width: 560px) {
  .buy-group { padding: 16px 14px; }
  .buy-cards { grid-template-columns: 1fr; }
  .price b { font-size: 1.6rem; }
  .pr-cta { width: 100%; justify-content: center; }
  .buy-jump button { flex: 1 1 calc(50% - 8px); }
}
@media (prefers-reduced-motion: reduce) {
  .buy-jump button, .btn.buy { transition: none; }
}

/* ── דף הביניים buy.html (הבעלים, 3.10) ──
   אותן מחלקות כמו בעמוד המחירים, ועוד שלושה: קופסת החבילה, טופס המייל
   וכפתור התשלום. ‎--iris רק לכפתור התשלום, הפעולה היחידה בדף. */
.by .pr-section { max-width: 62ch; }
.by-card {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.by-card p { margin: 0; }
.by-card-name { font-size: 1.05rem; color: var(--text-heading); }
.by-card-blurb { color: var(--text); font-size: .95rem; line-height: 1.5; }
.by-card-other { display: inline-flex; align-items: center; min-height: 44px; color: var(--aqua-deep); font-weight: 600; }
.by .pr-perks { margin-top: 14px; }
.by-mail { display: grid; gap: 10px; }
.by-mail-label { font-weight: 600; color: var(--text-heading); }
.by-mail-row { display: flex; flex-wrap: wrap; gap: 8px; }
.by-mail-in {
  flex: 1 1 220px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  text-align: left;
}
.by-mail-in:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.by-mail-ok { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.5; color: var(--text); cursor: pointer; }
.by-mail-ok input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--iris); }
.by-mail-ok a { color: var(--aqua-deep); }
.by-mail-msg { margin: 0; min-height: 1.4em; color: var(--text); font-size: .95rem; }
.by-pay .pay-note { font-size: .95rem; color: var(--text); margin-bottom: 14px; }
.by-go {
  min-height: 52px;
  padding-inline: 30px;
  border-radius: 999px;
  font-size: 1.08rem;
  font-weight: 700;
  box-shadow: 0 3px 0 var(--iris-deep), 0 8px 18px rgba(92, 63, 38, .3);
}
.by-go.primary { background: var(--iris); border-color: var(--iris); }
.by-go.primary:hover { background: var(--iris-deep); border-color: var(--iris-deep); }
@media (max-width: 599px) {
  .by-go { width: 100%; justify-content: center; }
}
