/* ═══════════════════════════════════════════════════════════════
   تُرجُمَان · pricing section (index), buy page, thank-you page
   Same language as site.css: black + #ff6a00, glass cards, logical properties (RTL + LTR).
   ═══════════════════════════════════════════════════════════════ */

/* ── «الباقات» section ─────────────────────────────────── */
.pricing .section-head { margin-block-end: clamp(26px, 3vw, 40px); }
.pr-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; inline-size: min(100%, 340px); margin: 0 auto clamp(30px, 4vw, 52px);
  padding: 5px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.pr-switch button { position: relative; z-index: 1; min-block-size: 48px; border: 0; border-radius: var(--r-pill); background: none; color: var(--muted);
  font-weight: 700; font-size: 1rem; cursor: pointer; transition: color .3s ease; -webkit-tap-highlight-color: transparent; }
.pr-switch button:hover { color: var(--text); }
.pr-switch button[aria-selected="true"] { color: var(--on-accent); }
.pr-thumb { position: absolute; inset-block: 5px; inset-inline-start: 5px; inline-size: calc(50% - 5px); border-radius: var(--r-pill); background: var(--orange);
  box-shadow: 0 10px 26px -10px rgba(255, 106, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .5s var(--ease-spring); }
.pr-switch[data-on="1"] .pr-thumb { transform: translateX(100%); }
[dir="rtl"] .pr-switch[data-on="1"] .pr-thumb { transform: translateX(-100%); }

.pr-panel[hidden] { display: none; }
.pr-panel.pr-in .pr-card { animation: pr-rise .6s var(--ease-out) both; }
.pr-panel.pr-in .pr-card:nth-child(2) { animation-delay: .07s; }
.pr-panel.pr-in .pr-card:nth-child(3) { animation-delay: .14s; }
@keyframes pr-rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

.pr-grid { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .pr-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: center; } }

@property --pr-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pr-card { position: relative; isolation: isolate; display: flex; flex-direction: column; padding: 28px 26px 24px; border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 38%), var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
  transition: transform .5s var(--ease-out), border-color .3s ease, box-shadow .4s ease; }
.pr-card:hover { transform: translateY(-5px); border-color: rgba(255, 106, 0, .45); }
.pr-card.is-best { border-color: rgba(255, 106, 0, .55);
  background: radial-gradient(130% 75% at 50% -8%, rgba(255, 106, 0, .26), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 40%), var(--glass);
  box-shadow: 0 34px 90px -34px rgba(255, 106, 0, .6), 0 0 0 1px rgba(255, 106, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .1); }
/* a slow light running around the highlighted card's edge */
.pr-card.is-best::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--pr-a), transparent 0 62%, rgba(255, 106, 0, .95) 76%, rgba(255, 255, 255, .85) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: pr-orbit 7s linear infinite; }
@keyframes pr-orbit { to { --pr-a: 360deg; } }
@media (min-width: 900px) { .pr-card.is-best { padding-block: 40px 30px; } }
.pr-badge { position: absolute; inset-block-start: -14px; inset-inline: 0; margin-inline: auto; inline-size: max-content; padding: 5px 14px; border-radius: var(--r-pill);
  background: var(--orange); color: var(--on-accent); font-weight: 700; font-size: .8rem; box-shadow: 0 8px 22px -8px rgba(255, 106, 0, .9); }
html[lang="en"] .pr-badge { letter-spacing: .02em; }
.pr-name { font-size: 1.22rem; font-weight: 700; color: var(--text); }
.pr-card.is-best .pr-name { color: var(--accent-ink); }
.pr-min { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-block-start: 14px; }
.pr-min b { font-size: clamp(2.7rem, 2.1rem + 1.8vw, 3.5rem); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pr-min span { color: var(--muted); font-size: .95rem; }
.pr-price { display: flex; align-items: baseline; gap: 8px; margin-block-start: 16px; padding-block-start: 16px; border-block-start: 1px solid var(--line); }
.pr-price b { font-size: 1.55rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.pr-price span { color: var(--muted); font-size: .92rem; font-weight: 600; }
.pr-per { color: var(--faint); font-size: .84rem; margin-block-start: 2px; }
.pr-line { color: var(--muted); font-size: .97rem; margin-block: 14px 12px; }
.pr-feats { display: grid; gap: 6px; list-style: none; margin: 0 0 22px; padding: 0; }
.pr-feats li { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: .92rem; }
.pr-feats .i { inline-size: 18px; block-size: 18px; color: var(--accent-ink); }
.pr-cta { margin-block-start: auto; inline-size: 100%; }
.pr-cta .i { transition: transform .3s var(--ease-out); }
.pr-cta:hover .i { transform: translateX(-4px); }
[dir="rtl"] .pr-cta:hover .i { transform: scaleX(-1) translateX(-4px); }
[dir="ltr"] .pr-cta:hover .i { transform: translateX(4px); }

.pr-foot { display: grid; justify-items: center; gap: 16px; margin-block-start: clamp(26px, 3vw, 38px); text-align: center; }
.pr-assure { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: var(--r-pill); color: var(--text); font-weight: 600; font-size: .98rem;
  border: 1px solid color-mix(in srgb, var(--orange) 30%, transparent); background: color-mix(in srgb, var(--orange) 8%, var(--surface)); }
.pr-assure .i { flex: none; color: var(--accent-ink); }
@media (max-width: 599px) { .pr-assure { border-radius: 18px; text-align: start; } }

.pay-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pay-badges li { display: inline-flex; align-items: center; min-block-size: 34px; padding-inline: 14px; border-radius: 10px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)), var(--bg-2); color: var(--text); font-weight: 700; font-size: .82rem; white-space: nowrap; }

/* business: one «coming soon» card until organisation accounts exist */
.pr-soon { position: relative; isolation: isolate; display: grid; justify-items: center; gap: 4px; max-inline-size: 600px; margin-inline: auto; text-align: center;
  padding: 44px clamp(22px, 5vw, 48px) 32px; border-radius: var(--r-lg); border: 1px solid rgba(255, 106, 0, .55);
  background: radial-gradient(130% 80% at 50% -10%, rgba(255, 106, 0, .24), transparent 62%), linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 40%), var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 34px 90px -34px rgba(255, 106, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .1); }
.pr-soon::after { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--pr-a), transparent 0 62%, rgba(255, 106, 0, .95) 76%, rgba(255, 255, 255, .85) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: pr-orbit 7s linear infinite; }
.pr-panel.pr-in .pr-soon { animation: pr-rise .6s var(--ease-out) both; }
.pr-soon-ic { display: grid; place-items: center; inline-size: 68px; block-size: 68px; margin-block-end: 12px; border-radius: 22px; color: var(--accent-ink);
  border: 1px solid rgba(255, 106, 0, .4); background: color-mix(in srgb, var(--orange) 12%, var(--surface));
  box-shadow: 0 14px 34px -14px rgba(255, 106, 0, .8); animation: pr-float 4.5s ease-in-out infinite; }
.pr-soon-ic .i { inline-size: 30px; block-size: 30px; }
@keyframes pr-float { 50% { transform: translateY(-6px); } }
.pr-soon .pr-name { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); color: var(--text); }
.pr-soon .pr-line { max-inline-size: 42ch; margin-block: 8px 22px; font-size: 1.02rem; }
.pr-soon .pr-cta { inline-size: auto; min-inline-size: 200px; }
@media (prefers-reduced-motion: reduce) { .pr-soon::after, .pr-soon-ic, .pr-panel.pr-in .pr-soon { animation: none !important; } }

/* ── Buy page ──────────────────────────────────────────── */
.co [hidden], .pricing [hidden] { display: none !important; }
.co { padding-block: clamp(22px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.co-wrap { position: relative; z-index: 1; }
.co-back { display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.co-back:hover { color: var(--text); }
[dir="ltr"] .co-back .i { transform: scaleX(-1); }
.co-head { margin-block: 6px clamp(18px, 3vw, 34px); }
.co-head h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
html[lang="en"] .co-head h1 { letter-spacing: -.03em; line-height: 1.08; }
.co-head .eyebrow { margin-block-end: 12px; }
.co-grid { display: grid; gap: 16px; align-items: start; }
@media (min-width: 900px) { .co-grid { grid-template-columns: 1fr 1.08fr; gap: 24px; } }
.co-card { position: relative; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.co-sum { overflow: hidden; }
.co-sum::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 60% at 100% 0%, rgba(255, 106, 0, .22), transparent 60%); }
[dir="rtl"] .co-sum::before { background: radial-gradient(90% 60% at 0% 0%, rgba(255, 106, 0, .22), transparent 60%); }

/* pack picker: three compact options, switch without going back */
.co-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 22px; padding: 5px; border: 1px solid var(--line-2); border-radius: 18px; background: rgba(0, 0, 0, .25); min-inline-size: 0; }
.co-opt { position: relative; display: grid; place-items: center; gap: 0; min-block-size: 56px; padding: 6px 4px; border-radius: 14px; cursor: pointer; text-align: center;
  transition: background .25s ease, color .25s ease; -webkit-tap-highlight-color: transparent; }
.co-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.co-opt b { font-size: .95rem; line-height: 1.3; }
.co-opt small { color: var(--faint); font-size: .76rem; line-height: 1.3; }
.co-opt:hover { background: var(--surface-2); }
.co-opt:has(input:checked) { background: var(--orange); color: var(--on-accent); box-shadow: 0 8px 22px -10px rgba(255, 106, 0, .9); }
.co-opt:has(input:checked) small { color: rgba(10, 10, 10, .72); }
.co-opt:has(input:focus-visible) { outline: 3px solid var(--text); outline-offset: 2px; }
.co-name { display: flex; align-items: center; gap: 10px; color: var(--accent-ink); font-weight: 700; font-size: 1.05rem; }
.co-name .pr-badge { position: static; margin: 0; font-size: .72rem; padding: 3px 10px; }
.co-min { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-block-start: 8px; }
.co-min b { font-size: clamp(3.4rem, 2.6rem + 3vw, 5rem); line-height: .95; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.co-min span { color: var(--muted); font-size: 1rem; }
.co-price { display: flex; align-items: baseline; gap: 8px; margin-block-start: 18px; }
.co-price b { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.co-price span { color: var(--muted); font-weight: 600; }
.co-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 18px 0 0; padding: 0; }
.co-facts li { display: inline-flex; align-items: center; gap: 7px; min-block-size: 34px; padding-inline: 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .22); color: var(--text); font-size: .86rem; font-weight: 600; }
.co-facts .i { inline-size: 16px; block-size: 16px; color: var(--accent-ink); }
.co-line { color: var(--muted); margin-block-start: 14px; font-size: .97rem; }

/* the form: one field, one button */
.co-form h2 { font-size: 1.2rem; margin-block-end: 16px; }
.co-field label { display: block; font-weight: 700; margin-block-end: 8px; }
.co-field input { inline-size: 100%; min-block-size: 58px; padding-inline: 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35);
  color: var(--text); font-size: 1.08rem; font-family: var(--font); transition: border-color .2s ease, box-shadow .2s ease; text-align: left; }
.co-field input::placeholder { color: var(--faint); }
.co-field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--glow-soft); }
.co-field input[aria-invalid="true"] { border-color: #ff5a4f; box-shadow: 0 0 0 4px rgba(255, 90, 79, .14); }
.co-hint { display: flex; align-items: flex-start; gap: 8px; margin-block-start: 10px; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.co-hint .i { inline-size: 18px; block-size: 18px; margin-block-start: 2px; color: var(--accent-ink); }
.co-err { margin-block-start: 8px; color: #ff8a80; font-size: .9rem; font-weight: 600; }
.co-chip { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--orange) 40%, transparent);
  background: color-mix(in srgb, var(--orange) 9%, rgba(0, 0, 0, .3)); }
[dir="rtl"] .co-chip { padding: 10px 12px 10px 10px; }
.co-chip[hidden], .co-field[hidden] { display: none; }
.co-chip-ic { display: grid; place-items: center; flex: none; inline-size: 40px; block-size: 40px; border-radius: 12px; background: var(--orange); color: var(--on-accent); }
.co-chip-ic .i { inline-size: 20px; block-size: 20px; }
.co-chip-t { display: grid; min-inline-size: 0; flex: 1; line-height: 1.35; }
.co-chip-t small { color: var(--muted); font-size: .8rem; }
.co-chip-t bdi { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-chip-x { flex: none; min-block-size: 44px; padding-inline: 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); font-weight: 600; cursor: pointer; }
.co-chip-x:hover { border-color: rgba(255, 106, 0, .6); }

.co-paybar { margin-block-start: 20px; }
.co-paysum { display: none; }
.co-pay { inline-size: 100%; --h: 60px; font-size: 1.1rem; font-weight: 700; }
.co-pay[disabled] { cursor: progress; }
.co-pay-t { display: inline-flex; align-items: center; gap: 8px; }
.co-pay bdi { font-variant-numeric: tabular-nums; }
.co-spin { display: none; inline-size: 20px; block-size: 20px; border-radius: 50%; border: 2.5px solid rgba(10, 10, 10, .25); border-block-start-color: var(--on-accent); animation: co-spin .8s linear infinite; }
.co-form[data-busy] .co-spin { display: inline-block; }
@keyframes co-spin { to { transform: rotate(360deg); } }
.co-consent { margin-block-start: 12px; color: var(--faint); font-size: .84rem; text-align: center; }
.co-consent a { color: var(--muted); text-underline-offset: 3px; }
.co-form .pay-badges { margin-block-start: 18px; }
.co-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-block-start: 12px; color: var(--muted); font-size: .86rem; text-align: center; }
.co-trust .i { inline-size: 16px; block-size: 16px; color: #2fbf71; flex: none; }
.co-msg { margin-block-start: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255, 138, 128, .35); background: rgba(255, 90, 79, .08); color: #ffd2cc; font-size: .92rem; }
.co-note { display: flex; align-items: flex-start; gap: 10px; margin-block-end: 16px; padding: 12px 14px; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--orange) 40%, transparent); background: color-mix(in srgb, var(--orange) 10%, transparent); font-size: .95rem; }
.co-note .i { color: var(--accent-ink); margin-block-start: 3px; }

/* mobile: the pay button lives in a sticky bar at the bottom, one thumb away */
@media (max-width: 899px) {
  .co-page { padding-block-end: 112px; }
  /* a backdrop-filter would become the fixed bar's containing block: the form card is solid on phones */
  .co-form.glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent 40%), var(--surface); }
  .co-nums { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
  .co-nums .co-price { margin: 0; }
  .co-min b { font-size: 3.3rem; }
  .co-facts { margin-block-start: 14px; }
  .co-facts li { min-block-size: 30px; font-size: .8rem; padding-inline: 10px; }
  .co-picker { margin-block-end: 16px; }
  .co-paybar { position: fixed; z-index: 70; inset-inline: 10px; inset-block-end: calc(10px + env(safe-area-inset-bottom)); margin: 0;
    display: flex; align-items: center; gap: 12px; padding: 8px; padding-inline-start: 16px; border-radius: 22px;
    background: rgba(18, 18, 18, .82); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid var(--line-2); box-shadow: 0 20px 50px -12px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
    animation: co-up .5s var(--ease-out) both; }
  .co-paysum { display: grid; min-inline-size: 0; line-height: 1.25; }
  .co-paysum small { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .co-paysum b { font-size: 1.05rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .co-pay { inline-size: auto; flex: 1; max-inline-size: 260px; margin-inline-start: auto; --h: 56px; padding-inline: 18px; border-radius: 16px; }
}
@keyframes co-up { from { transform: translateY(120%); } to { transform: none; } }

/* manual-order fallback and business request (inside the form card) */
.co-alt-view { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: 6px; }
.co-alt-view[hidden] { display: none; }
.co-ic { display: grid; place-items: center; inline-size: 64px; block-size: 64px; border-radius: 20px; background: var(--orange); color: var(--on-accent);
  box-shadow: 0 16px 40px -14px rgba(255, 106, 0, .85); }
.co-ic .i { inline-size: 30px; block-size: 30px; }
.co-alt-view h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.7rem); margin: 6px 0 0; }
.co-alt-view > p { color: var(--muted); max-inline-size: 38ch; }
.co-order { inline-size: 100%; display: grid; gap: 0; margin-block: 8px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .25); text-align: start; }
.co-order div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font-size: .94rem; }
.co-order div + div { border-block-start: 1px solid var(--line); }
.co-order dt { color: var(--muted); }
.co-order dd { margin: 0; font-weight: 700; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-alt-view .btn { inline-size: 100%; }
.co-small { color: var(--faint); font-size: .86rem; }
.co-small a { color: var(--muted); }
.co-linkbtn { min-block-size: 44px; padding-inline: 12px; border: 0; background: none; color: var(--muted); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.co-linkbtn:hover { color: var(--text); }

/* «ماذا يحدث بعد الدفع» */
.co-after { margin-block-start: clamp(40px, 5vw, 72px); }
.co-after h2, .co-faq h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-block-end: 18px; }
.co-steps { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
@media (min-width: 760px) { .co-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.co-steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); counter-increment: s; }
.co-steps .st-ic { display: grid; place-items: center; flex: none; inline-size: 46px; block-size: 46px; border-radius: 14px; background: rgba(255, 106, 0, .14); color: var(--accent-ink); }
.co-steps .st-ic .i { inline-size: 22px; block-size: 22px; }
.co-steps b { display: block; font-size: 1rem; }
.co-steps span { color: var(--muted); font-size: .9rem; }
.co-steps li::after { content: counter(s); position: absolute; inset-block-start: 10px; inset-inline-end: 14px; font-family: var(--mono); font-size: .72rem; color: var(--faint); }
.co-faq { margin-block-start: clamp(40px, 5vw, 64px); max-inline-size: 860px; }

/* ── Thank-you page ────────────────────────────────────── */
.ty-wrap { display: grid; place-items: center; min-block-size: calc(100svh - var(--header-h) - 120px); padding-block: clamp(24px, 5vw, 64px); }
.ty { position: relative; overflow: hidden; inline-size: min(100%, 560px); padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 44px); border-radius: var(--r-lg); text-align: center;
  display: grid; justify-items: center; gap: 14px; }
.ty::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 55% at 50% 0%, rgba(255, 106, 0, .2), transparent 65%); transition: opacity .6s; }
.ty[data-state="cancelled"]::before, .ty[data-state="refunded"]::before, .ty[data-state="notfound"]::before, .ty[data-state="offline"]::before { opacity: .35; }
.ty h1 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.4rem); }
.ty-text { color: var(--muted); font-size: 1.04rem; max-inline-size: 40ch; }
.ty-ic { position: relative; display: grid; place-items: center; inline-size: 104px; block-size: 104px; margin-block-end: 6px; }
.ty-ic svg { inline-size: 104px; block-size: 104px; overflow: visible; }
.ty-ring { fill: none; stroke: var(--line-2); stroke-width: 5; }
.ty-arc { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 70 260; transform-origin: 52px 52px; animation: co-spin 1.1s linear infinite; }
.ty-done { fill: none; stroke: var(--orange); stroke-width: 5; stroke-dasharray: 302; stroke-dashoffset: 302; }
.ty-tick { fill: none; stroke: var(--text); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; }
.ty-x { fill: none; stroke: var(--muted); stroke-width: 5; stroke-linecap: round; opacity: 0; }
.ty-ic::after { content: ""; position: absolute; inset: -18px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 0, .45), transparent 65%); opacity: 0; transform: scale(.6); }
.ty[data-state="paid"] .ty-arc, .ty[data-state="waiting"] .ty-arc { display: none; }
.ty[data-state="paid"] .ty-done, .ty[data-state="waiting"] .ty-done { animation: ty-draw .7s var(--ease-out) forwards; }
.ty[data-state="paid"] .ty-tick, .ty[data-state="waiting"] .ty-tick { animation: ty-draw .45s .45s var(--ease-out) forwards; }
.ty[data-state="paid"] .ty-ic::after, .ty[data-state="waiting"] .ty-ic::after { animation: ty-burst 1.2s .5s var(--ease-out) forwards; }
.ty[data-state="cancelled"] .ty-arc, .ty[data-state="refunded"] .ty-arc, .ty[data-state="notfound"] .ty-arc, .ty[data-state="offline"] .ty-arc, .ty[data-state="manual"] .ty-arc { display: none; }
.ty[data-state="cancelled"] .ty-x, .ty[data-state="refunded"] .ty-x, .ty[data-state="notfound"] .ty-x, .ty[data-state="offline"] .ty-x { opacity: 1; }
.ty[data-state="manual"] .ty-done { stroke-dashoffset: 0; }
@keyframes ty-draw { to { stroke-dashoffset: 0; } }
@keyframes ty-burst { 0% { opacity: 0; transform: scale(.6); } 40% { opacity: 1; } 100% { opacity: .35; transform: scale(1.15); } }
.ty-sum { inline-size: 100%; margin-block: 6px 4px; }
.ty-sum[hidden] { display: none; }
.ty-min { font-size: clamp(3rem, 2.4rem + 2.6vw, 4.4rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--text); }
.ty-min small { display: block; margin-block-start: 8px; font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.ty-actions { display: grid; gap: 10px; inline-size: 100%; margin-block-start: 8px; }
.ty-actions .btn { inline-size: 100%; }
.ty-actions [hidden] { display: none; }
.ty-ref { color: var(--faint); font-size: .82rem; }
.ty-ref bdi { font-family: var(--mono); letter-spacing: .02em; }

@media (prefers-reduced-motion: reduce) {
  .pr-card.is-best::after, .pr-panel.pr-in .pr-card, .co-paybar, .ty-arc { animation: none !important; }
  .ty[data-state="paid"] .ty-done, .ty[data-state="paid"] .ty-tick, .ty[data-state="waiting"] .ty-done, .ty[data-state="waiting"] .ty-tick { animation: none !important; stroke-dashoffset: 0; }
  .pr-thumb { transition: none; }
}



/* every pack lists every feature: ✗ rows are quiet and struck through */
.pr-feats li.pr-no { color: var(--faint); opacity: .7; }
.pr-feats li.pr-no > span:first-of-type { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.pr-feats li.pr-no .i { color: var(--faint); opacity: .8; }
