.purchase-page [hidden] { display: none !important; }
.purchase-page .site-shell { max-width: 1080px; }
.purchase-page svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.purchase-back { margin-left: auto; margin-right: 24px; }
.purchase-main { padding-top: 54px; padding-bottom: 64px; }
.purchase-heading { margin-bottom: 42px; }
.purchase-heading .eyebrow { margin-bottom: 17px; }
.purchase-heading h1 { font-size: clamp(34px,4vw,47px); line-height: 1.16; margin-bottom: 16px; }
.purchase-heading h1 span { color: var(--text-dim); }
.purchase-heading > p { font-size: 13px; color: var(--text-muted); margin: 0; }
.purchase-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,430px); gap: 64px; align-items: start; }
.purchase-product { min-width: 0; padding-top: 3px; }
.premium-art { position: relative; height: 195px; isolation: isolate; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: radial-gradient(ellipse at 52% 110%,#8f70b733,transparent 65%),var(--surface); margin-bottom: 29px; }
.premium-art-lines { position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(var(--border-2) 1px,transparent 1px),linear-gradient(90deg,var(--border-2) 1px,transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(ellipse,#000,transparent 76%); }
.premium-art-orbit { position: absolute; left: 50%; top: 46%; width: 270px; height: 107px; border: 1px solid #ad94d24a; border-radius: 50%; transform: translate(-50%,-50%) rotate(-28deg); }
.orbit-two { width: 210px; height: 132px; transform: translate(-50%,-50%) rotate(34deg); border-color: #ad94d22b; }
.premium-art-core { position: absolute; left: 50%; top: 43%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid #b7a5e436; border-radius: 25px; background: var(--page-bg); box-shadow: 0 12px 50px #8e6bb320; animation: premium-float 7s ease-in-out infinite; }
.premium-art-core img { width: 56px; height: 56px; object-fit: contain; }
.art-caption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 8px; letter-spacing: .2em; color: var(--text-dim); }
.art-spark { position: absolute; color: var(--accent); font: 16px var(--font-mono); opacity: .65; }
.spark-one { left: 20%; top: 22%; }.spark-two { right: 17%; bottom: 28%; font-size: 11px; }
.product-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.product-kicker { font-size: 10px; color: var(--text-dim); }
.product-heading h2 { font-size: 27px; margin: 4px 0 0; }
.product-heading .badge { flex-shrink: 0; }
.product-description { color: var(--text-muted); font-size: 12px; line-height: 1.9; max-width: 365px; margin: 12px 0 21px; }
.purchase-features { list-style: none; padding: 0; margin: 0; }
.purchase-features li { display: flex; gap: 14px; align-items: center; padding: 13px 0; }
.purchase-feature-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.purchase-feature-icon svg { width: 19px; height: 19px; }
.purchase-features strong { display: block; font-size: 13px; font-weight: 600; margin-bottom: 3px; }
.purchase-features li div > span { display: block; font-size: 12px; line-height: 1.7; color: var(--text-dim); }
.purchase-promise { display: flex; gap: 9px; align-items: center; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 10px; }
.purchase-promise svg { width: 14px; height: 14px; color: var(--accent); }
.purchase-order { padding: 27px 29px 20px; background: var(--surface); border: 1px solid var(--border-2); border-radius: 17px; min-width: 0; box-shadow: var(--shadow); }
.order-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.order-step { font: 9px var(--font-mono); letter-spacing: .075em; color: var(--text-dim); }
.order-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px var(--accent-soft); }
.purchase-order h2 { font-size: 22px; margin: 0 0 7px; }
.order-subtitle { font-size: 11px; color: var(--text-dim); margin-bottom: 23px; }
.purchase-account { display: flex; align-items: center; gap: 11px; padding: 14px; background: var(--field); border: 1px solid var(--border); border-radius: 11px; margin-bottom: 25px; }
.account-monogram { width: 34px; height: 34px; background: var(--accent-soft); color: var(--accent); border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; }
.purchase-account > div { min-width: 0; flex: 1; }
.field-caption { display: block; font-size: 11px; color: var(--text-dim); }
.purchase-account strong { display: block; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; margin: 2px 0; }
.purchase-account a { font-size: 11px; color: var(--accent); }
.account-check { width: 17px; height: 17px; flex-shrink: 0; color: var(--accent); }
.order-lines { display: flex; flex-direction: column; gap: 12px; margin: 0 0 21px; font-size: 12px; }
.order-lines > div { display: flex; justify-content: space-between; gap: 14px; }
.order-lines dt { color: var(--text-dim); }
.order-lines dd { margin: 0; text-align: right; }
.order-total { padding-top: 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.order-total > span { font-size: 13px; font-weight: 600; }
.order-total > div { display: flex; gap: 7px; align-items: baseline; }
.order-total strong { font-size: 37px; font-weight: 600; letter-spacing: -.06em; line-height: 1.3; }
.total-currency { font-size: 24px; color: var(--text-muted); }
.checkout-provider { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 15px; font-size: 10px; color: var(--text-dim); }
.checkout-provider a { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.checkout-provider a > span { font-size: 10px; margin-left: 3px; }
.payment-unavailable { display: flex; gap: 10px; align-items: flex-start; padding: 13px; border: 1px solid var(--border); border-radius: 10px; background: var(--accent-soft); }
.payment-unavailable > svg { width: 16px; height: 16px; margin-top: 2px; color: var(--accent); flex-shrink: 0; }
.payment-unavailable strong { font-size: 12px; font-weight: 600; }
.payment-unavailable p { font-size: 11px; color: var(--text-dim); line-height: 1.8; margin: 4px 0 0; }
.purchase-pay { width: 100%; margin-top: 16px; min-height: 46px; }
.purchase-pay:disabled { cursor: not-allowed; opacity: .65; }
.purchase-pay:disabled:hover { transform: none; background: var(--accent); }
.purchase-reassurance { display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--text-dim); font-size: 10px; margin-top: 13px; }
.purchase-reassurance svg { width: 12px; height: 12px; }
.order-help { border-top: 1px solid var(--border); margin: 21px 0 0; padding-top: 16px; font-size: 11px; color: var(--text-dim); text-align: center; }
.order-help a { color: var(--text-muted); }
.purchase-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; border-top: 1px solid var(--border); margin-top: 56px; padding-top: 30px; }
.detail-number { color: var(--accent); font: 10px var(--font-mono); }
.purchase-details h3 { font-size: 12px; margin: 12px 0 8px; }
.purchase-details p { font-size: 11px; line-height: 1.9; color: var(--text-dim); margin: 0; }
.purchase-details a, .purchase-document a { text-decoration: underline; text-underline-offset: 3px; }
.purchase-document { max-width: 850px !important; padding-block: 52px 70px; }
.purchase-document h1 { font-size: clamp(30px,4vw,43px); margin-bottom: 17px; }
.purchase-document .document-lead { color: var(--text-muted); font-size: 14px; max-width: 640px; }
.document-status { border-left: 2px solid var(--accent); padding: 12px 18px; margin: 26px 0 35px; color: var(--text-muted); font-size: 12px; background: var(--accent-soft); }
.document-status p { margin: 5px 0 0; }
.document-section { padding-block: 25px; border-top: 1px solid var(--border); }
.document-section h2 { font-size: 20px; margin: 0 0 13px; }
.document-section p, .document-section li { font-size: 13px; line-height: 1.9; color: var(--text-muted); }
.document-section ul { padding-left: 20px; margin-bottom: 0; }
.document-section p:last-child { margin-bottom: 0; }
.merchant-details { margin: 0; }
.merchant-details > div { display: grid; grid-template-columns: 175px 1fr; gap: 24px; padding-block: 12px; border-bottom: 1px solid var(--border); font-size: 12px; }
.merchant-details dt { color: var(--text-dim); }.merchant-details dd { margin: 0; overflow-wrap: anywhere; }
.merchant-details > div:last-child { border-bottom: 0; }
.document-support { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 13px; margin-top: 30px; }
.document-support h2 { font-size: 16px; margin: 0 0 6px; }.document-support p { font-size: 12px; color: var(--text-dim); margin: 0; }.document-support .button { flex-shrink: 0; text-decoration: none; }
.purchase-page .footer-links { flex-wrap: wrap; gap: 18px; }
@keyframes premium-float { 0%,100% { transform: translate(-50%,-50%); } 50% { transform: translate(-50%,-55%); } }
@media (min-width:950px) { .purchase-heading { max-width: 520px; }.purchase-order { margin-top: -139px; } }
@media (max-width:949px) { .purchase-grid { gap: 30px; grid-template-columns: minmax(0,1fr) minmax(0,390px); }.purchase-order { padding: 25px; }.purchase-heading { margin-bottom: 32px; } }
@media (max-width:760px) { .purchase-main { padding-top: 35px; }.purchase-heading h1 { font-size: 37px; }.purchase-grid { grid-template-columns: 1fr; gap: 30px; }.premium-art { height: 165px; margin-bottom: 22px; }.purchase-product { max-width: none; }.purchase-order { grid-row: 1; padding: 25px; }.purchase-details { gap: 24px; margin-top: 35px; }.purchase-back { margin-right: 3px; }.purchase-document { padding-top: 36px; } }
@media (max-width:480px) { .purchase-page .site-shell { padding-inline: 20px; }.purchase-page .brand { font-size: 21px; }.purchase-heading h1 { font-size: 34px; }.purchase-order h2 { font-size: 22px; }.purchase-details { grid-template-columns: 1fr; }.purchase-details > div { position: relative; padding-left: 30px; }.detail-number { position: absolute; left: 0; top: 2px; }.purchase-details h3 { margin-top: 0; }.purchase-page .footer-inner { padding-block: 22px; }.purchase-back { font-size: 11px; }.merchant-details > div { grid-template-columns: 1fr; gap: 5px; }.document-support { align-items: stretch; flex-direction: column; }.document-support .button { width: 100%; } }
@media (prefers-reduced-motion:reduce) { .premium-art-core { animation: none; } }
.plans-title { font-size: 13px; font-weight: 600; color: var(--text-muted); margin: 0 0 14px; }
.plan-options { display: flex; flex-direction: column; gap: 12px; }
.plan-option { display: block; width: 100%; text-align: left; padding: 18px 20px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 14px; font: inherit; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.plan-option:hover { border-color: var(--border-2); }
.plan-option[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.plan-option:disabled { cursor: default; opacity: .7; }
.plan-option-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.plan-option-head strong { font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 9px; }
.plan-option-head .badge { font-size: 9px; }
.plan-option-price { font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.plan-option-price b { font-size: 22px; font-weight: 600; color: var(--text); letter-spacing: -.04em; }
.plan-option-price small { font-size: 11px; color: var(--text-dim); }
.plan-option-lead { display: block; font-size: 11px; color: var(--text-dim); margin: 6px 0 8px; }
.plan-option ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.plan-option li { position: relative; padding-left: 19px; font-size: 12px; line-height: 1.7; color: var(--text-muted); }
.plan-option li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); }
.plan-option[aria-checked="true"] .plan-option-lead { color: var(--accent); }
.offer-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 12px; line-height: 1.6; color: var(--text-muted); cursor: pointer; }
.offer-check input { width: 16px; height: 16px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--accent); cursor: pointer; }
.offer-check a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-version { font: 11px var(--font-mono); color: var(--text-dim); margin: 6px 0 0; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 8px; padding: 14px 0; border-block: 1px solid var(--border); font-size: 12px; }
.legal-nav a { color: var(--text-muted); }
.legal-nav a:hover { color: var(--text); }
.legal-nav [aria-current] { color: var(--accent); }
.legal-missing { color: var(--text-dim); font-style: italic; }
.legal-page .document-section ul { padding-left: 20px; }
.autopay-note { font-size: 11px; line-height: 1.7; color: var(--text-dim); margin: 14px 2px 0; }
.order-status { text-align: center; padding-block: 8px 4px; }
.order-status .order-topline { text-align: left; }
.order-status-icon { width: 56px; height: 56px; margin: 6px auto 18px; border-radius: 50%; background: var(--accent-soft); position: relative; }
.order-status-icon::after { content: ''; position: absolute; inset: 0; margin: auto; }
.order-status-icon[data-kind="wait"]::after { width: 22px; height: 22px; border: 2px solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: order-spin 1s linear infinite; }
.order-status-icon[data-kind="done"]::after { content: '✓'; color: var(--accent); font-size: 26px; line-height: 56px; }
.order-status-icon[data-kind="fail"]::after { content: '!'; color: var(--accent); font-size: 24px; font-weight: 700; line-height: 56px; }
.order-status-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.order-status-actions .button { width: 100%; text-decoration: none; }
@keyframes order-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .order-status-icon[data-kind="wait"]::after { animation: none; } }
@media (max-width:760px) { .purchase-order { grid-row: auto; } }

/* Промокод на скидку */
.promo-field { margin: 4px 0 18px; }
.promo-row { display: flex; gap: 8px; }
.promo-row input { flex: 1; min-width: 0; font: inherit; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--text); background: var(--field); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.promo-row input::placeholder { text-transform: none; letter-spacing: 0; color: var(--text-dim); }
.promo-row input:focus { outline: none; border-color: var(--accent); }
.promo-row input:disabled { opacity: .7; }
.promo-apply { font: inherit; font-size: 12px; font-weight: 600; color: var(--text); background: transparent; border: 1px solid var(--border); border-radius: 10px; padding: 0 14px; cursor: pointer; }
.promo-apply:hover { border-color: var(--accent); }
.promo-apply:disabled { opacity: .6; cursor: default; }
.promo-result { font-size: 11px; margin: 7px 0 0; color: var(--text-muted); }
.promo-result.is-ok { color: var(--accent); }
.promo-result.is-error { color: #d35f5f; }
#order-discount { color: var(--accent); }
