/* The Pricing section. Plan colours match the POS's Settings > Modules page (and the Modules section). */
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.pr-plan { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--pc); }
.pr-name { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--pc); }
.pr-price { display: flex; align-items: baseline; gap: 6px; }
.pr-price b { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.pr-price span { font-size: 14px; color: var(--dim); }
.pr-for { font-size: 15px; line-height: 1.5; color: var(--muted); }
.pr-list { list-style: none; padding: 14px 0 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 9px; border-top: 1px solid var(--line); }
.pr-list li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.45; }
.pr-list li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 11px; height: 6px; border-left: 2px solid var(--pc); border-bottom: 2px solid var(--pc); transform: rotate(-45deg); }
.pr-list li.pr-all { padding-left: 0; color: var(--dim); font-size: 13px; }
.pr-list li.pr-all::before { display: none; }
.pr-plan .btn { margin-top: 8px; width: 100%; }
.pr-addon { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; padding: 20px 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--pc); }
.pr-addon-text { display: flex; flex-direction: column; gap: 6px; }
.pr-addon-text p { font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 62ch; }
.pr-addon .pr-price b { font-size: 30px; }
.pr-tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin-left: 4px; }
.pr-note { text-align: center; font-size: 14px; color: var(--dim); margin-top: 22px; }

@media (max-width: 900px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pr-addon { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* Monthly / Yearly switch (pricing.js) */
.pr-billing { display: flex; width: max-content; margin: 0 auto 22px; padding: 4px; gap: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.pr-billing[hidden] { display: none; }
.pr-billing button { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 14px "Space Grotesk", sans-serif; cursor: pointer; }
.pr-billing button:hover { color: var(--text); }
.pr-billing button[aria-pressed="true"] { background: var(--chip); color: var(--text); }
.pr-free { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--on-btn); background: var(--green); padding: 2px 8px; border-radius: 999px; }
.pr-year-note { margin-top: -6px; font-size: 13px; color: var(--green); }
.pr-year-note[hidden], .pr-year-terms[hidden] { display: none; }
.pr-year-terms { margin-top: 18px; }
.pr-year-terms + .pr-note { margin-top: 8px; }
.pr-was { font-size: 20px; font-weight: 600; color: var(--faint); text-decoration-thickness: 2px; align-self: center; }
.pr-was[hidden] { display: none; }
.pr-addon-price { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.pr-addon-price .pr-year-note { margin-top: 0; }
.pr-addon .pr-was { font-size: 16px; }
@media (max-width: 560px) { .pr-addon-price { align-items: flex-start; } }
