/* Scoped checkout/pricing styles; no Tailwind rebuild or global overrides. */
.commerce-word-return{max-width:1100px;margin:16px auto;padding:20px 24px;border:1px solid #cbd5e1;border-radius:16px;background:#f8fafc;color:#172033}
.commerce-word-return[hidden],.commerce-return-actions [hidden]{display:none}
.commerce-word-return [hidden]{display:none}
.commerce-word-return[data-state="success"]{border-color:#99dbcb;background:#f0fdfa}
.commerce-word-return[data-state="pending"]{border-color:#fde68a;background:#fffbeb}
.commerce-word-return h2{font-size:22px;font-weight:700;margin:4px 0 8px}
.commerce-word-return #payment-return-status{font-size:14px;line-height:1.8;margin:0 0 14px;overflow-wrap:anywhere}
.commerce-return-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.commerce-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(15,23,42,.62);backdrop-filter:blur(4px)}
.commerce-dialog,.commerce-pricing{color:#172033;font-family:inherit;line-height:1.6}
.commerce-dialog *,.commerce-pricing *{box-sizing:border-box}
.commerce-dialog{width:min(1100px,100%);max-height:92vh;max-height:92dvh;display:flex;flex-direction:column;background:#fff;border-radius:20px;box-shadow:0 24px 80px #0003;overflow:hidden}
.commerce-dialog.commerce-checkout-only{max-width:500px}
.commerce-dialog.commerce-checkout-only.commerce-choice-dialog{max-width:980px}
.commerce-checkout-only .commerce-body{display:block;overflow:auto}
.commerce-checkout-only .commerce-preview{display:none}
.commerce-checkout-only .commerce-sidebar{border:0;overflow:visible}
.commerce-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e5eaf1;flex:none}
.commerce-header h2{font-size:20px;font-weight:700;margin:0}
.commerce-eyebrow{font-size:12px;letter-spacing:.04em;color:#087f8c;font-weight:650;margin:0 0 4px}
.commerce-close{border:0;background:#f1f5f9;border-radius:50%;width:36px;height:36px;font-size:24px;color:#526176;cursor:pointer;flex:none;line-height:1}
.commerce-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:0;flex:1}
.commerce-preview{overflow:auto;background:#edf1f5;padding:20px;overscroll-behavior:contain}
.commerce-preview figure{margin:0 auto 20px;max-width:680px}
.commerce-preview img{display:block;width:100%;height:auto;background:#fff;box-shadow:0 3px 16px #17203314}
.commerce-preview figcaption{font-size:12px;text-align:center;color:#64748b;margin-top:8px}
.commerce-sidebar{padding:24px;overflow:auto;border-left:1px solid #e5eaf1;overscroll-behavior:contain}
.commerce-sidebar h3{font-size:20px;font-weight:700;margin:0 0 8px}
.commerce-status{font-size:13px;color:#56657a;margin:0 0 14px;overflow-wrap:anywhere}
.commerce-status:empty{display:none}
.commerce-status.commerce-error{background:#fff1f2;color:#9f1239;padding:12px;border-radius:10px}
.commerce-dialog.commerce-member-checkout{max-width:560px;height:min(540px,calc(100vh - 48px));height:min(540px,calc(100dvh - 48px))}
.commerce-member-checkout .commerce-body{scrollbar-gutter:stable}
.commerce-member-checkout .commerce-status{display:block;min-height:42px;margin-bottom:12px}
.commerce-owned-status{font-size:14px;font-weight:650;color:#087f8c;margin:0}
.commerce-note{font-size:12px;color:#64748b;margin:10px 0}
.commerce-price{font-size:36px;line-height:1.2;font-weight:750;letter-spacing:-1px;margin:16px 0 4px;color:#0f172a}
.commerce-price small{font-size:14px;font-weight:400;letter-spacing:0;color:#64748b}
.commerce-price .commerce-original-price{display:block;font-size:17px;font-weight:400;letter-spacing:0;color:#94a3b8;line-height:1.5}
.commerce-pricing [hidden]{display:none!important}
.commerce-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid #d5dee9;border-radius:10px;background:#fff;color:#334155;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;text-align:center;transition:background .15s;line-height:1.5}
.commerce-button:hover{background:#f1f5f9}
.commerce-button.commerce-primary{background:#087f8c;color:#fff;border-color:#087f8c}
.commerce-button.commerce-primary:hover{background:#076c77}
.commerce-button.commerce-secondary{background:#f0fdfa;border-color:#b4e5df;color:#086e78}
.commerce-button:disabled{opacity:.55;cursor:wait}
.commerce-button:focus-visible,.commerce-close:focus-visible,.commerce-link:focus-visible,.commerce-pricing summary:focus-visible{outline:3px solid #67c9d2;outline-offset:3px}
.commerce-sidebar .commerce-button,.commerce-actions .commerce-button{width:100%;margin-top:10px}
.commerce-link{display:inline-block;color:#087f8c;font-size:13px;text-decoration:underline;text-underline-offset:3px;margin:12px 0}
.commerce-divider{border-top:1px solid #e5eaf1;margin-top:22px;padding-top:18px}
.commerce-mini-plans{display:grid;gap:10px;margin-top:12px}
.commerce-mini-plan{padding:12px 14px;border:1px solid #dce4ee;border-radius:12px;background:#f8fafc;min-width:0}
.commerce-mini-plan-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:15px}
.commerce-mini-plan-title span{font-size:14px;white-space:nowrap;color:#0f172a;font-weight:650}
.commerce-mini-plan .commerce-note{margin:5px 0;line-height:1.7}
.commerce-mini-plan .commerce-button{min-height:36px;padding:6px 10px;margin-top:6px;font-size:13px}
.commerce-membership-details{color:#2563eb;margin:3px 0 0;font-size:13px}
.commerce-membership-details:hover{color:#1d4ed8}
.commerce-auth-tabs{display:flex;gap:12px;margin:8px 0 16px}
.commerce-auth-tabs .commerce-button{width:auto;margin:0;min-height:28px;padding:0;border:0;border-radius:0;background:transparent;color:#2563eb;font-size:13px;font-weight:600}
.commerce-auth-tabs .commerce-button:hover{color:#1d4ed8;text-decoration:underline;text-underline-offset:3px}
.commerce-auth-field{margin:14px 0}
.commerce-auth-field label{display:block;font-size:13px;font-weight:600;color:#334155;margin-bottom:7px}
.commerce-auth-input{position:relative}
.commerce-auth-input input{width:100%;min-width:0;min-height:46px;border:1px solid #b8c5d5;border-radius:9px;padding:10px 12px;background:#fff;color:#0f172a;font-size:15px}
.commerce-auth-input input::placeholder{color:#94a3b8;font-size:13px;font-weight:400;opacity:1}
.commerce-auth-input input[autocomplete="current-password"],.commerce-auth-input input[autocomplete="new-password"]{padding-right:56px}
.commerce-auth-input input:focus-visible{border-color:#3b82f6;outline:2px solid #bfdbfe;outline-offset:1px}
.commerce-auth-input input::-ms-reveal{display:none}
.commerce-auth-input .commerce-password-toggle{position:absolute;right:4px;top:5px;width:auto;margin:0;min-height:36px;padding:5px 7px;border:0;background:transparent;font-size:12px;color:#475569}
.commerce-auth-code input{padding-right:116px}
.commerce-auth-form .commerce-auth-code-send{position:absolute;right:1px;top:1px;bottom:1px;width:104px;min-height:0;margin:0;padding:0 8px;border:0;border-left:1px solid #e2e8f0;border-radius:0 8px 8px 0;background:transparent;color:#2563eb;font-size:12px;font-weight:600;white-space:nowrap}
.commerce-auth-form .commerce-auth-code-send:hover{background:#eff6ff}
.commerce-auth-form .commerce-auth-code-send:disabled{color:#64748b;cursor:not-allowed}
.commerce-sidebar .commerce-auth-back{width:auto;min-height:32px;margin-top:14px;padding:0;border:0;background:transparent;color:#64748b;font-size:13px;font-weight:400}
.commerce-sidebar .commerce-auth-back:hover{color:#2563eb;text-decoration:underline;text-underline-offset:3px}
.commerce-auth-consent{display:flex;align-items:center;flex-wrap:wrap;gap:4px;font-size:12px;margin-top:14px;color:#64748b}
.commerce-auth-consent input{width:15px;height:15px;accent-color:#087f8c;margin-right:2px}
.commerce-auth-consent .commerce-link{font-size:12px;margin:0}
.commerce-auth-form .commerce-auth-text{background:transparent;border:0;min-height:30px;font-size:12px;justify-content:flex-end;margin-top:4px;padding:0;color:#087f8c}
.commerce-badge{display:inline-block;font-size:12px;font-weight:600;padding:3px 9px;border-radius:99px;background:#e5f6f5;color:#086e78}
.commerce-payment-code{display:block;width:200px;max-width:100%;height:auto;margin:16px auto;border:1px solid #e5eaf1;border-radius:10px}
.commerce-recovery{width:100%;font:12px monospace;border:1px solid #d5dee9;border-radius:8px;padding:10px;resize:none;overflow-wrap:anywhere}
.commerce-receipt summary{cursor:pointer;font-size:13px;color:#526176;margin-top:14px}
.commerce-checkout-only .commerce-body{display:block;overflow:auto}
.commerce-checkout-only .commerce-preview{display:none}
.commerce-checkout-only .commerce-sidebar{border:0}
.commerce-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}
.commerce-choice-card{display:flex;flex-direction:column;border:1px solid #dce4ee;border-radius:14px;background:#fff;padding:22px;min-width:0}
.commerce-choice-card.commerce-selected{border-color:#087f8c;background:linear-gradient(180deg,#f0fdfa 0,#fff 70%);box-shadow:0 0 0 1px #087f8c}
.commerce-choice-card h3{font-size:22px;line-height:1.4}
.commerce-choice-card .commerce-price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;font-size:30px;letter-spacing:0}
.commerce-choice-card .commerce-price-cycle{font-size:14px;white-space:nowrap;letter-spacing:0}
.commerce-choice-card .commerce-note{flex:1;font-size:13px;line-height:1.85;margin:14px 0}
.commerce-unavailable{background:#f8fafc}
.commerce-unavailable .commerce-button:disabled{cursor:not-allowed}
.commerce-pricing{max-width:1120px;margin:0 auto;padding:48px 24px 64px}
.commerce-pricing-hero{text-align:center;max-width:680px;margin:0 auto 32px}
.commerce-pricing-hero h1{font-size:34px;line-height:1.3;font-weight:750;letter-spacing:-.6px;margin:12px 0}
.commerce-pricing-hero p{font-size:15px;color:#64748b;margin:12px 0}
.commerce-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.commerce-plan{position:relative;display:flex;flex-direction:column;padding:28px;background:#fff;border:1px solid #dce4ee;border-radius:18px;box-shadow:0 4px 20px #17203305}
.commerce-plan.commerce-selected{border-color:#087f8c;background:linear-gradient(180deg,#f1fcfa 0,#fff 40%);box-shadow:0 0 0 1px #087f8c}
.commerce-plan h2{font-size:24px;font-weight:700;margin:0}
.commerce-plan-tagline{font-size:14px;color:#64748b;min-height:24px;margin:6px 0 4px}
.commerce-plan ul{padding:0;list-style:none;margin:24px 0;flex:1}
.commerce-plan li{font-size:14px;color:#475569;margin:12px 0;padding-left:22px;position:relative}
.commerce-plan li:before{content:'✓';position:absolute;left:0;color:#087f8c;font-weight:700}
.commerce-plan .commerce-badge{position:absolute;top:-13px;right:20px;background:#087f8c;color:#fff}
.commerce-plan .commerce-button{width:100%}
.commerce-pricing-footnote{text-align:center;font-size:13px;color:#64748b;margin:20px 0 36px}
.commerce-faq{border:1px solid #dce4ee;border-radius:16px;background:#fff;overflow:hidden}
.commerce-faq h2{font-size:18px;font-weight:700;padding:20px 24px;margin:0}
.commerce-faq details{border-top:1px solid #e5eaf1;padding:16px 24px}
.commerce-faq summary{font-size:14px;font-weight:600;cursor:pointer}
.commerce-faq p{font-size:14px;color:#64748b;margin:12px 0 0}
.commerce-pricing .commerce-restore{padding:24px;margin-top:24px;border-radius:16px;background:#f1f5f9}
.commerce-restore summary{cursor:pointer;font-size:14px;font-weight:600}
.commerce-restore label{display:block;font-size:13px;color:#64748b;margin:16px 0 8px}
.commerce-restore input{display:block;width:100%;padding:12px;border:1px solid #d5dee9;border-radius:10px;background:#fff;margin-bottom:12px}
@media(max-width:760px){
 .commerce-word-return{margin:12px 10px;padding:16px}.commerce-word-return h2{font-size:19px}
 .commerce-choice-grid{grid-template-columns:1fr}
 .commerce-overlay{padding:10px}
 .commerce-dialog{max-height:96vh;max-height:96dvh;border-radius:16px}
 .commerce-header{padding:14px 16px}.commerce-header h2{font-size:18px}
 .commerce-body{display:flex;flex-direction:column;overflow:auto}
 .commerce-preview{max-height:44vh;max-height:44dvh;flex:none;padding:12px}
 .commerce-auth-active .commerce-preview{display:none}
 .commerce-sidebar{overflow:visible;border-left:0;border-top:1px solid #e5eaf1;padding:18px}
 .commerce-sidebar h3{font-size:18px}.commerce-price{margin-top:10px;font-size:30px}
 .commerce-pricing{padding:32px 16px 40px}.commerce-pricing-hero h1{font-size:27px}
 .commerce-plans{grid-template-columns:1fr;gap:24px}.commerce-plan{padding:24px}
 .commerce-plan-tagline{min-height:0}.commerce-plan ul{margin:14px 0}.commerce-pricing-footnote{text-align:left}
}
