.pay-shell.ds-shell-wide {
    max-width: 1120px;
    padding-bottom: 12px;
}
.pay-shell .ds-hero { margin-bottom: 14px; }
.pay-shell .ds-hero-copy h1 { font-size: 24px; }
.pay-steps {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}
.pay-steps li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--border-default);
    background: var(--bg-secondary);
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 700;
}
.pay-steps li.is-on {
    color: var(--text-primary);
    border-color: rgba(56, 139, 253, 0.4);
    background: rgba(31, 111, 235, 0.12);
}
.pay-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 400px);
    gap: 18px;
    align-items: start;
}
.pay-col { display: grid; gap: 12px; }
.pay-aside {
    position: sticky;
    top: 16px;
    align-self: start;
    border-color: rgba(56, 139, 253, 0.22);
    background:
        radial-gradient(420px 160px at 100% 0%, rgba(31, 111, 235, 0.12), transparent 70%),
        var(--bg-secondary);
}
.pay-product {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}
.pay-product-media {
    width: 132px;
    height: 132px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
}
.pay-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pay-product-media.is-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 22px;
}
.pay-product-copy { min-width: 0; }
.pay-stock {
    margin: 8px 0 0;
    font-size: 12.5px;
    color: var(--text-secondary);
}
.pay-id {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.pay-id-media {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pay-id-media img { width: 100%; height: 100%; object-fit: cover; }
.pay-id strong { display: block; font-size: 16px; letter-spacing: -0.02em; }
.pay-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.pay-stat {
    background: var(--bg-primary);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    padding: 10px 12px;
}
.pay-stat small {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}
.pay-stat b { font-size: 13px; font-weight: 700; }
.pay-trust {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 12px 0 0;
    list-style: none;
    border-top: 1px solid var(--border-default);
    color: var(--text-secondary);
    font-size: 12px;
}
.pay-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pay-trust li::before {
    content: "✓";
    color: #3fb950;
    font-weight: 800;
}
.pay-plan-grid {
    display: grid;
    gap: 8px;
}
.pay-plan {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-default);
    background: var(--bg-primary);
    cursor: pointer;
    font-size: 13px;
}
.pay-plan:has(input:checked) {
    border-color: rgba(56, 139, 253, 0.45);
    background: rgba(31, 111, 235, 0.08);
}
.rn-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.pay-col .ds-card,
.pay-aside {
    border-radius: 18px;
}
.pay-aside .ds-card-head,
.pay-col .ds-card-head { padding: 16px 18px 0; }
.pay-body { padding: 14px 18px 18px; }
.rn-opt {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 0;
    padding: 14px 14px 14px 40px;
    text-align: start;
    border-radius: 14px;
    border: 1px solid var(--border-default);
    background: var(--bg-primary);
    color: inherit;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    transition: border-color .15s, background .15s, transform .15s;
}
.rn-opt::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border-emphasis);
    background: var(--bg-secondary);
}
.rn-opt.is-on::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #58a6ff;
}
.rn-opt:hover { border-color: var(--border-emphasis); transform: translateY(-1px); }
.rn-opt.is-on {
    border-color: rgba(56, 139, 253, 0.55);
    background: linear-gradient(180deg, rgba(31, 111, 235, 0.16), rgba(31, 111, 235, 0.06));
    box-shadow: inset 0 0 0 1px rgba(56, 139, 253, 0.18);
}
.rn-opt strong { font-size: 13.5px; }
.rn-opt em {
    font-style: normal;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-light);
}
.rn-opt span { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.rn-opt-k { display: flex; gap: 4px; flex-wrap: wrap; min-height: 18px; }
.pay-muted { color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.pay-label {
    display: block;
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
}
.pay-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 13px;
    cursor: pointer;
}
.pay-input,
.renewal-select {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid var(--border-default);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 13px;
}
.pay-input:focus,
.renewal-select:focus {
    outline: none;
    border-color: var(--border-emphasis);
}
.pay-menu-card,
.pay-menu .pay-input {
    color-scheme: dark;
}
.pay-menu .pay-input:-webkit-autofill,
.pay-menu .pay-input:-webkit-autofill:hover,
.pay-menu .pay-input:-webkit-autofill:focus,
.pay-menu .pay-input:-webkit-autofill:active,
.pay-menu .pay-input:-internal-autofill-selected {
    -webkit-text-fill-color: #e6edf3;
    caret-color: #e6edf3;
    border-color: #30363d;
    background-color: #0d1117 !important;
    background-image: none !important;
    box-shadow: inset 0 0 0 1000px #0d1117;
    transition: background-color 99999s ease-out 0s;
}
.pay-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.pay-coupon { display: flex; gap: 8px; }
.pay-coupon .pay-input { flex: 1; }
.pay-kv,
.pay-kv-list .detail-row,
.pay-body .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-default);
    font-size: 13px;
    color: var(--text-secondary);
}
.pay-kv:last-child,
.pay-kv-list .detail-row:last-child,
.pay-body .info-row:last-child { border-bottom: 0; }
.pay-kv span:last-child,
.detail-value,
.info-value { color: var(--text-primary); font-weight: 650; }
.pay-kv-total {
    border-bottom: 0;
    margin-top: 4px;
    color: var(--text-primary);
    font-weight: 700;
}
.pay-kv-total strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--primary-light);
}
.pay-ok { color: #3fb950 !important; }
.pay-paypal { margin-top: 16px; min-height: 48px; }
.pay-flash {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 650;
    border: 1px solid var(--border-default);
    background: var(--bg-secondary);
}
.pay-flash.is-error { border-color: rgba(248,81,73,.35); color: #f85149; background: rgba(207,34,46,.1); }
.pay-flash.is-success { border-color: rgba(63,185,80,.32); color: #3fb950; background: rgba(31,136,61,.1); }
.pay-flash.is-warning { border-color: rgba(210,153,34,.35); color: #d29922; background: rgba(191,135,0,.1); }
.pay-body .product-name {
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.03em;
    margin: 6px 0 6px;
}
.pay-body .product-price {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary-light);
    margin: 8px 0 0;
}
body.ps-overlay-open { overflow: hidden; }
#dashboardPaySuccessView.is-open,
#dashboardRenewSuccessView.is-open,
#dashboardDiscordNotice.is-open {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: rgba(1, 6, 16, 0.72);
    backdrop-filter: blur(14px);
    overflow: auto;
}
.ps-overlay {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rcpt-shell { max-width: 720px; margin: 0 auto; }
.dn-card {
    position: relative;
    width: min(460px, 100%);
    padding: 18px 18px 14px;
    border-radius: 16px;
    border: 1px solid var(--border-default);
    background: var(--bg-secondary);
    box-shadow: 0 18px 48px rgba(1, 4, 9, 0.45);
    overflow: hidden;
}
.dn-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #f85149;
}
.dn-card.is-ok::before { background: #3fb950; }
.dn-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dn-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #dee0fc;
    background: rgba(88, 101, 242, 0.18);
    border: 1px solid rgba(88, 101, 242, 0.32);
}
.dn-copy { min-width: 0; flex: 1; }
.dn-copy h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: var(--text-primary);
}
.dn-body {
    margin: 8px 0 0 52px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.dn-x {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-default);
    border-radius: 9px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
}
.dn-x:hover { color: var(--text-primary); border-color: var(--border-emphasis); }
.dn-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--border-muted);
}
.dn-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    font-size: 12px;
    font-weight: 650;
    color: #f85149;
}
.dn-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.dn-card.is-ok .dn-status { color: #3fb950; }
.dn-foot .ds-btn { min-height: 34px; height: 34px; box-shadow: none; }
.rcpt.rcpt-compact {
    position: relative;
    width: min(460px, 100%);
    max-width: 460px;
    margin: 0 auto;
    padding: 22px 18px 16px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-default);
    background:
        radial-gradient(280px 120px at 50% -8%, rgba(63, 185, 80, 0.12), transparent 62%),
        linear-gradient(180deg, rgba(22, 27, 34, 0.98), rgba(13, 17, 23, 0.98));
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.45);
}
.rcpt-x {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 1;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-default);
    border-radius: 9px;
    background: rgba(13, 17, 23, 0.7);
    color: var(--text-secondary);
    cursor: pointer;
}
.rcpt-x:hover { color: var(--text-primary); border-color: rgba(56, 139, 253, 0.4); }
.rcpt-compact .rcpt-hero { margin-bottom: 14px; padding-top: 2px; }
.rcpt-compact .rcpt-check {
    width: 46px;
    height: 46px;
    margin-bottom: 10px;
    box-shadow: 0 0 0 6px rgba(31, 136, 61, 0.1);
}
.rcpt-compact .rcpt-check-ring { inset: -5px; }
.rcpt-compact h1 {
    font-size: 22px;
    margin-bottom: 4px;
}
.rcpt-compact .rcpt-sub { font-size: 13px; max-width: 28em; margin-bottom: 0; }
.rcpt-compact .rcpt-panel {
    margin-bottom: 10px;
    padding: 2px 2px 4px;
    border-radius: 14px;
    border: 1px solid var(--border-default);
    background: rgba(1, 4, 9, 0.45);
}
.rcpt-compact .rcpt-row {
    margin: 0 12px;
    padding: 8px 0;
    font-size: 13px;
    align-items: center;
}
.rcpt-compact .rcpt-row span {
    flex: 0 0 auto;
}
.rcpt-compact .rcpt-row strong {
    font-variant-numeric: tabular-nums;
    line-height: 1.35;
}
.rcpt-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.rcpt-split .rcpt-row {
    margin: 0;
    padding: 8px 12px;
}
.rcpt-split .rcpt-row + .rcpt-row {
    border-top: 0;
    border-inline-start: 1px solid var(--border-default);
}
.rcpt-compact .rcpt-row.is-total {
    margin: 4px 8px;
    padding: 10px 12px;
    border-radius: 11px;
    background: linear-gradient(90deg, rgba(31, 111, 235, 0.16), rgba(31, 111, 235, 0.06));
}
.rcpt-compact .rcpt-row.is-total strong { font-size: 16px; color: var(--primary-light); }
.rcpt-paid {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    direction: ltr;
}
.rcpt-paid-usd {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 650;
}
.rcpt-paid-sar {
    color: var(--primary-light);
    font-size: 16px;
    font-weight: 750;
}
.rcpt-compact .rcpt-row.is-mono strong {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 11.5px;
    font-weight: 650;
    letter-spacing: -0.03em;
    max-width: 70%;
}
.rcpt-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(63, 185, 80, 0.14);
    color: #3fb950;
    font-style: normal;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: capitalize;
}
.rcpt-last4 {
    display: inline-flex;
    align-items: center;
    margin-inline-start: 6px;
    padding: 1px 7px;
    border-radius: 7px;
    border: 1px solid var(--border-default);
    background: rgba(1, 4, 9, 0.55);
    color: var(--text-primary);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.rcpt-compact .rcpt-panel-key {
    background: rgba(1, 4, 9, 0.45);
    border-color: var(--border-default);
}
.rcpt-compact .rcpt-code-row { padding: 8px 10px 10px; gap: 8px; }
.rcpt-compact .rcpt-code-row code {
    padding: 9px 11px;
    font-size: 12.5px;
    border-radius: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
}
.rcpt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: -0.01em;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    color: var(--text-primary);
    background: var(--bg-primary);
    box-shadow: none;
    outline: none;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.rcpt-btn svg { flex-shrink: 0; }
.rcpt-btn:disabled { opacity: 0.6; cursor: wait; }
.rcpt-btn:focus {
    outline: none;
    box-shadow: none;
}
.rcpt-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.18);
}
.rcpt-btn-primary {
    width: 100%;
    height: 44px;
    color: #f0f6fc;
    background: var(--primary);
    border-color: #0858c5;
}
.rcpt-btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    border-color: #0750b3;
    box-shadow: none;
}
.rcpt-btn-primary:active:not(:disabled) {
    background: var(--primary-active);
}
.rcpt-btn-primary:focus {
    box-shadow: none;
}
.rcpt-btn-primary:focus-visible {
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.22);
}
.rcpt-btn-secondary {
    width: 100%;
    min-height: 42px;
    height: auto;
    padding: 10px 10px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-color: rgba(240, 246, 252, 0.07);
    border-radius: 10px;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
}
.rcpt-btn-secondary:hover:not(:disabled) {
    color: var(--text-primary);
    background: var(--bg-elevated);
    border-color: rgba(240, 246, 252, 0.1);
}
.rcpt-btn-copy {
    height: 40px;
    min-width: 88px;
    padding: 0 12px;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border-color: rgba(240, 246, 252, 0.07);
    border-radius: 10px;
    font-size: 12.5px;
}
.rcpt-btn-copy:hover:not(:disabled) {
    color: var(--text-primary);
    background: var(--bg-elevated);
    border-color: rgba(240, 246, 252, 0.1);
}
.rcpt-btn-copy.is-copied {
    color: #3fb950;
    border-color: rgba(63, 185, 80, 0.18);
    background: rgba(31, 136, 61, 0.12);
    box-shadow: none;
}
.rcpt-compact .rcpt-actions { margin-top: 14px; flex-direction: column; align-items: stretch; gap: 8px; }
.rcpt-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}
@media (max-width: 420px) {
    .rcpt-actions-row { grid-template-columns: 1fr; }
    .rcpt-btn-secondary { height: 40px; font-size: 12.5px; }
}
.rcpt {
    max-width: 640px;
    margin: 12px auto 0;
    padding: 32px 28px 26px;
    border-radius: 22px;
    border: 1px solid var(--border-default);
    background:
        radial-gradient(520px 220px at 50% -10%, rgba(63, 185, 80, 0.16), transparent 58%),
        radial-gradient(380px 160px at 100% 100%, rgba(31, 111, 235, 0.1), transparent 70%),
        rgba(13, 17, 23, 0.96);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.35);
}
.rcpt-hero,
.rcpt-state { text-align: center; }
.rcpt-ok { text-align: center; }
.rcpt-hero { margin-bottom: 22px; }
.rcpt-kicker {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3fb950;
}
.rcpt-state .rcpt-kicker { color: var(--text-secondary); }
.rcpt h1 {
    margin: 0 0 8px;
    font-size: 30px;
    font-weight: 780;
    letter-spacing: -0.045em;
}
.rcpt-sub {
    margin: 0 auto;
    max-width: 34em;
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.55;
}
.rcpt-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.rcpt-pills li {
    font-size: 11.5px;
    font-weight: 750;
    color: var(--text-secondary);
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--border-default);
    background: rgba(22, 27, 34, 0.72);
}
.rcpt-check {
    position: relative;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3fb950;
    background: rgba(31, 136, 61, 0.18);
    border: 1px solid rgba(63, 185, 80, 0.38);
    box-shadow: 0 0 0 8px rgba(31, 136, 61, 0.08);
}
.rcpt-check-ring {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(63, 185, 80, 0.22);
    pointer-events: none;
}
.rcpt-check.is-err {
    color: #f85149;
    background: rgba(207, 34, 46, 0.14);
    border-color: rgba(248, 81, 73, 0.3);
    box-shadow: 0 0 0 8px rgba(207, 34, 46, 0.08);
    font-weight: 800;
}
.rcpt-check.is-err .rcpt-check-ring { border-color: rgba(248, 81, 73, 0.22); }
.rcpt-check.is-wait {
    color: var(--text-secondary);
    border-color: var(--border-default);
    background: var(--bg-primary);
    box-shadow: none;
    animation: rcptPulse 1s ease-in-out infinite;
}
.rcpt-check.is-wait .rcpt-check-ring {
    border-color: rgba(56, 139, 253, 0.35);
    animation: rcptSpin 1.1s linear infinite;
}
@keyframes rcptPulse {
    0%, 100% { opacity: .45; }
    50% { opacity: 1; }
}
@keyframes rcptSpin {
    to { transform: rotate(360deg); }
}
.rcpt-panel {
    text-align: start;
    margin: 0 0 12px;
    padding: 4px 4px 8px;
    background: rgba(1, 4, 9, 0.38);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    overflow: hidden;
}
.rcpt-panel-h {
    padding: 12px 14px 0;
}
.rcpt-panel > .rcpt-panel-label {
    padding: 12px 14px 0;
}
.rcpt-panel-label {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.rcpt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin: 0 10px;
    padding: 12px 4px;
    border-top: 1px solid var(--border-default);
    font-size: 13.5px;
    color: var(--text-secondary);
}
.rcpt-row:first-child { border-top: 0; }
.rcpt-row strong {
    color: var(--text-primary);
    font-weight: 720;
    text-align: end;
    word-break: break-word;
}
.rcpt-row.is-total {
    margin: 4px 8px 6px;
    padding: 12px 10px;
    border: 0;
    border-radius: 12px;
    background: rgba(31, 111, 235, 0.1);
    color: var(--text-secondary);
}
.rcpt-row.is-total strong {
    font-size: 18px;
    font-weight: 780;
    letter-spacing: -0.03em;
}
.rcpt-panel-key {
    background:
        linear-gradient(180deg, rgba(31, 111, 235, 0.08), transparent 42%),
        rgba(1, 4, 9, 0.42);
    border-color: rgba(56, 139, 253, 0.28);
}
.rcpt-code-row {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 12px 12px 10px;
}
.rcpt-code-row code {
    flex: 1;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-default);
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 0.03em;
    word-break: break-all;
}
.rcpt-copy.is-copied {
    color: #3fb950;
    border-color: rgba(63, 185, 80, 0.35);
    background: rgba(31, 136, 61, 0.14);
}
.rcpt-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.rcpt-download {
    display: block;
    width: calc(100% - 24px);
    margin: 8px 12px 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: #3fb950;
    background: rgba(31, 136, 61, 0.12);
    border: 1px solid rgba(63, 185, 80, 0.28);
    cursor: pointer;
}
.rcpt-download:disabled {
    opacity: 0.65;
    cursor: wait;
}
.rcpt-notes {
    margin: 0 12px 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(191, 135, 0, 0.08);
    border: 1px solid rgba(210, 153, 34, 0.22);
}
.rcpt-warn {
    margin: 0 12px 8px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #f85149;
    background: rgba(207, 34, 46, 0.08);
    border: 1px solid rgba(248, 81, 73, 0.22);
}
.rcpt-note {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: start;
    font-size: 13px;
    color: var(--text-secondary);
    background: rgba(207, 34, 46, 0.08);
    border: 1px solid rgba(248, 81, 73, 0.22);
}
@media (max-width: 640px) {
    .rcpt { padding: 24px 16px 20px; }
    .rcpt h1 { font-size: 24px; }
    .rcpt-code-row { flex-wrap: wrap; }
    .rcpt-code-row .ds-btn { width: 100%; }
    .rcpt-actions .ds-btn { width: 100%; }
}
.option-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 12px 14px;
}
.option-card.selected { border-color: rgba(56,139,253,.45); background: rgba(31,111,235,.08); }
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}
.status-expired { background: rgba(207,34,46,.12); color: #f85149; }
.status-expiring { background: rgba(191,135,0,.12); color: #d29922; }
.status-active { background: rgba(31,136,61,.12); color: #3fb950; }
.discount-badge {
    display: inline-flex;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    background: rgba(31,136,61,.16);
    color: #3fb950;
}
@media (max-width: 900px) {
    .pay-layout { grid-template-columns: 1fr; }
    .pay-aside { position: static; }
    .pay-product { grid-template-columns: 88px 1fr; }
    .pay-product-media { width: 88px; height: 88px; }
    .rn-options { grid-template-columns: 1fr; }
    .pay-stats { grid-template-columns: 1fr; }
}

#dashboardCheckoutView .co-shell.ds-shell-wide {
    max-width: none;
    margin: 0;
    padding-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
#dashboardCheckoutView .ds-back { margin-bottom: 0; }
.co-shell .pay-steps { margin: 0; }
.co-shell .pay-flash { margin: 0; }
.co-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 380px);
    gap: 14px;
    align-items: start;
    align-content: start;
    flex: 0 0 auto;
    height: auto;
}
.co-side {
    display: contents;
}
#dashboardCheckoutView .co-layout > .pay-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    gap: 14px;
    grid-column: 1;
    grid-row: 1;
}
#dashboardCheckoutView .co-summary {
    grid-column: 2;
    grid-row: 1;
}
.co-product-panel {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 100%;
}
.co-assure,
.co-ip-panel.is-open,
#dashboardCheckoutView .co-layout > #coLe {
    grid-column: 1 / -1;
}
#dashboardCheckoutView .co-ip-panel.is-open,
#dashboardCheckoutView .co-layout > #coLe {
    grid-row: 2;
}
#dashboardCheckoutView .co-assure {
    grid-row: 3;
}
#dashboardCheckoutView .co-layout > #coLe {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px;
    border-color: rgba(70, 80, 94, 0.32);
    background:
        radial-gradient(560px 140px at 0% 0%, rgba(76, 104, 141, 0.16), transparent 68%),
        rgba(22, 27, 34, 0.88);
}
#dashboardCheckoutView #coLe .stc-ico {
    background: rgba(75, 101, 139, 0.22);
    color: #d6e3ee;
    border-color: rgba(66, 65, 70, 0.4);
}
#dashboardCheckoutView #coLe .co-le-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 12px;
}
#dashboardCheckoutView #coLe .co-panel-h { margin: 0; align-items: center; flex: 1 1 auto; min-width: 0; }
#dashboardCheckoutView #coLe .co-le-hint {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(42, 53, 66, 0.32);
    background: rgba(28, 42, 59, 0.45);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
#dashboardCheckoutView #coLe .co-le-hint .co-le-ico { color: #4b80c76b; }
#dashboardCheckoutView #coLe .co-le-body,
#dashboardCheckoutView #coLe.is-kind .co-le-body {
    display: grid;
    grid-template-columns: minmax(160px, 0.8fr) minmax(0, 1.15fr);
    gap: 12px 14px;
    align-items: end;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid rgba(102, 139, 187, 0.22);
}
#dashboardCheckoutView #coLe.is-kind .co-le-body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
#dashboardCheckoutView #coLe .co-le-group { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
#dashboardCheckoutView #coLe .co-le-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
}
#dashboardCheckoutView #coLe .co-le-ico svg { width: 13px; height: 13px; display: block; }
#dashboardCheckoutView #coLe .pay-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
#dashboardCheckoutView #coLe .pay-label .co-le-ico { color: #4b80c76b; }
#dashboardCheckoutView #coLe .pay-plan-grid {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 4px;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    background: var(--bg-primary);
}
#dashboardCheckoutView #coLe .pay-plan {
    position: relative;
    flex: 1 1 0;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 36px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    box-shadow: none;
    transition: color .16s ease, background .16s ease, border-color .16s ease;
}
#dashboardCheckoutView #coLe .pay-plan input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}
#dashboardCheckoutView #coLe .pay-plan span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
#dashboardCheckoutView #coLe .pay-plan .co-le-ico,
#dashboardCheckoutView #coLe .pay-plan .co-le-ico svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
}
#dashboardCheckoutView #coLe .pay-plan .co-le-ico { opacity: 0.7; }
#dashboardCheckoutView #coLe .co-le-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 15px;
    min-width: 18px;
    padding: 0 3px;
    border-radius: 4px;
    border: 1px solid currentColor;
    font-style: normal;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    flex: 0 0 auto;
    opacity: 0.85;
}
#dashboardCheckoutView #coLe .pay-plan:hover .co-le-badge,
#dashboardCheckoutView #coLe .pay-plan:has(input:checked) .co-le-badge { opacity: 1; }
#dashboardCheckoutView #coLe .pay-plan:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}
#dashboardCheckoutView #coLe .pay-plan:hover .co-le-ico,
#dashboardCheckoutView #coLe .pay-plan:has(input:checked) .co-le-ico { opacity: 1; }
#dashboardCheckoutView #coLe .pay-plan:has(input:checked) {
    color: #f7f4ff;
    border-color: #45434952;
    background: #4887da50;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
#dashboardCheckoutView #coLe .pay-plan:has(input:checked):hover {
    color: #f7f4ff;
    border-color: #56535c52;
    background: #4580ce6b;
}
#dashboardCheckoutView #coLe .pay-plan:has(input:focus-visible) {
    border-color: #c8bddc;
}
@media (max-width: 900px) {
    #dashboardCheckoutView #coLe .co-le-head { align-items: flex-start; flex-direction: column; }
    #dashboardCheckoutView #coLe .co-le-hint { white-space: normal; }
    #dashboardCheckoutView #coLe .co-le-body,
    #dashboardCheckoutView #coLe.is-kind .co-le-body { grid-template-columns: 1fr; }
}
.co-product-panel #coProduct {
    flex: 1;
    display: flex;
    min-height: 0;
}
.co-product-panel .pay-product {
    flex: 1;
    width: 100%;
    grid-template-columns: minmax(148px, 176px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px 16px;
}
.co-product-panel .pay-product-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.co-product-panel .co-product-price {
    grid-column: 1 / -1;
    margin-top: 0;
}
.co-product-panel .pay-product-media {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    min-height: 0;
}
.co-includes {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    min-height: 0;
    align-content: stretch;
}
.co-includes li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    height: 100%;
    margin: 0;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 600;
}
.co-includes .stc-ico {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    flex: 0 0 26px;
}
.co-panel,
.co-summary {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border-default);
    background: rgba(22, 27, 34, 0.88);
}
.co-summary {
    position: relative;
    top: auto;
    align-self: start;
    height: auto;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    z-index: 1;
}
.co-coupon { display: flex; gap: 8px; margin: 0; }
.co-coupon .pay-input { height: 34px; flex: 1; }
.co-coupon .ds-btn { height: 34px; padding: 0 12px; }
.co-summary-pay {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-default);
}
.co-summary-pay .gw-choice {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.co-summary-pay .pay-paypal {
    margin-top: 0;
    min-height: 108px;
}
.co-pay-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.co-pay-brands b {
    font-size: 11px;
    font-weight: 750;
    color: var(--text-secondary);
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid var(--border-default);
    background: var(--bg-tertiary);
}
.co-pp-sheet-h,
.co-pp-sheet-lead { display: none; }
.co-assure {
    display: grid;
    gap: 8px;
}
.co-pay-card {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--border-default);
    background: rgba(22, 27, 34, 0.88);
}
.co-pay-card > .stc-ico {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    flex: 0 0 26px;
}
.co-pay-card > .stc-ico svg { width: 13px; height: 13px; }
.co-pay-card > div { min-width: 0; }
.co-pay-card h3 {
    margin: 0;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.co-pay-card p {
    margin: 2px 0 0;
    font-size: 11.5px;
    line-height: 1.35;
    color: var(--text-secondary);
}
.co-how {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 8px 12px;
}
.co-how-h {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    min-width: 0;
}
.co-how-h .stc-ico {
    width: 26px;
    height: 26px;
    border-radius: 8px;
}
.co-how-h .stc-ico svg { width: 13px; height: 13px; }
.co-how-h h3 {
    margin: 0;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    white-space: nowrap;
}
.co-pay-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    flex: 1;
    min-width: 0;
    counter-reset: step;
}
.co-pay-steps li {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 7px 9px;
    border-radius: 10px;
    border: 1px solid var(--border-default);
    background: var(--bg-primary);
    font-size: 11.5px;
    line-height: 1.3;
    color: var(--text-secondary);
}
.co-pay-steps li::before {
    content: counter(step);
    counter-increment: step;
    flex: 0 0 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    background: rgba(31, 111, 235, 0.16);
    color: #58a6ff;
    font-size: 10px;
    font-weight: 800;
}
.co-assure-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
}
.co-assure-grid .co-pay-card { height: auto; min-height: 0; }
.co-panel-h {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.co-panel-h .stc-ico { margin-top: 1px; }
.co-panel-h h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}
.co-panel-h .dh-section-kicker { margin: 0 0 2px; }
.co-ip-panel {
    display: none;
}
.co-ip-panel.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 16px;
}
.co-ip-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 0 12px;
}
.co-ip-panel .co-panel-h {
    margin: 0;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}
.co-ip-panel .co-panel-h h2 {
    font-size: 15px;
    font-weight: 750;
}
.co-ip-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}
.co-ip-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    background: rgba(13, 17, 23, 0.45);
}
.co-ip-meta-item .stc-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}
.co-ip-meta-item .stc-ico svg { width: 13px; height: 13px; }
.co-ip-meta-item span {
    display: block;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    line-height: 1.2;
}
.co-ip-meta-item strong {
    display: block;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
}
.co-ip-body {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 14px 24px;
    align-items: stretch;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border-default);
    background: rgba(13, 17, 23, 0.45);
}
.co-ip-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}
.co-ip-field > span {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.co-ip-field > span::after {
    content: " *";
    color: #f85149;
}
.co-ip-field .pay-input {
    width: 100%;
    height: 42px;
    font-size: 15px;
    letter-spacing: 0.04em;
}
.co-ip-guide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding-inline-start: 20px;
    border-inline-start: 1px solid var(--border-default);
}
.co-ip-guide-kicker {
    margin: 0;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.co-ip-notes {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.co-ip-notes li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 550;
    color: var(--text-secondary);
}
.co-ip-note-ico {
    display: inline-flex;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    color: var(--text-tertiary);
}
.co-ip-notes .is-ok .co-ip-note-ico { color: #3fb950; }
.co-ip-notes .is-info .co-ip-note-ico { color: #58a6ff; }
.co-ip-notes .is-warn .co-ip-note-ico { color: #d4a72c; }
.co-ip-notes .is-alert .co-ip-note-ico { color: #f85149; }
.co-ip-hint { display: none; }
.co-shell .pay-product {
    grid-template-columns: minmax(168px, 220px) minmax(0, 1fr);
    gap: 16px;
    align-items: stretch;
}
#dashboardCheckoutView .co-product-panel .pay-product {
    grid-template-columns: minmax(148px, 176px) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px 16px;
}
.co-shell .pay-product-media {
    width: 100%;
    height: auto;
    min-height: 168px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
}
.co-shell .pay-muted {
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.co-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.co-fact {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    background: var(--bg-primary);
}
.co-fact .stc-ico { width: 28px; height: 28px; border-radius: 8px; }
.co-fact span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.co-fact strong {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    overflow: hidden;
}
.co-product-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border-default);
}
.co-product-price span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
.co-product-price strong {
    font-size: 22px;
    font-weight: 760;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}
.co-shell .pay-kv { padding: 8px 0; }
.co-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(56, 139, 253, 0.28);
    background: rgba(31, 111, 235, 0.1);
}
.co-total span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.co-total strong {
    font-size: 26px;
    font-weight: 780;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}
.co-sar-note,
.pay-sar-note {
    margin: 0 0 12px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-secondary);
}
.pay-sar-note { margin: 10px 0 0; }
.co-shell .pay-paypal { margin-top: 0; min-height: 0; }
.co-shell .pay-paypal .paypal-buttons { min-width: 100% !important; }
.co-shell .pay-paypal iframe { max-width: 100%; }
body.co-pp-open { overflow: hidden; }
body.co-pp-open .co-summary {
    z-index: 10000;
}
body.co-pp-open .co-pay-method.is-pp-form {
    z-index: 10001;
}
.co-pp-sheet-h,
.co-pp-sheet-lead,
.co-pp-close,
.co-pp-chips { display: none; }
.co-pay-method.is-pp-form {
    position: fixed;
    inset: 0;
    z-index: 1600;
    width: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 28px 16px;
    border: 0;
    border-radius: 0;
    background: rgba(1, 6, 16, 0.82);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: auto;
}
.co-pay-method.is-pp-form .co-pay-choice { display: none; }
.co-pay-method.is-pp-form .co-pp-sheet {
    position: relative;
    width: min(420px, calc(100vw - 32px));
    max-height: min(88vh, 720px);
    overflow: auto;
    padding: 20px 18px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-default);
    background:
        radial-gradient(420px 160px at 0% 0%, rgba(31, 111, 235, 0.12), transparent 68%),
        #0d1117;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 24px 64px rgba(0, 0, 0, 0.5);
}
.co-pay-method.is-pp-form .co-pp-close {
    display: inline-flex;
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-default);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    cursor: pointer;
}
.co-pay-method.is-pp-form .co-pp-close:hover {
    color: var(--text-primary);
    border-color: rgba(56, 139, 253, 0.4);
}
.co-pay-method.is-pp-form .co-pp-sheet-h {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 40px 10px 0;
}
html[dir="rtl"] .co-pay-method.is-pp-form .co-pp-sheet-h {
    margin: 0 0 10px 40px;
}
.co-pay-method.is-pp-form .co-pp-sheet-h p {
    margin: 0;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.co-pay-method.is-pp-form .co-pp-sheet-h strong {
    display: block;
    margin-top: 2px;
    font-size: 26px;
    font-weight: 780;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}
.co-pay-method.is-pp-form .co-pp-sheet-lead {
    display: block;
    margin: 0 0 12px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--text-secondary);
}
.co-pay-method.is-pp-form .co-pp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 14px;
}
.co-pay-method.is-pp-form .co-pp-chips span {
    font-size: 11px;
    font-weight: 750;
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--border-default);
    background: var(--bg-tertiary);
}
.co-pay-method.is-pp-form .pay-paypal {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.co-pay-off {
    padding: 14px 12px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(248, 81, 73, 0.3);
    background: rgba(207, 34, 46, 0.12);
    color: #f85149;
    font-size: 13px;
    font-weight: 750;
}
@media (max-width: 900px) {
    .co-layout { grid-template-columns: 1fr; }
    .co-summary { position: relative; top: auto; }
    #dashboardCheckoutView .co-layout > .pay-col,
    #dashboardCheckoutView .co-summary,
    #dashboardCheckoutView .co-layout > #coLe,
    #dashboardCheckoutView .co-ip-panel.is-open,
    #dashboardCheckoutView .co-assure {
        grid-column: 1;
        grid-row: auto;
    }
    .co-product-panel { min-height: 0; }
    .co-ip-meta-item:last-child { display: none; }
    .co-ip-body {
        grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
        gap: 12px 18px;
    }
    .co-hero .stc-hero-stats { width: 100%; }
    .co-shell .pay-product { grid-template-columns: 112px minmax(0, 1fr); }
    #dashboardCheckoutView .co-product-panel .pay-product { grid-template-columns: 112px minmax(0, 1fr); }
    .co-shell .pay-product-media { min-height: 112px; }
    .co-facts { grid-template-columns: 1fr 1fr; }
    .co-includes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .co-hero h1 { font-size: 22px; }
    .co-hero .stc-hero-stats { grid-template-columns: 1fr; }
    .co-total strong { font-size: 22px; }
    .co-coupon { flex-wrap: wrap; }
    .co-coupon .ds-btn { width: 100%; }
    .co-shell .pay-product { grid-template-columns: 1fr; }
    #dashboardCheckoutView .co-product-panel .pay-product { grid-template-columns: 1fr; }
    .co-shell .pay-product-media { min-height: 180px; aspect-ratio: 16 / 9; }
    .co-includes { grid-template-columns: 1fr; }
    .co-how {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 12px;
    }
    .co-how-h h3 { white-space: normal; }
    .co-pay-steps { grid-template-columns: 1fr; }
    .co-assure-grid { grid-template-columns: 1fr; }
    .co-ip-meta { display: none; }
    .co-ip-body {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .co-ip-guide {
        padding-inline-start: 0;
        padding-top: 12px;
        border-inline-start: 0;
        border-top: 1px solid var(--border-default);
    }
    .co-ip-field { width: 100%; max-width: 320px; }
    .co-ip-field .pay-input { width: 100%; }
}
@media (max-width: 520px) {
    .co-ip-notes { grid-template-columns: 1fr; }
    .co-ip-field { max-width: none; }
}

.gw-choice {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-default);
}
.gw-choice-h {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.gw-phone {
    display: grid;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--text-secondary);
}
.gw-phone .pay-input { width: 100%; }
.gw-card-form { display: grid; gap: 8px; }
.gw-field { display: grid; gap: 4px; font-size: 12px; font-weight: 650; color: var(--text-secondary); }
.gw-field .pay-input { width: 100%; }
.gw-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gw-3ds {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    grid-template-rows: auto 1fr;
    background: rgba(8, 10, 16, 0.72);
    padding: 24px;
}
.gw-3ds-bar {
    background: var(--surface-1, #16181f);
    color: var(--text-primary, #fff);
    border: 1px solid var(--border-default, rgba(255,255,255,0.08));
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    padding: 12px 16px;
    font-weight: 750;
}
.gw-3ds-frame {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    background: #fff;
    border-radius: 0 0 14px 14px;
}
.gw-card-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.gw-note,
.gw-fine {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-tertiary);
}
.pay-meta {
    display: grid;
    gap: 2px;
    font-size: 12px;
    line-height: 1.35;
    min-width: 140px;
}
.pay-meta b { font-size: 12.5px; }
.pay-meta span {
    color: var(--text-secondary);
    word-break: break-all;
}
.inv-pay-meta {
    display: grid;
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: 10px 16px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-default);
    font-size: 13px;
}
.inv-pay-meta div {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.inv-pay-meta .is-txn {
    grid-column: 1 / -1;
}
.inv-pay-meta span {
    color: var(--text-tertiary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.inv-pay-meta b {
    color: var(--text-primary);
    font-weight: 650;
    text-align: start;
    word-break: normal;
}
.inv-pay-meta .is-status b {
    color: #3fb950;
    text-transform: capitalize;
}
.inv-pay-meta .is-txn b {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.45;
}
@media (max-width: 720px) {
    .gw-card-btn {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

.pay-methods-row {
    display: block;
    margin: 0;
}
.pay-methods-row .pay-marks {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
    justify-content: stretch;
}
.pay-methods-row .pm {
    width: 100%;
    height: 28px;
    min-width: 0;
    padding: 0 2px;
    border-radius: 7px;
    font-size: 10px;
    letter-spacing: 0.01em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.pay-methods-row .pm-mc b {
    width: 11px;
    height: 11px;
}
.pay-methods-row .pm-apple {
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.pay-methods-row .pm-apple svg { width: 11px; height: 13px; }
#coEdfaBox .gw-card-btn,
#rnEdfaBox .gw-card-btn {
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 650;
    letter-spacing: 0;
    background: var(--primary);
    box-shadow: none;
}
#coEdfaBox .gw-card-btn:hover,
#rnEdfaBox .gw-card-btn:hover {
    background: var(--primary-hover);
    transform: none;
    box-shadow: none;
}
.co-continue-ico { width: 15px; height: 15px; flex: 0 0 auto; }
.pay-marks {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.pm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 18px;
    min-width: 28px;
    padding: 0 4px;
    border-radius: 4px;
    background: #fff;
    color: #1a1f36;
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1;
}
.pm-visa { color: #1a1f71; }
.pm-mc { gap: 0; padding: 0 5px; background: #fff; }
.pm-mc b {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #eb001b;
}
.pm-mc b + b { background: #f79e1b; margin-inline-start: -4px; }
.pm-mada { color: #169b62; letter-spacing: 0; }
.pm-apple {
    gap: 2px;
    padding: 0 5px;
    background: #000;
    color: #fff;
    font-weight: 650;
    letter-spacing: -0.03em;
}
.pm-apple svg { width: 8px; height: 10px; fill: currentColor; display: block; }
.pm-amex { color: #fff; background: #2e77bc; }
.pm-tamara { color: #111; letter-spacing: 0; }
html.pay-menu-open,
body.pay-menu-open {
    overflow: hidden !important;
    scrollbar-width: none;
}
html.pay-menu-open::-webkit-scrollbar,
body.pay-menu-open::-webkit-scrollbar,
.pay-menu::-webkit-scrollbar,
.pay-menu-card::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}
.pay-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s ease, visibility 0.24s ease;
}
.pay-menu.is-on {
    opacity: 1;
    visibility: visible;
}
.pay-menu[hidden] { display: none; }
.pay-menu-back {
    position: absolute;
    inset: 0;
    background: rgba(6, 8, 14, 0.72);
    opacity: 0;
    transition: opacity 0.28s ease;
}
.pay-menu.is-on .pay-menu-back { opacity: 1; }
.pay-menu-card {
    position: relative;
    width: min(440px, 100%);
    max-height: min(640px, calc(100vh - 40px));
    overflow: auto;
    scrollbar-width: none;
    padding: 20px 20px 18px;
    border-radius: 20px;
    border: 1px solid rgba(139, 148, 158, 0.28);
    background:
        linear-gradient(180deg, rgba(56, 139, 253, 0.08), transparent 72px),
        #161b22;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}
.pay-menu.is-on .pay-menu-card {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .pay-menu,
    .pay-menu-back,
    .pay-menu-card { transition: none; }
}
.pay-menu-h {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.pay-menu-h p {
    margin: 0 0 2px;
    font-size: 12px;
    color: var(--text-secondary);
}
.pay-menu-h h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.03em;
}
.pay-menu-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-default);
    border-radius: 10px;
    background: rgba(13, 17, 23, 0.55);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.pay-menu-x:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}
.pay-menu .pay-input {
    height: 42px;
    border-radius: 11px;
    background: #0d1117;
}
.pay-menu .pay-input:focus {
    border-color: #388bfd;
    box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.18);
}
.pay-menu .gw-card-form { gap: 10px; }
.pay-menu-pane { margin-top: 18px; }
.pay-menu-lead {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-tertiary);
}
.pay-menu-lead svg { flex: 0 0 auto; }
.pay-menu-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 16px;
    margin-top: 16px;
}
.pay-menu-methods {
    display: grid;
    align-content: start;
    gap: 8px;
}
.pay-method {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    background: rgba(13, 17, 23, 0.65);
    color: var(--text-primary);
    cursor: pointer;
    text-align: start;
}
.pay-method b {
    font-size: 13px;
    font-weight: 700;
}
.pay-method.is-on {
    border-color: #1f6feb;
    background: rgba(31, 111, 235, 0.16);
}
.pay-menu-pane { min-width: 0; }
.pay-menu-wallet {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    background: rgba(13, 17, 23, 0.55);
}
.pay-menu-wallet strong { font-size: 15px; }
.pay-menu-wallet p,
.pay-menu-alert {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-secondary);
}
.pay-menu-alert {
    margin-top: 10px;
    color: #ff8b8b;
}
.card-number-wrap { position: relative; display: block; }
.card-number-wrap .pay-input { width: 100%; padding-inline-end: 12px; }
.card-number-wrap[data-detected="visa"] .pay-input,
.card-number-wrap[data-detected="mastercard"] .pay-input,
.card-number-wrap[data-detected="mada"] .pay-input,
.card-number-wrap[data-detected="amex"] .pay-input { padding-inline-end: 72px; }
.card-brands {
    position: absolute;
    top: 50%;
    inset-inline-end: 8px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: none;
}
.card-brands .pm { display: none; }
.card-number-wrap[data-detected="visa"] .pm-visa,
.card-number-wrap[data-detected="mastercard"] .pm-mc,
.card-number-wrap[data-detected="mada"] .pm-mada,
.card-number-wrap[data-detected="amex"] .pm-amex { display: inline-flex; }
.apple-pay-btn {
    position: relative;
    width: 100%;
    height: 44px;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 650;
    cursor: pointer;
}
@supports (-webkit-appearance: -apple-pay-button) {
    .apple-pay-btn {
        -webkit-appearance: -apple-pay-button;
        -apple-pay-button-type: plain;
        -apple-pay-button-style: white;
    }
    .apple-pay-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; }
}
.pay-or {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    color: var(--text-tertiary);
    font-size: 12px;
}
.pay-or::before,
.pay-or::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--border-default);
}
.pay-menu-pane .gw-card-btn {
    min-height: 42px;
    margin-top: 6px;
    padding: 0 14px;
    border-radius: 9px;
    font-weight: 650;
    background: var(--primary);
    box-shadow: none;
}
.pay-menu-pane .gw-card-btn:hover { background: var(--primary-hover); }
.pay-menu-pane .gw-card-btn strong {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    padding: 0;
    border-radius: 0;
    background: none;
    color: #fff;
}
.pay-menu-pane .gw-fine { margin-top: 10px; text-align: center; }
.pay-menu .pay-sar-note {
    margin: 12px 0 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(31, 111, 235, 0.08);
    border: 1px solid rgba(56, 139, 253, 0.18);
}
@media (max-width: 720px) {
    .pay-menu { padding: 10px; }
    .pay-menu-grid { grid-template-columns: 1fr; }
    .pay-menu-methods {
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
    }
    .pay-method { width: auto; }
}
