/* Product pages share the store's white, blue and neutral palette. */
.product-card{cursor:pointer}
.product-buy{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.product-view{padding-top:26px;padding-bottom:48px}
.product-view>.back-link{display:inline-flex;margin-bottom:22px}
.product-page-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.product-page-visual{display:flex;align-items:center;justify-content:center;background:#f3f7fb;padding:36px;min-width:0}
.product-page-art{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:380px;aspect-ratio:1;background:#e3edf6;border:1px solid #d3e2f0;border-radius:12px;color:#222;text-align:center;padding:28px}
.product-page-art>span{font-size:22px;font-weight:600}
.product-page-art>strong{font-size:clamp(38px,5vw,70px);letter-spacing:-.055em;line-height:1.2;margin-top:12px;white-space:nowrap}
.product-page-art>svg{width:64px;height:64px;margin:30px 0}
.product-page-art>small{font-size:12px;letter-spacing:.08em}
.theme-pro .product-page-art{background:#edf3f8}
.theme-max .product-page-art{background:#233d54;border-color:#233d54;color:#fff}
.product-checkout{padding:32px;min-width:0}
.product-checkout h1{font-size:28px;line-height:1.4;margin-top:12px;color:#171717;outline:none}
.product-page-subtitle{font-size:13px;color:#444;margin-top:9px}
.product-page-price{font-size:24px;font-weight:700;color:#171717;margin:22px 0 12px}
.product-page-price small{display:block;font-size:11px;font-weight:400;color:#444;margin-top:5px}
.product-checkout .plan-detail{margin-bottom:22px}
.product-checkout .plan-detail div{font-size:12px;padding:11px 0}
.product-checkout input[type=email]{display:block;width:100%;padding:12px 14px;border:1px solid #cbdcee;border-radius:9px;background:#fff;color:#222;margin-top:8px;min-height:44px;box-shadow:none}
.product-checkout .preview-notice{background:#f2f6fa;color:#333}
.product-checkout .checkbox-row{font-size:12px;line-height:1.8;margin:16px 0}
.product-checkout #create-order{min-height:46px;font-size:13px}
.product-description{border:1px solid var(--line);border-radius:16px;background:#fff;padding:30px 32px;margin-top:24px;color:#222}
.product-description>header{padding-bottom:20px;border-bottom:1px solid var(--line)}
.product-description h2{font-size:20px;color:#171717}
.product-description>header p{font-size:13px;margin-top:10px;color:#333}
.product-info-section{padding:22px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.9}
.product-info-section h3{font-size:15px;color:#171717;margin-bottom:10px}
.product-info-section p+p{margin-top:7px}
.product-info-section ul,.product-info-section ol{padding-left:22px;margin:0}
.product-info-section li+li{margin-top:7px}
.product-info-section .product-info-note{padding:12px 14px;margin-top:14px;border:1px solid #d3e2f0;border-radius:8px;background:#f2f7fc;color:#333}
.product-policy-status{display:inline-block;font-size:11px;font-weight:500;background:#edf3f9;border:1px solid #d3e2f0;border-radius:5px;padding:3px 8px;margin-left:9px;vertical-align:middle;letter-spacing:0}
.product-notes-link{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;padding:0;font-size:13px;color:#222;margin-top:22px}
@media(max-width:900px){.product-page-visual{padding:24px}.product-page-art{min-height:300px}.product-checkout{padding:24px}.product-checkout h1{font-size:24px}.product-page-art>strong{font-size:46px}}
@media(max-width:650px){.product-view{padding-top:20px;padding-bottom:36px}.product-page-top{grid-template-columns:1fr;border-radius:12px}.product-page-visual{padding:18px}.product-page-art{min-height:0;aspect-ratio:auto;padding:24px 20px}.product-page-art>span{font-size:15px}.product-page-art>strong{font-size:38px;margin-top:5px}.product-page-art>svg{width:36px;height:36px;margin:14px 0}.product-page-art>small{font-size:10px}.product-checkout{padding:22px 18px}.product-checkout h1{font-size:24px}.product-page-price{font-size:22px;margin-top:18px}.product-description{padding:22px 18px;border-radius:12px;margin-top:18px}.product-description h2{font-size:19px}.product-info-section{padding:20px 0}.product-checkout .plan-detail div{font-size:11px}.product-view>.back-link{margin-bottom:16px}}

.redemption-link{display:inline-flex;align-items:center;gap:8px;color:#222;text-decoration:underline;text-underline-offset:4px;font-size:13px;margin-top:12px}

.server-store input[type=password],#recharge-session,#preview-recharge-session,.cdk-entry input{display:block;width:100%;padding:12px;border:1px solid #cbdcee;border-radius:9px;background:#fff;color:#222;margin:8px 0 16px;font:inherit}
.server-store .order-layout{grid-template-columns:minmax(0,1fr)}
.server-store .order-status-card{overflow-wrap:anywhere}
.live-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.payment-qr{display:block;width:220px;max-width:100%;height:auto;margin:16px 0}
#live-payment,#live-recharge{margin-top:20px}
#live-recharge p,#live-order-message{margin:12px 0;font-size:13px;line-height:1.8}
#recharge-form{margin-top:16px}
.server-store button:disabled{cursor:not-allowed;opacity:.6}
.product-payment{padding-top:12px;border-top:1px solid #d3e2f0;color:#222;overflow-wrap:anywhere}
.product-payment h2{font-size:20px;margin:8px 0 14px}
.product-payment p{font-size:13px;line-height:1.8;margin:10px 0}
.product-payment .inline-order-number{font-size:11px;color:#444}
.payment-placeholder{display:flex;flex-direction:column;align-items:center;gap:9px;padding:22px 12px;margin:16px 0;border:1px dashed #a9bfd4;border-radius:10px;background:#f5f9fd;text-align:center}
.payment-placeholder>span{font-size:32px;line-height:1;color:#344b60}
.payment-placeholder small{font-size:12px}
.inline-order-link{display:inline-block;margin-top:16px}
.product-payment .payment-qr{margin:16px auto}

/* GPT recharge remains a lightweight, same-origin page. */
.recharge-view{max-width:900px;padding-top:26px;padding-bottom:56px;color:#222}
.recharge-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:36px}
.recharge-heading h1{font-size:32px;letter-spacing:-.025em;margin:10px 0;outline:none;color:#171717}
.recharge-heading p{font-size:14px;line-height:1.8;color:#333}
.recharge-steps{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0;margin:28px 0 20px}
.recharge-steps li{display:flex;gap:9px;align-items:center;padding:13px 10px;border:1px solid #d3e2f0;border-radius:8px;background:#fff;font-size:13px;white-space:nowrap}
.recharge-steps li>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#edf3f8;color:#222;flex-shrink:0;font-size:12px}
.recharge-steps .current{background:#eaf2fa;border-color:#819db9;font-weight:600}
.recharge-steps .current>span{background:#294663;color:#fff}
.recharge-steps .done{background:#f5f8fc}
.recharge-panel{padding:30px;border:1px solid #cbdcee;border-radius:14px;background:#fff;overflow-wrap:anywhere;min-height:220px}
.recharge-panel h2{font-size:21px;margin:8px 0 14px;line-height:1.5;color:#171717}
.recharge-panel p{font-size:13px;line-height:1.9;margin:12px 0}
.recharge-panel>.button{margin-top:12px}
.recharge-order{display:flex;align-items:flex-start;flex-wrap:wrap;gap:18px 30px;padding-bottom:22px;border-bottom:1px solid #dbe6f1}
.recharge-order>div{flex:1;min-width:180px}
.recharge-order span,.recharge-account>span{display:block;font-size:12px;margin-bottom:7px}
.recharge-order strong{display:block;font-size:15px;line-height:1.6}
.recharge-order .status-tag{margin-left:auto}
.recharge-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px}
.recharge-toolbar .button{white-space:nowrap;font-size:12px;padding:9px 14px}
.recharge-note{padding:12px 16px;background:#f3f7fc;border-radius:8px;font-size:12px!important;color:#333}
.recharge-account{background:#f3f7fc;border:1px solid #d3e2f0;border-radius:9px;padding:18px;margin:20px 0}
.recharge-account strong{font-size:20px;overflow-wrap:anywhere;line-height:1.6}
.recharge-panel .checkbox-row{align-items:flex-start;line-height:1.8;margin:20px 0;font-size:13px}
.recharge-panel .checkbox-row input{margin-top:5px;flex-shrink:0}
.recharge-panel label{font-size:13px}
#recharge-session,#preview-recharge-session{resize:vertical;min-height:130px}
#recharge-message:empty{display:none}
#recharge-message{color:#333;background:#f3f7fc;padding:10px 14px;border-radius:8px}
.recharge-panel button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){.recharge-view{padding-top:20px}.recharge-navigation{margin-bottom:24px}.recharge-heading h1{font-size:26px}.recharge-heading p{font-size:13px}.recharge-steps{gap:6px;margin:22px 0 16px}.recharge-steps li{flex-direction:column;gap:7px;padding:10px 3px;font-size:11px}.recharge-panel{padding:20px 16px}.recharge-order{gap:15px}.recharge-order>div{flex-basis:100%}.recharge-order .status-tag{margin-left:0}.recharge-toolbar{align-items:flex-start}.recharge-panel .live-actions{gap:8px}.recharge-panel .live-actions .button{flex:1;padding:12px 10px;font-size:12px}.recharge-account strong{font-size:18px}}

.recharge-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.recharge-tabs button{border:1px solid var(--line);background:#fff;color:#111;padding:10px 18px;border-radius:8px;cursor:pointer}.recharge-tabs button.active{background:#eaf2fa;border-color:#7698bc}.cdk-entry{display:flex;gap:12px;align-items:center;margin:10px 0 20px}.cdk-entry input{flex:1;min-width:0}.cdk-entry button{flex-shrink:0}#recharge-content label:not(.checkbox-row){display:block;margin-top:16px}.recharge-guide{padding-left:22px;line-height:2.2}.recharge-guide li{margin-bottom:12px}.recharge-tabs button:focus-visible{outline:2px solid #294966;outline-offset:3px}
@media(max-width:500px){.cdk-entry{flex-direction:column;align-items:stretch}.recharge-tabs button{padding:9px 13px}.cdk-entry input{width:100%}}

#delivered-card{display:block;width:100%;padding:14px;margin:12px 0;border:1px solid #cbdcee;border-radius:9px;color:#111;background:white;font:inherit;resize:vertical}.center-header{max-width:900px;padding:24px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dbe6f1}.center-footer{text-align:center;padding:24px;font-size:12px;border-top:1px solid #dbe6f1}.standalone-recharge .recharge-view{min-height:75vh}.redemption-link{overflow-wrap:anywhere}
