/* پرداخت کارت به کارت خرید ماژول و توکن (پنل و سایت) */

[class*="kdbill-"],
.ks-c2c,
.ks-pay-methods {
    --kb-ink: var(--kd-ink, var(--ink, #1b1d24));
    --kb-text: var(--kd-text, var(--text, #3b3f4a));
    --kb-muted: var(--kd-muted, var(--muted, #8a8f9c));
    --kb-line: var(--kd-border, var(--line, #eceef2));
    --kb-line-2: var(--kd-border-strong, #dfe2e8);
    --kb-surface: var(--kd-surface, #fff);
    --kb-surface-2: var(--kd-surface-2, var(--bg-2, #f7f8fa));
    --kb-p: var(--kd-primary, var(--p, #e3a50b));
    --kb-p-rgb: var(--kd-primary-rgb, var(--p-rgb, 227, 165, 11));
    --kb-p-dark: var(--kd-primary-active, var(--p-dark, #b07d06));
    --kb-success: var(--kd-success, #18a058);
    --kb-danger: var(--kd-danger, #e5484d);
    --kb-radius: var(--kd-radius, 14px);
    --kb-radius-lg: var(--kd-radius-lg, 18px);
}

/* ---------------------------------------------------------------- مبلغ و کارت مقصد */
.kdbill-pay {
    display: grid;
    gap: 12px;
}

.kdbill-amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px dashed rgba(var(--kb-p-rgb), .55);
    border-radius: var(--kb-radius);
    background: rgba(var(--kb-p-rgb), .06);
}

.kdbill-amount small {
    display: block;
    color: var(--kb-muted);
    font-size: .76rem;
}

.kdbill-amount b {
    display: block;
    color: var(--kb-ink);
    font-size: 1.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
}

.kdbill-amount b em {
    color: var(--kb-muted);
    font-size: .85rem;
    font-style: normal;
    font-weight: 500;
}

.kdbill-dests {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.kdbill-dest {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.kdbill-dest input[type=radio] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kdbill-dest__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 18px 14px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(220px 140px at 0 0, rgba(255, 255, 255, .16), transparent 70%),
        linear-gradient(135deg, #22252e, #3a3f4d);
    color: #fff;
    box-shadow: 0 14px 30px -18px rgba(16, 24, 40, .7);
    transition: box-shadow .2s, transform .2s;
}

.kdbill-dest__card::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(var(--kb-p-rgb), .28);
    filter: blur(2px);
    pointer-events: none;
}

.kdbill-dest input:checked + .kdbill-dest__card {
    box-shadow: 0 0 0 3px var(--kb-surface), 0 0 0 6px var(--kb-p), 0 14px 30px -18px rgba(16, 24, 40, .7);
}

.kdbill-dest input:focus-visible + .kdbill-dest__card {
    outline: 3px solid rgba(var(--kb-p-rgb), .6);
    outline-offset: 3px;
}

.kdbill-dest__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kdbill-dest__bank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    font-weight: 700;
    opacity: .92;
}

.kdbill-dest__check {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    color: transparent;
    font-size: .75rem;
}

.kdbill-dest input:checked + .kdbill-dest__card .kdbill-dest__check {
    border-color: var(--kb-p);
    background: var(--kb-p);
    color: #2a1f03;
}

.kdbill-dest__number {
    margin-top: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: left;
    white-space: nowrap;
}

.kdbill-dest__holder {
    font-size: .82rem;
    opacity: .85;
}

.kdbill-dest__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.kdbill-dest__actions .kdbill-copy {
    border-color: rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.kdbill-dest__actions .kdbill-copy:hover {
    background: rgba(255, 255, 255, .2);
}

.kdbill-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border: 1px solid var(--kb-line-2);
    border-radius: 999px;
    background: var(--kb-surface);
    color: var(--kb-text);
    font: inherit;
    font-size: .76rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}

.kdbill-copy:hover {
    border-color: var(--kb-p);
}

.kdbill-copy.is-done,
.kdbill-dest__actions .kdbill-copy.is-done {
    border-color: var(--kb-success);
    background: var(--kb-success);
    color: #fff;
}

/* ---------------------------------------------------------------- انتخاب عکس فیش */
.kdbill-drop {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 170px;
    margin: 0;
    padding: 14px;
    overflow: hidden;
    border: 2px dashed var(--kb-line-2);
    border-radius: var(--kb-radius-lg);
    background: var(--kb-surface-2);
    cursor: pointer;
    text-align: center;
    transition: border-color .15s, background-color .15s;
}

.kdbill-drop:hover,
.kdbill-drop.is-over {
    border-color: var(--kb-p);
    background: rgba(var(--kb-p-rgb), .05);
}

.kdbill-drop input[type=file] {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    cursor: pointer;
}

.kdbill-drop__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--kb-muted);
    font-size: .8rem;
    pointer-events: none;
}

.kdbill-drop__empty i {
    margin-bottom: 4px;
    color: var(--kb-p);
    font-size: 2.2rem;
}

.kdbill-drop__empty b {
    color: var(--kb-ink);
    font-size: .92rem;
}

.kdbill-drop img {
    max-width: 100%;
    max-height: 280px;
    border-radius: 10px;
    box-shadow: 0 6px 18px -8px rgba(16, 24, 40, .35);
    pointer-events: none;
}

.kdbill-drop.has-file .kdbill-drop__empty {
    display: none;
}

/* ---------------------------------------------------------------- پنل: صفحه‌ی پرداخت ماژول */
.kdbill-flow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    align-items: start;
}

.kdbill-flow__main {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.kdbill-flow__side {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 14px;
    min-width: 0;
}

.kdbill-step {
    padding: 22px 24px 24px;
    border: 1px solid var(--kb-line);
    border-radius: var(--kb-radius-lg);
    background: var(--kb-surface);
    box-shadow: var(--kd-shadow, none);
}

.kdbill-step > header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.kdbill-step > header > b {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--kb-p);
    color: #2a1f03;
}

.kdbill-step h2 {
    margin: 0;
    color: var(--kb-ink);
    font-size: 1rem;
    font-weight: 700;
}

.kdbill-step header p {
    margin: 3px 0 0;
    color: var(--kb-muted);
    font-size: .82rem;
}

.kdbill-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kdbill-summary__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(var(--kb-p-rgb), .12);
    color: var(--kb-p-dark);
    font-size: 1.4rem;
}

.kdbill-summary b,
.kdbill-summary small {
    display: block;
}

.kdbill-summary b {
    color: var(--kb-ink);
}

.kdbill-summary small {
    color: var(--kb-muted);
    font-size: .8rem;
}

.kdbill-summary__rows {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px dashed var(--kb-line-2);
    font-size: .86rem;
}

.kdbill-summary__rows > div {
    display: flex;
    justify-content: space-between;
}

.kdbill-summary__rows dt {
    color: var(--kb-muted);
    font-weight: 400;
}

.kdbill-summary__rows dd {
    margin: 0;
    color: var(--kb-ink);
    font-weight: 700;
}

.kdbill-timeline {
    position: relative;
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 18px 18px 18px 18px;
    border: 1px solid var(--kb-line);
    border-radius: var(--kb-radius-lg);
    background: var(--kb-surface);
    list-style: none;
}

.kdbill-timeline li {
    position: relative;
    padding-inline-start: 26px;
    font-size: .84rem;
}

.kdbill-timeline li::before {
    content: "";
    position: absolute;
    top: 5px;
    inset-inline-start: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--kb-line-2);
    background: var(--kb-surface);
}

.kdbill-timeline li + li::after {
    content: "";
    position: absolute;
    top: -14px;
    inset-inline-start: 5px;
    width: 2px;
    height: 16px;
    background: var(--kb-line-2);
}

.kdbill-timeline li.is-current::before {
    border-color: var(--kb-p);
    background: var(--kb-p);
    box-shadow: 0 0 0 4px rgba(var(--kb-p-rgb), .2);
}

.kdbill-timeline b,
.kdbill-timeline small {
    display: block;
}

.kdbill-timeline b {
    color: var(--kb-ink);
}

.kdbill-timeline small {
    color: var(--kb-muted);
    font-size: .76rem;
}

/* دکمه‌های روش پرداخت در کارت ماژول */
.kd-pay-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.kd-pay-methods .btn {
    justify-content: center;
}

/* ---------------------------------------------------------------- مدیر کل: کارت‌ها */
.kdbill-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.kdbill-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kdbill-card__face {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 170px;
    padding: 20px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(260px 160px at 0 0, rgba(255, 255, 255, .16), transparent 70%),
        linear-gradient(135deg, #22252e, #3a3f4d);
    color: #fff;
    box-shadow: 0 14px 30px -18px rgba(16, 24, 40, .7);
}

.kdbill-card__face::after {
    content: "";
    position: absolute;
    inset: auto -40px -70px auto;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(var(--kb-p-rgb), .3);
}

.kdbill-card.is-off .kdbill-card__face {
    filter: grayscale(1);
    opacity: .55;
}

.kdbill-card__bank {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.kdbill-card__number {
    margin-top: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.35rem;
    letter-spacing: .08em;
    text-align: left;
}

.kdbill-card__holder {
    font-size: .85rem;
    opacity: .85;
}

.kdbill-card__sheba {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .74rem;
    opacity: .7;
    text-align: left;
}

.kdbill-card__actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kdbill-card__actions form {
    margin: 0;
}

.kdbill-form-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--kb-ink);
    font-size: 1rem;
    font-weight: 700;
}

/* ---------------------------------------------------------------- مدیر کل: بررسی فیش‌ها */
.kdbill-receipts {
    display: grid;
    gap: 16px;
}

.kdbill-receipt {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--kb-line);
    border-radius: var(--kb-radius-lg);
    background: var(--kb-surface);
    box-shadow: var(--kd-shadow, none);
}

.kdbill-receipt.is-ok {
    border-inline-start: 4px solid var(--kb-success);
}

.kdbill-receipt.is-rejected {
    border-inline-start: 4px solid var(--kb-danger);
}

.kdbill-receipt__img {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 220px;
    background: var(--kb-surface-2);
    color: var(--kb-muted);
    text-decoration: none;
}

.kdbill-receipt__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.kdbill-receipt__img span {
    position: absolute;
    inset: auto 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    border-radius: 10px;
    background: rgba(16, 24, 40, .7);
    color: #fff;
    font-size: .78rem;
    opacity: 0;
    transition: opacity .15s;
}

.kdbill-receipt__img:hover span {
    opacity: 1;
}

.kdbill-receipt__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
    min-width: 0;
}

.kdbill-receipt__head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--kb-muted);
    font-size: .8rem;
}

.kdbill-kind {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
}

.kdbill-kind.is-module {
    background: rgba(59, 130, 246, .12);
    color: #2563eb;
}

.kdbill-kind.is-dev {
    background: rgba(var(--kb-p-rgb), .14);
    color: var(--kb-p-dark);
}

.kdbill-receipt__amount {
    color: var(--kb-ink);
    font-size: 1.45rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.kdbill-receipt__amount small {
    color: var(--kb-muted);
    font-size: .8rem;
    font-weight: 500;
}

.kdbill-receipt__meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 6px 20px;
    margin: 0;
    font-size: .84rem;
}

.kdbill-receipt__meta > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed var(--kb-line);
}

.kdbill-receipt__meta dt {
    color: var(--kb-muted);
    font-weight: 400;
    white-space: nowrap;
}

.kdbill-receipt__meta dd {
    margin: 0;
    color: var(--kb-text);
    font-weight: 600;
    text-align: end;
    overflow-wrap: anywhere;
}

.kdbill-receipt__note {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    border-radius: var(--kb-radius);
    background: var(--kb-surface-2);
    color: var(--kb-text);
    font-size: .84rem;
}

.kdbill-receipt__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--kb-line);
}

.kdbill-receipt__actions form {
    margin: 0;
}

.kdbill-reject {
    flex: 1;
    min-width: 240px;
}

.kdbill-reject summary {
    list-style: none;
}

.kdbill-reject summary::-webkit-details-marker {
    display: none;
}

.kdbill-reject[open] summary {
    margin-bottom: 8px;
}

.kdbill-reject form {
    display: flex;
    gap: 8px;
}

.kdpay-segment a.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 0;
    border-radius: 9px;
    color: var(--kd-muted);
    font-size: .84rem;
}

.kdpay-segment a.btn em {
    min-width: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--kd-surface-2);
    font-size: .72rem;
    font-style: normal;
    text-align: center;
}

.kdpay-segment a.btn.is-active {
    background: var(--kd-primary-50);
    color: var(--kd-primary-active);
    font-weight: 600;
}

.kdpay-segment a.btn.is-active em {
    background: var(--kd-primary);
    color: var(--kd-on-primary);
}

/* ---------------------------------------------------------------- سایت: انتخاب روش پرداخت */
.ks-pay-title {
    margin-top: 24px !important;
}

.ks-pay-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.ks-pay-method {
    position: relative;
    display: block;
    cursor: pointer;
}

.ks-form .ks-pay-method input[type=radio] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.ks-pay-method > span {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--kb-line);
    border-radius: 16px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.ks-form .ks-pay-method > span {
    margin: 0;
    font-weight: 400;
}

.ks-pay-method i {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--kb-surface-2);
    color: var(--kb-p-dark);
    font-size: 1.4rem;
}

.ks-pay-method b {
    color: var(--kb-ink);
}

.ks-pay-method small {
    color: var(--kb-muted);
    font-size: .78rem;
}

.ks-pay-method input:checked + span {
    border-color: var(--kb-p);
    box-shadow: 0 0 0 4px rgba(var(--kb-p-rgb), .15);
}

.ks-pay-method input:focus-visible + span {
    outline: 3px solid rgba(var(--kb-p-rgb), .5);
}

.ks-c2c {
    display: none;
    gap: 14px;
    margin-top: 16px;
    padding: 18px;
    border-radius: 18px;
    background: var(--kb-surface-2);
}

.ks-buy:has(input[name=method][value=card]:checked) .ks-c2c,
.ks-buy:not(:has(input[name=method])) .ks-c2c {
    display: grid;
}

.ks-c2c__hint {
    display: flex;
    gap: 8px;
    margin: 0;
    color: var(--kb-text);
    font-size: .86rem;
    line-height: 1.9;
}

.ks-c2c__hint i {
    margin-top: 4px;
    color: var(--kb-p-dark);
}

.ks-c2c .kdbill-drop {
    background: #fff;
}

/* قواعد عمومی فرم سایت (.ks-form label > span) روی بخش‌های داخل label اثر نگذارند */
.ks-form .ks-pay-method > span {
    display: grid;
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: 400;
}

.ks-form .kdbill-dest > .kdbill-dest__card {
    display: flex;
    margin: 0;
    color: #fff;
    font-size: inherit;
    font-weight: 400;
}

.ks-form .kdbill-drop > .kdbill-drop__empty {
    display: flex;
    margin: 0;
    color: var(--kb-muted);
    font-size: .8rem;
    font-weight: 400;
}

.ks-form .kdbill-drop.has-file > .kdbill-drop__empty {
    display: none;
}

.ks-form .ks-c2c__note input {
    background: #fff;
}

.ks-pay-submit {
    margin-top: 18px;
}

.ks-pay-submit__card {
    display: none;
}

.ks-buy:has(input[name=method][value=card]:checked) .ks-pay-submit__online,
.ks-buy:not(:has(input[name=method][value=online])) .ks-pay-submit__online {
    display: none;
}

.ks-buy:has(input[name=method][value=card]:checked) .ks-pay-submit__card,
.ks-buy:not(:has(input[name=method][value=online])) .ks-pay-submit__card {
    display: inline;
}

/* ---------------------------------------------------------------- سایت: پیگیری سفارش */
.ks-track {
    display: flex;
    gap: 8px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.ks-track li {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    color: var(--muted);
    font-size: .82rem;
    text-align: center;
}

.ks-track li + li::before {
    content: "";
    position: absolute;
    top: 17px;
    right: calc(-50% + 22px);
    left: calc(50% + 22px);
    height: 2px;
    background: var(--line);
}

.ks-track li.is-done + li::before {
    background: #18a058;
}

.ks-track b {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #fff;
    color: var(--muted);
}

.ks-track li.is-done b {
    border-color: #18a058;
    background: #18a058;
    color: #fff;
}

.ks-track li.is-current b {
    border-color: var(--p);
    background: var(--p);
    color: var(--on-p);
    box-shadow: 0 0 0 5px rgba(var(--p-rgb), .2);
}

.ks-track li.is-fail b {
    border-color: #e5484d;
    background: #e5484d;
    color: #fff;
}

.ks-track li.is-done span,
.ks-track li.is-current span {
    color: var(--ink);
    font-weight: 700;
}

.ks-order {
    display: grid;
    gap: 18px;
}

.ks-result.is-wait .ks-result__icon {
    background: rgba(var(--p-rgb), .14);
    color: var(--p-dark);
}

.ks-result--compact {
    padding: 28px;
}

.ks-result--compact .ks-result__icon {
    width: 64px;
    height: 64px;
    font-size: 36px;
}

.ks-keep {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--bg-2);
    color: var(--text);
    font-size: .84rem;
    text-align: start;
}

.ks-creds-form {
    margin-top: 0;
}

.ks-creds-form h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ks-creds-form .ks-btn {
    margin-top: 18px;
}

.ks-form__full {
    grid-column: 1 / -1;
}

.ks-form label .ks-muted {
    text-align: start;
}

.ks-order__summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 24px;
    margin: 0;
    padding: 20px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.ks-order__summary > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--line);
    font-size: .9rem;
}

.ks-order__summary dt {
    color: var(--muted);
}

.ks-order__summary dd {
    margin: 0;
    color: var(--ink);
    font-weight: 700;
}

.ks-order__receipt {
    grid-column: 1 / -1;
    align-items: flex-start;
}

.ks-order__receipt img {
    max-width: 160px;
    max-height: 200px;
    border: 1px solid var(--line);
    border-radius: 12px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .kdbill-flow {
        grid-template-columns: 1fr;
    }

    .kdbill-flow__side {
        position: static;
    }

    .kdbill-receipt {
        grid-template-columns: 1fr;
    }

    .kdbill-receipt__img {
        min-height: 200px;
    }
}

@media (max-width: 575.98px) {
    .kdbill-step {
        padding: 18px 16px 20px;
    }

    .kdbill-dests {
        grid-template-columns: 1fr;
    }

    .kdbill-dest__number {
        font-size: 1.12rem;
    }

    .ks-track span {
        font-size: .72rem;
    }

    .kdbill-reject form {
        flex-direction: column;
    }
}
