/* Checkout and offer styles are intentionally scoped to this purchase flow. */
.commerce-offer-recipient{margin-top:20px}
.commerce-shell{--commerce-border:var(--line,#29454b);--commerce-muted:var(--text-2,#b8cbd0);--commerce-accent:var(--cyan,#74cbd4);max-width:1180px;margin:0 auto;padding:48px 28px 80px;color:var(--text-1,#edf7f8);font-family:var(--font-body,Manrope,sans-serif);line-height:1.6;isolation:isolate}
.commerce-shell *{box-sizing:border-box}.commerce-shell [hidden]{display:none!important}.commerce-shell a{color:var(--commerce-accent);text-underline-offset:3px}.commerce-shell h1,.commerce-shell h2,.commerce-shell h3{font-family:var(--font-display,Onest,sans-serif);color:inherit;letter-spacing:-.025em;margin:0}.commerce-shell h1{font-size:clamp(29px,4vw,44px);line-height:1.14;font-weight:650}.commerce-shell h2{font-size:21px;line-height:1.35;font-weight:650}.commerce-shell h3{font-size:15px;line-height:1.45;font-weight:650}.commerce-shell p{margin:0}.commerce-heading{display:flex;gap:36px;align-items:flex-start;justify-content:space-between;margin-bottom:32px}.commerce-eyebrow{font:500 10px/1.5 var(--font-mono,'JetBrains Mono',monospace);letter-spacing:.13em;color:var(--commerce-muted);margin-bottom:12px!important}.commerce-lead{max-width:610px;color:var(--commerce-muted);margin-top:14px!important;font-size:15px}.commerce-market-box{width:280px;flex:0 0 auto}.commerce-label{display:block;font-size:12px;font-weight:650;margin-bottom:7px}.commerce-segment{display:flex;padding:4px;background:var(--bg-1,#0c242a);border:1px solid var(--commerce-border);border-radius:6px;gap:4px}.commerce-segment a{flex:1;text-align:center;padding:8px 14px;border-radius:3px;font-size:13px;text-decoration:none;color:var(--commerce-muted)}.commerce-segment a[aria-current]{background:var(--bg-3,#164047);color:var(--text-1,#edf7f8);box-shadow:inset 0 0 0 1px var(--commerce-border)}.commerce-kind-nav{display:flex;gap:8px;border-bottom:1px solid var(--commerce-border);margin-bottom:28px;overflow-x:auto}.commerce-kind-nav a{color:var(--commerce-muted);white-space:nowrap;padding:12px 20px;font-size:13px;font-weight:600;text-decoration:none;border-bottom:2px solid transparent}.commerce-kind-nav a[aria-current]{color:var(--text-1,#edf7f8);border-bottom-color:var(--commerce-accent)}.commerce-kind-nav a:hover{background:var(--bg-1,#0c242a)}.commerce-grid{display:grid;grid-template-columns:minmax(0,1fr) 352px;gap:24px;align-items:start}.commerce-form{display:grid;gap:20px;min-width:0}.commerce-card{background:var(--bg-1,#0c242a);border:1px solid var(--commerce-border);border-radius:8px;padding:25px;box-shadow:0 8px 24px #0000000a}.commerce-section-title{display:flex;gap:12px;align-items:center;margin-bottom:22px}.commerce-section-title>span{font:11px var(--font-mono,'JetBrains Mono',monospace);color:var(--commerce-accent);border:1px solid var(--commerce-border);border-radius:50%;width:27px;height:27px;display:grid;place-items:center;flex-shrink:0}.commerce-field{margin:0 0 17px}.commerce-field:last-child{margin-bottom:0}.commerce-field label,.commerce-methods legend{display:block;margin:0 0 7px;font-size:12px;font-weight:650;line-height:1.5;color:inherit}.commerce-optional{font-weight:400;color:var(--commerce-muted)}.commerce-field input,.commerce-field select,.commerce-field textarea{display:block;width:100%;min-height:44px;padding:11px 12px;background:var(--bg,#081a1e);border:1px solid var(--commerce-border);border-radius:4px;color:var(--text-1,#edf7f8);font-family:inherit;font-size:14px;line-height:1.45;box-shadow:none;text-transform:none;letter-spacing:normal}.commerce-field select{appearance:auto}.commerce-field textarea{resize:vertical;font-family:inherit}.commerce-field input:focus,.commerce-field select:focus,.commerce-field textarea:focus{outline:2px solid var(--commerce-accent);outline-offset:2px;border-color:var(--commerce-accent)}.commerce-shell button:focus-visible,.commerce-shell a:focus-visible,.commerce-shell summary:focus-visible,.commerce-shell input[type=checkbox]:focus-visible,.commerce-shell input[type=radio]:focus-visible{outline:2px solid var(--commerce-accent);outline-offset:4px}.commerce-shell input:disabled,.commerce-shell select:disabled{opacity:.6}.commerce-two-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.commerce-help{font-size:12px;line-height:1.65;color:var(--commerce-muted);margin-top:8px!important;overflow-wrap:anywhere}.commerce-product-description{font-size:13px;line-height:1.7;color:var(--commerce-muted);margin-top:12px!important}.commerce-license-detail{font-size:13px;border-left:2px solid var(--commerce-accent);padding:9px 13px;background:var(--bg-2,#103139);margin:18px 0}.commerce-members{margin-top:20px}.commerce-members ul{list-style:none;padding:0;margin:10px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 14px}.commerce-members li{font-size:12px;color:var(--commerce-muted);padding-left:13px;position:relative;overflow-wrap:anywhere}.commerce-members li::before{content:'✓';position:absolute;left:0;color:var(--commerce-accent);font-size:10px}.commerce-machine-details{border-top:1px solid var(--commerce-border);padding-top:15px;margin-top:22px}.commerce-machine-details summary{font-size:12px;font-weight:600;cursor:pointer}.commerce-machine-details[open] summary{margin-bottom:12px}.commerce-machine-details>.commerce-help{margin-bottom:16px!important}.commerce-country-field{max-width:100%}.commerce-currency-field{max-width:180px}.commerce-methods{border:0;padding:0;margin:20px 0 0;min-width:0}.commerce-method{display:flex;gap:11px;align-items:center;padding:13px 14px;border:1px solid var(--commerce-border);border-radius:5px;cursor:pointer;font-size:13px;margin:8px 0}.commerce-method:has(input:checked){border-color:var(--commerce-accent);background:var(--bg-2,#103139)}.commerce-method input,.commerce-accept input{appearance:auto!important;accent-color:var(--commerce-accent);width:16px;height:16px;min-width:16px;flex-shrink:0;margin:3px 0 0}.commerce-method input{margin:0}.commerce-method.is-disabled{opacity:.5;cursor:not-allowed}.commerce-summary{position:sticky;top:26px;min-width:0}.commerce-order-card h2{font-size:23px;overflow-wrap:anywhere}.commerce-total-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid var(--commerce-border)}.commerce-total-row>span{font-size:13px;color:var(--commerce-muted)}.commerce-total-row strong{font-size:29px;font-family:var(--font-display,Onest,sans-serif);font-weight:650;letter-spacing:-.035em;line-height:1.35;white-space:nowrap}.commerce-seller-summary{display:flex;flex-direction:column;gap:2px;padding:17px 0;margin-top:16px;border-top:1px solid var(--commerce-border);border-bottom:1px solid var(--commerce-border);font-size:11px;color:var(--commerce-muted);line-height:1.65}.commerce-seller-summary strong{font-weight:600;font-size:13px;color:var(--text-1,#edf7f8)}.commerce-accept{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.7;margin:21px 0 17px;cursor:pointer}.commerce-primary,.commerce-secondary{appearance:none;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:5px;font:600 14px/1.4 var(--font-body,Manrope,sans-serif);cursor:pointer;text-decoration:none!important;min-height:46px;padding:13px 17px;transition:background .15s,opacity .15s;box-shadow:none}.commerce-primary{background:var(--commerce-accent);color:var(--bg,#081a1e);border:1px solid var(--commerce-accent);width:100%}.commerce-primary span[aria-hidden]{margin-left:auto}.commerce-primary:hover:not(:disabled){filter:brightness(1.08)}.commerce-primary:disabled,.commerce-secondary:disabled{opacity:.45;cursor:not-allowed;filter:none}.commerce-secondary{background:var(--bg-2,#103139);border:1px solid var(--commerce-border);color:var(--text-1,#edf7f8);font-size:12px}.commerce-submit-note{text-align:center;font-size:11px}.commerce-support{text-align:center;font-size:12px;line-height:1.9;color:var(--commerce-muted);margin-top:17px!important}.commerce-notice,.commerce-error{padding:12px 14px;border:1px solid var(--commerce-border);border-left:3px solid var(--commerce-accent);background:var(--bg-2,#103139);border-radius:4px;font-size:12px;line-height:1.65;margin:12px 0!important;overflow-wrap:anywhere}.commerce-error{border-color:#b95d65;border-left-color:#e28c94;color:var(--danger,#f1b7bd);background:color-mix(in srgb,var(--bg-1,#0c242a),#7b2838 12%)}.commerce-order-status{margin-top:28px;max-width:802px;scroll-margin-top:24px}.commerce-order-status h2{margin-bottom:12px}.commerce-order-status>p:not(.commerce-eyebrow){font-size:14px;line-height:1.8;color:var(--commerce-muted)}.commerce-payment-details{display:grid;grid-template-columns:150px minmax(0,1fr);gap:8px 24px;padding:20px;border:1px solid var(--commerce-border);border-radius:5px;background:var(--bg,#081a1e);margin:22px 0;font-size:13px}.commerce-payment-details dt{color:var(--commerce-muted)}.commerce-payment-details dd{margin:0;overflow-wrap:anywhere;font-weight:550}.commerce-status-actions{display:flex;gap:20px;align-items:center;margin-top:20px;font-size:12px;flex-wrap:wrap}.commerce-order-status #commerce-report-form{max-width:440px;margin:22px 0}.commerce-delivery{display:grid;gap:12px;margin:20px 0;padding:20px;background:var(--bg-2,#103139);border:1px solid var(--commerce-border);border-radius:5px}.commerce-delivery code{padding:12px;background:var(--bg,#081a1e);font-family:var(--font-mono,'JetBrains Mono',monospace);word-break:break-all;user-select:all}.commerce-offer-shell{max-width:940px}.commerce-offer-heading{padding-bottom:27px;border-bottom:1px solid var(--commerce-border);margin-bottom:26px}.commerce-offer-heading h1{font-size:clamp(28px,4vw,40px)}.commerce-offer-heading .commerce-lead{max-width:720px}.commerce-offer-back{display:inline-block;margin-bottom:22px;font-size:12px}.commerce-offer-meta{display:flex;flex-wrap:wrap;gap:10px 22px;color:var(--commerce-muted);font-size:12px;margin-top:18px}.commerce-offer-seller{display:grid;grid-template-columns:140px 1fr;gap:7px 20px;font-size:13px;margin:0}.commerce-offer-seller dt{color:var(--commerce-muted)}.commerce-offer-seller dd{margin:0;overflow-wrap:anywhere}.commerce-offer-content{margin-top:28px}.commerce-offer-section{padding:24px 0;border-bottom:1px solid var(--commerce-border)}.commerce-offer-section h2{font-size:19px;margin-bottom:12px}.commerce-offer-section p,.commerce-offer-section li{font-size:14px;line-height:1.85;color:var(--commerce-muted)}.commerce-offer-section p+p{margin-top:12px}.commerce-offer-section ul{padding-left:20px;margin:12px 0}.commerce-offer-section li+li{margin-top:6px}.commerce-offer-end{margin-top:28px;max-width:360px}
@media(max-width:960px){.commerce-grid{grid-template-columns:minmax(0,1fr) 310px;gap:18px}.commerce-card{padding:21px}.commerce-heading{gap:25px}.commerce-market-box{width:250px}.commerce-total-row strong{font-size:26px}}
@media(max-width:760px){.commerce-shell{padding:30px 18px 55px}.commerce-heading{display:block}.commerce-market-box{width:100%;margin-top:24px;max-width:360px}.commerce-grid{display:flex;flex-direction:column;gap:20px}.commerce-form,.commerce-summary{width:100%}.commerce-summary{position:static}.commerce-order-card{padding:23px}.commerce-two-fields{grid-template-columns:1fr;gap:0}.commerce-kind-nav a{padding:11px 15px}.commerce-card{padding:20px}.commerce-members ul{grid-template-columns:1fr}.commerce-offer-seller{grid-template-columns:1fr;gap:3px}.commerce-offer-seller dd{margin-bottom:10px}.commerce-payment-details{grid-template-columns:1fr;gap:2px;padding:16px}.commerce-payment-details dd{margin-bottom:12px}.commerce-payment-details dd:last-child{margin-bottom:0}.commerce-total-row strong{font-size:31px}}
@media(prefers-reduced-motion:reduce){.commerce-shell *{transition:none!important;scroll-behavior:auto!important}}
@media print{.commerce-kind-nav,.commerce-market-box,.commerce-offer-back,.commerce-offer-end,.commerce-status-actions{display:none!important}.commerce-shell{max-width:none;padding:0;color:#111}.commerce-offer-section p,.commerce-offer-section li,.commerce-offer-meta,.commerce-offer-seller dt{color:#333}.commerce-card{background:transparent;border-color:#aaa;box-shadow:none}.commerce-offer-section{break-inside:avoid}.commerce-shell a{color:inherit}}

.commerce-qr{display:grid;justify-items:center;gap:8px;margin-top:6px;text-align:center}.commerce-qr img{background:#fff;padding:0;border-radius:6px;image-rendering:pixelated;max-width:100%;height:auto}
/* Группы способов оплаты (2026-11-07): автоматически / банковский перевод. */
.commerce-method-group{margin:16px 0 4px!important;font-size:11px;font-weight:650;letter-spacing:.04em;text-transform:uppercase;color:var(--commerce-muted)}.commerce-method-group:first-child{margin-top:0!important}
/* Корзина условий калькулятора (2026-11-07) */
.commerce-cart{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:12px}.commerce-cart-line{border:1px solid var(--commerce-border);border-radius:6px;padding:16px;background:var(--bg,#081a1e)}.commerce-cart-line__head{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.commerce-cart-line__head strong{font-size:15px;overflow-wrap:anywhere}.commerce-cart-line__price{font-weight:650;white-space:nowrap}.commerce-cart-line__terms{margin:10px 0 0;padding-left:18px;font-size:13px;line-height:1.7;color:var(--commerce-muted)}.commerce-cart-line__terms li{overflow-wrap:anywhere}.commerce-cart-line__actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}.commerce-cart-line__actions .commerce-secondary{min-height:36px;padding:7px 14px}.commerce-cart-add{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;font-size:13px;margin:16px 0 20px}.commerce-cart-add span{color:var(--commerce-muted)}.commerce-summary-lines{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:6px;font-size:13px}.commerce-summary-lines li{display:flex;justify-content:space-between;gap:12px}.commerce-summary-lines li span{color:var(--commerce-muted);overflow-wrap:anywhere}.commerce-summary-lines li strong{white-space:nowrap;font-weight:600}.commerce-order-lines .commerce-cart{margin:18px 0}.commerce-order-lines .commerce-delivery{margin:12px 0 0}.commerce-status-actions a.commerce-secondary{display:inline-flex}
@media (max-width:560px){.commerce-cart-line__head{flex-direction:column;gap:4px}}
/* 2026-11-08: ссылки-кнопки. Правило «.commerce-shell a» (цвет акцента) перебивало цвет текста
   кнопок: бирюзовый текст на бирюзовой кнопке не был виден. */
.commerce-shell a.commerce-primary,.commerce-shell a.commerce-primary:visited,.commerce-shell a.commerce-primary:hover{color:var(--bg,#081a1e)}
.commerce-shell a.commerce-secondary,.commerce-shell a.commerce-secondary:visited,.commerce-shell a.commerce-secondary:hover{color:var(--text-1,#edf7f8)}
