.pricing-main { max-width: 1240px; margin: 0 auto; padding: 48px 28px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.price-card { display: flex; flex-direction: column; padding: 25px 22px 22px; border: 1px solid var(--gray-200); border-radius: var(--radius-2xl); background: var(--gray-50); min-width: 0; position: relative; transition: transform 220ms cubic-bezier(.22,1,.36,1), background-color 220ms ease-out, border-color 220ms ease-out, box-shadow 220ms ease-out; }
.price-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-card h2 { font-size: 17px; font-weight: 650; }
.price-discount { padding: 4px 9px; border-radius: var(--radius-lg); font-size: 12px; font-weight: 650; background: var(--primary-100); color: var(--primary-800); white-space: nowrap; }
.price-description { margin: 18px 0 24px; font-size: 13px; color: var(--gray-600); line-height: 1.6; }
.price-credit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 7px; font-size: 13px; line-height: 1.6; color: var(--gray-600); }
.price-credit strong { font-size: 19px; font-weight: 650; color: var(--gray-800); font-variant-numeric: tabular-nums; }
.price-credit > span { font-size: 12px; }
.price-unit { margin-bottom: 8px; font-size: 12px; color: var(--gray-600); }
.price-extra { margin: 16px 0 26px; font-size: 13px; color: var(--primary-700); line-height: 1.6; }
.price-card-bottom { margin-top: auto; }
.price-money { font-size: 25px; margin-bottom: 20px; line-height: 1.1; font-weight: 550; font-variant-numeric: tabular-nums; }
.price-money strong { font-size: clamp(38px, 3vw, 43px); font-weight: 750; letter-spacing: -0.035em; margin-left: 3px; }
.price-buy { display: flex; justify-content: space-between; width: 100%; text-decoration: none; }
.is-selected { background: var(--primary-900); border-color: var(--primary-700); color: var(--primary-50); }
.is-selected .price-description, .is-selected .price-unit, .is-selected .price-credit { color: var(--primary-200); }
.is-selected .price-credit strong { color: var(--primary-50); }
.is-selected .price-extra { color: var(--primary-100); }
.is-selected .price-buy { background: var(--primary-100); color: var(--primary-950); box-shadow: none; }
.is-selected .price-buy:hover { background: var(--primary-200); }
.pricing-purchase { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 34px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); scroll-margin-top: 95px; }
.pricing-purchase h2 { font-size: 28px; line-height: 1.35; margin: 10px 0 16px; }
.pricing-purchase p { line-height: 1.8; overflow-wrap: anywhere; }
#chosen-plan, #contact-empty { color: var(--gray-600); max-width: 65ch; }
.purchase-contacts { align-self: center; }
.purchase-contacts h3 { font-size: 17px; margin-bottom: 16px; }
.purchase-contacts > p { font-size: 15px; }
.purchase-contacts strong { margin-left: 12px; font-weight: 600; }
.purchase-contacts .hero-actions { margin: 20px 0 0; }
.pricing-page [hidden] { display: none !important; }
.pricing-page a:focus-visible, .pricing-page button:focus-visible, #purchase:focus-visible { outline: 3px solid var(--primary-500); outline-offset: 4px; }
.pricing-supplements { margin: 48px 0 56px; }
.supplement-heading { margin: 0 0 24px; }
.supplement-heading h2 { font-size: 28px; line-height: 1.4; }
html.dark .price-card:not(.is-selected) { background: var(--dark-900); border-color: var(--dark-700); }
html.dark .price-description, html.dark .price-unit, html.dark .price-credit, html.dark #chosen-plan, html.dark #contact-empty { color: var(--dark-300); }
html.dark .price-credit strong { color: var(--gray-100); }
html.dark .price-extra { color: var(--primary-300); }
html.dark .pricing-purchase { border-color: var(--dark-700); }
html.dark .is-selected .price-description, html.dark .is-selected .price-unit, html.dark .is-selected .price-credit { color: var(--primary-200); }
html.dark .price-card.is-selected .price-buy { background: var(--primary-100); color: var(--primary-950); }
html.dark .price-card.is-selected .price-buy:hover { background: var(--primary-200); }
@media (max-width: 1050px) { .pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .pricing-main { padding: 36px 20px 0; }
  .pricing-grid, .pricing-purchase { grid-template-columns: minmax(0, 1fr); }
  .price-card { padding: 24px; }
  .price-description { margin: 14px 0 22px; }
  .price-extra { margin: 18px 0 28px; }
  .pricing-purchase { gap: 24px; }
}
.checkout-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; align-items: center; }
.checkout-note { margin-top: 12px; color: var(--gray-600); font-size: 13px; max-width: 65ch; }
.checkout-orders { padding: 36px 0; scroll-margin-top: 90px; }
.checkout-orders h2 { font-size: 26px; margin-bottom: 12px; }
.checkout-orders > p { color: var(--gray-600); font-size: 14px; line-height: 1.8; }
.checkout-order { padding: 24px 0; border-bottom: 1px solid var(--gray-200); }
.checkout-order header { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: baseline; }
.checkout-order h3 { font-size: 18px; }
.checkout-summary { margin-top: 20px; max-width: 440px; }
.checkout-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--gray-200); }
.checkout-summary dt { color: var(--gray-600); font-size: 14px; }
.checkout-summary dd { margin: 0; font-size: 14px; font-weight: 600; text-align: right; }
.checkout-summary .checkout-total { font-size: 30px; color: var(--gray-900); font-variant-numeric: tabular-nums; }
.checkout-steps { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; padding: 0; margin: 22px 0 18px; color: var(--gray-500); font-size: 13px; }
.checkout-steps [aria-current="step"] { color: var(--primary-700); font-weight: 650; }
.checkout-steps .is-complete { color: var(--gray-700); }
.checkout-order .checkout-order-total { color: var(--gray-800); margin-top: 18px; }
.checkout-order-total strong { font-size: 26px; font-variant-numeric: tabular-nums; }
.checkout-order .checkout-order-id { font-size: 12px; margin-top: 18px; }
.checkout-empty { margin-top: 24px; padding: 24px 0; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); }
.checkout-order p { margin-top: 10px; font-size: 14px; color: var(--gray-600); overflow-wrap: anywhere; }
.checkout-code { display: block; width: 100%; margin-top: 14px; padding: 14px; font-size: 16px; user-select: all; overflow-wrap: anywhere; background: var(--gray-100); border-radius: var(--radius-lg); }
.checkout-status { font-size: 13px; font-weight: 600; color: var(--primary-700); }
html.dark .checkout-note, html.dark .checkout-orders > p, html.dark .checkout-order p { color: var(--dark-300); }
html.dark .checkout-code { background: var(--dark-800); }
html.dark .checkout-order { border-color: var(--dark-700); }
html.dark .checkout-status { color: var(--primary-300); }
html.dark .checkout-summary > div, html.dark .checkout-empty { border-color: var(--dark-700); }
html.dark .checkout-summary dt, html.dark .checkout-empty { color: var(--dark-300); }
html.dark .checkout-summary .checkout-total, html.dark .checkout-order .checkout-order-total { color: var(--gray-100); }
html.dark .checkout-steps [aria-current="step"] { color: var(--primary-300); }
html.dark .checkout-steps .is-complete { color: var(--dark-200); }
@media (max-width: 600px) {
  .checkout-steps { gap: 10px 16px; }
  .checkout-actions > .btn { max-width: 100%; white-space: normal; text-align: center; }
}

.price-card.is-selected { box-shadow: 0 0 0 2px var(--primary-500); }
.price-card:focus-within { border-color: var(--primary-500); }
.price-buy { align-items: center; gap: 12px; }
.price-choice-mark { font-size: 18px; line-height: 1; }
.price-bestseller { position: absolute; top: -14px; left: 20px; display: inline-flex; gap: 5px; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--amber-100); color: var(--amber-700); font-size: 12px; font-weight: 650; box-shadow: var(--shadow-card); }
.price-bestseller svg { width: 15px; height: 15px; }
html.dark .price-bestseller { background: var(--dark-800); color: var(--amber-400); border: 1px solid var(--dark-600); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .price-card:hover { transform: translateY(-4px); border-color: var(--primary-500); }
  .price-bestseller:hover svg { animation: flame-lift 500ms cubic-bezier(.22,1,.36,1); }
}
@keyframes flame-lift { 45% { transform: translateY(-2px) scale(1.12); } }
@media (max-width: 600px) {
  .pricing-grid { row-gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .price-card { transition: none; }
}

.checkout-methods { border: 0; padding: 0; margin: 24px 0 0; min-width: 0; }
.checkout-methods legend { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.checkout-method-options { display: flex; flex-wrap: wrap; gap: 12px; max-width: 440px; }
.checkout-method-options label { display: flex; align-items: center; gap: 10px; flex: 1 1 160px; padding: 14px 16px; border: 1px solid var(--gray-300); border-radius: var(--radius-lg); cursor: pointer; }
.checkout-method-options label:has(:checked) { border-color: var(--primary-600); background: var(--primary-50); }
.checkout-method-options label:has(:disabled) { cursor: not-allowed; background: var(--gray-100); }
.checkout-method-options input { accent-color: var(--primary-600); width: 16px; height: 16px; flex: none; }
.checkout-method-options input:focus-visible { outline: 3px solid var(--primary-500); outline-offset: 4px; }
.checkout-method-options strong { display: block; font-size: 14px; }
.checkout-method-options small { display: block; margin-top: 4px; color: var(--gray-600); font-size: 12px; }
.checkout-qr { margin-top: 20px; max-width: 360px; }
.checkout-qr > strong { display: block; font-size: 16px; margin-bottom: 14px; }
.checkout-qr img { display: block; width: 240px; height: 240px; max-width: 100%; object-fit: contain; border-radius: var(--radius-lg); }
.checkout-qr-expired { display: grid; place-items: center; width: 240px; max-width: 100%; aspect-ratio: 1; border: 1px solid var(--gray-300); border-radius: var(--radius-lg); background: var(--gray-100); color: var(--gray-600); font-size: 16px; font-weight: 600; }
html.dark .checkout-qr-expired { border-color: var(--dark-600); background: var(--dark-800); color: var(--dark-300); }
html.dark .checkout-method-options label { border-color: var(--dark-600); }
html.dark .checkout-method-options label:has(:checked) { background: var(--dark-800); border-color: var(--primary-400); }
html.dark .checkout-method-options label:has(:disabled) { background: var(--dark-900); }
html.dark .checkout-method-options small { color: var(--dark-300); }

html { scrollbar-gutter: stable; }
html.checkout-open { overflow: hidden; }
.checkout-dialog { margin: auto; color: var(--gray-900); width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border-radius: var(--radius-2xl); box-shadow: var(--shadow-glass); }
.checkout-dialog::backdrop { background: rgb(15 23 42 / .58); backdrop-filter: none; }
.checkout-dialog-shell { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); background: var(--gray-50); }
.checkout-dialog .checkout-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex: none; padding: 16px 24px; border-bottom: 1px solid var(--gray-200); }
.checkout-dialog-header .btn { padding: 8px 12px; font-size: 13px; flex: none; }
.checkout-dialog-body { overflow-y: auto; overscroll-behavior: contain; padding: 18px 24px; min-height: 0; }
.checkout-dialog .pricing-purchase { display: block; border: 0; padding: 0; }
.checkout-dialog .pricing-purchase h2 { font-size: 20px; margin: 0 0 6px; }
.checkout-dialog .checkout-summary, .checkout-dialog .checkout-method-options { max-width: none; }
.checkout-dialog .purchase-contacts { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--gray-200); font-size: 13px; }
.purchase-contacts summary { cursor: pointer; color: var(--gray-500); }
.checkout-dialog .purchase-contacts h3 { margin-bottom: 8px; font-size: 15px; }
.checkout-dialog .checkout-orders { padding: 0; }
.checkout-dialog .checkout-orders h2 { font-size: 20px; }
.checkout-dialog .checkout-order header { padding: 0; border: 0; }
.checkout-dialog .checkout-order:last-child { border-bottom: 0; padding-bottom: 0; }
html.dark .checkout-dialog { color: var(--gray-100); }
html.dark .checkout-dialog-shell { background: var(--dark-900); }
html.dark .checkout-dialog .checkout-dialog-header, html.dark .checkout-dialog .purchase-contacts { border-color: var(--dark-700); }
@media (max-width: 600px) {
  .checkout-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .checkout-dialog-shell { max-height: calc(100dvh - 24px); }
  .checkout-dialog .checkout-dialog-header { padding: 14px 18px; }
  .checkout-dialog-body { padding: 20px 18px; }
  .checkout-dialog .checkout-method-options label { flex-basis: 120px; padding: 12px; }
}
.checkout-dialog #purchase-kicker, .checkout-dialog .checkout-orders > h2 { display: none; }

.checkout-customer { display: flex; gap: 6px 12px; align-items: center; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--gray-200); font-size: 13px; }
.checkout-customer > p:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.checkout-customer .btn { padding: 6px 8px; font-size: 13px; flex: none; }
html.dark .checkout-customer { border-color: var(--dark-700); }
.checkout-code[hidden] { display: none; }
.checkout-dialog #chosen-plan:empty, .checkout-note:empty { display: none; }
.checkout-dialog .checkout-methods { margin-top: 16px; }
.checkout-dialog .checkout-method-options label { padding: 10px 12px; }
.checkout-dialog .checkout-actions { margin-top: 12px; gap: 8px; }
.checkout-dialog .checkout-order { padding-top: 12px; }
.checkout-dialog .checkout-order-total { margin-top: 10px; }
.checkout-dialog .checkout-qr { margin-top: 12px; }
.checkout-dialog .checkout-qr img { width: 180px; height: 180px; }
.checkout-dialog .checkout-qr-expired { width: 180px; }
.checkout-order-toolbar { display: flex; gap: 8px; align-items: center; justify-content: flex-end; }
.checkout-order-toolbar select { flex: 1; min-width: 0; padding: 8px; border: 1px solid var(--gray-300); border-radius: var(--radius-lg); background: var(--gray-50); color: inherit; font: inherit; font-size: 13px; }
.checkout-leave-warning h3 { font-size: 18px; margin-bottom: 10px; }
.checkout-leave-warning p { font-size: 14px; line-height: 1.7; }
.checkout-dialog .checkout-success { color: var(--primary-700); font-weight: 600; }
html.dark .checkout-order-toolbar select { background: var(--dark-800); border-color: var(--dark-600); }
html.dark .checkout-dialog .checkout-success { color: var(--primary-300); }

.price-card [id^="plan-"] { scroll-margin-top: calc(var(--public-header-height) + 20px); }
