/* Checkout and payment pages. Same look as the checkout of adhifa.com. */
:root {
    --oc-green: #4ade80;
    --oc-ink: #fff;
    --oc-text: rgba(232, 244, 255, .86);
    --oc-muted: rgba(226, 240, 255, .62);
    --oc-line: rgba(120, 255, 190, .16);
    --oc-red: #fca5a5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
    margin: 0;
    padding: 20px 12px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 14px/1.5 'Manrope', 'Inter', sans-serif;
    letter-spacing: .5px;
    color: #e8f4ff;
    background-color: #07111f;
    background-image:
        radial-gradient(ellipse 42% 36% at 82% 12%, rgba(34, 197, 94, .34), transparent 58%),
        radial-gradient(ellipse 36% 30% at 96% 42%, rgba(16, 185, 129, .22), transparent 60%),
        radial-gradient(ellipse 40% 34% at 8% 92%, rgba(88, 28, 135, .42), transparent 62%),
        radial-gradient(ellipse 34% 28% at 18% 0%, rgba(14, 165, 233, .18), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}
button, input { font-family: inherit; }
a { color: var(--oc-green); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.order-checkout { width: 100%; max-width: 400px; }
@media (min-width: 992px) { .order-checkout { max-width: 546px; } }
@media (min-width: 1200px) { .order-checkout { max-width: 558px; } }
@media (min-width: 1400px) { .order-checkout { max-width: 648px; } }

.checkout-brand { display: flex; justify-content: center; margin: 0 0 18px; color: #fff; font-size: 1.35rem; font-weight: 800; line-height: 42px; text-decoration: none; }
.checkout-brand img { display: block; height: 42px; width: auto; max-width: 100%; object-fit: contain; }

.order-checkout-card {
    border: 1px solid rgba(150, 220, 255, .22);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(20, 40, 72, .62), rgba(10, 22, 44, .46));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 24px 50px rgba(0, 0, 0, .28);
    backdrop-filter: blur(16px);
    overflow: hidden;
}
.order-checkout-card__head {
    display: flex; align-items: center; justify-content: center; gap: .65rem;
    margin: 0; padding: 1.35rem 1.25rem .35rem;
    color: #fff; font-size: 1.35rem; font-weight: 800; letter-spacing: -.4px;
}
.order-checkout-card__head-icon,
.order-checkout-section__icon,
.order-checkout-coupon__icon {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 2rem;
    width: 2rem; height: 2rem; border-radius: .7rem; font-size: .85rem;
    background: rgba(34, 197, 94, .13); color: #86efac; box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .28);
}
.order-checkout-card__head-icon { color: #bbf7d0; font-size: .9rem; }
.order-checkout-card__body { padding: 1.15rem 1.05rem 1.35rem; }
@media (min-width: 768px) { .order-checkout-card__body { padding: 1.5rem 1.65rem 1.7rem; } }

.alert { margin-bottom: 20px; padding: 12px 15px; border: 1px solid rgba(239, 68, 68, .3); border-radius: .85rem; background: rgba(239, 68, 68, .15); color: var(--oc-red); font-size: .88rem; }
.alert p { margin: 0; }
.alert a { display: inline-block; margin-top: 8px; color: #fff; font-weight: 700; }

.order-checkout-section { margin-top: 20px; }
.order-checkout-section + .order-checkout-section { margin-top: 1.35rem; padding-top: 1.3rem; border-top: 1px dashed var(--oc-line); }
.order-checkout-section__title {
    display: flex; align-items: center; gap: .65rem; margin: 0 0 1rem;
    color: #fff; font-size: 1.02rem; font-weight: 800; line-height: 1.2; letter-spacing: -.02em;
}

/* Summary */
.order-checkout-summary { padding: .9rem .95rem .7rem; border: 1px solid rgba(150, 220, 255, .16); border-radius: 18px; background: linear-gradient(180deg, rgba(8, 20, 40, .45), rgba(8, 18, 36, .28)); }
.order-checkout-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.order-checkout-table th { padding: 0 .4rem .6rem 0; border-bottom: 1px solid var(--oc-line); color: rgba(226, 240, 255, .55); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.order-checkout-table td { padding: .9rem .4rem .85rem 0; color: var(--oc-text); vertical-align: middle; }
.order-checkout-table th:last-child, .order-checkout-table td:last-child { padding-right: 0; text-align: right; }
.order-checkout-product { font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.order-checkout-product small { display: block; margin-top: .2rem; color: rgba(226, 240, 255, .55); font-size: .875em; font-weight: 600; }
.order-checkout-compare { display: block; color: #94a3b8; font-size: .78rem; font-weight: 600; text-decoration: line-through; }
.order-checkout-now { display: block; color: var(--oc-green); font-weight: 800; }
.order-checkout-table td.order-checkout-subtotal { font-weight: 800; }
.order-checkout-now, .order-checkout-subtotal, .order-checkout-compare { white-space: nowrap; }
.order-checkout-totals { margin-top: .15rem; }
.order-checkout-total-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .4rem 0; color: var(--oc-text); font-size: .88rem; }
.order-checkout-total-row--grand { margin-top: .35rem; padding: .75rem .85rem; border-radius: .8rem; background: linear-gradient(90deg, rgba(34, 197, 94, .16), rgba(8, 22, 44, .2)); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .22); color: #fff; font-weight: 800; }
.order-checkout-discount { display: inline-flex; padding: .12rem .45rem; margin-right: .4rem; border-radius: 999px; background: rgba(34, 197, 94, .14); color: #bbf7d0; font-size: .72rem; font-weight: 800; }
.order-checkout-grand { color: var(--oc-green); font-size: 1.15rem; letter-spacing: -.03em; }

/* Coupon */
.order-checkout-coupon { margin: .15rem 0 .85rem; padding: .85rem .9rem .9rem; border: 1px solid rgba(74, 222, 128, .28); border-radius: 18px; background: linear-gradient(180deg, rgba(34, 197, 94, .1), rgba(8, 22, 44, .28)); }
.order-checkout-coupon__head { display: flex; align-items: center; gap: .65rem; margin-bottom: .7rem; }
.order-checkout-coupon__head strong { display: block; color: #fff; font-size: .88rem; font-weight: 800; }
.order-checkout-coupon__head small { display: block; margin-top: .1rem; color: rgba(187, 247, 208, .8); font-size: .75rem; font-weight: 600; }
.order-checkout-coupon__row { display: flex; align-items: stretch; gap: .5rem; }
.order-checkout-coupon__input { flex: 1 1 auto; min-width: 0; height: 2.55rem; padding: 0 .85rem; font-size: .88rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.order-checkout-coupon__input::placeholder { font-weight: 600; letter-spacing: 0; text-transform: none; }
.order-checkout-coupon__apply { flex: 0 0 auto; min-width: 6.4rem; min-height: 2.55rem; padding: 0 1rem; font-size: .82rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.order-checkout-coupon__reset { margin-top: .55rem; padding: 0; border: 0; background: none; color: var(--oc-red); font-size: .75rem; font-weight: 700; text-decoration: underline; cursor: pointer; }
.order-checkout-coupon__message { margin-top: .55rem; color: #86efac; font-size: .78rem; font-weight: 700; }
.order-checkout-coupon__message.is-error { color: var(--oc-red); }
.order-checkout-free-notice { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1rem; padding: .9rem 1rem; border: 1px solid rgba(74, 222, 128, .28); border-radius: 12px; background: rgba(34, 197, 94, .1); color: #dcfce7; }
.order-checkout-free-notice i { margin-top: .1rem; color: var(--oc-green); font-size: 1.2rem; }
.order-checkout-free-notice strong { display: block; font-size: .9rem; }
.order-checkout-free-notice small { display: block; margin-top: .15rem; font-weight: 600; }

.order-checkout-coupon__input, .form-control { border: 1px solid rgba(120, 255, 190, .22); border-radius: 999px; background: rgba(8, 20, 40, .55); color: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.order-checkout-coupon__input::placeholder, .form-control::placeholder { color: rgba(226, 240, 255, .45); opacity: 1; }
.order-checkout-coupon__input:focus, .form-control:focus { outline: 0; border-color: var(--oc-green); box-shadow: 0 0 0 3px rgba(34, 197, 94, .16); }
.order-checkout-coupon__apply, .order-checkout-submit { border: 0; border-radius: 999px; background: linear-gradient(180deg, #4ade80, #22c55e); box-shadow: 0 10px 22px rgba(34, 197, 94, .28); color: #04210f; cursor: pointer; transition: filter .2s ease; }
.order-checkout-coupon__apply:hover, .order-checkout-submit:hover { filter: brightness(1.05); }
.order-checkout-coupon__apply:disabled, .order-checkout-submit:disabled { background: rgba(148, 163, 184, .35); box-shadow: none; color: rgba(226, 240, 255, .7); cursor: not-allowed; filter: none; }

/* Payment methods */
.order-checkout-tabs { display: flex; gap: .2rem; overflow-x: auto; margin: 0 -.15rem 1rem; padding: 0 .15rem .15rem; scrollbar-width: none; }
.order-checkout-tabs::-webkit-scrollbar { display: none; }
.order-checkout-tabs button {
    display: inline-flex; flex: 1 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
    min-width: 4.35rem; padding: .55rem .5rem .6rem; border: 1px solid rgba(150, 220, 255, .16); border-radius: 999px;
    background: rgba(8, 20, 40, .45); color: rgba(226, 240, 255, .7); font-size: .72rem; font-weight: 800; line-height: 1.5; cursor: pointer; transition: all .18s ease;
}
.order-checkout-tabs button:hover { background: rgba(34, 197, 94, .1); color: #bbf7d0; }
.order-checkout-tabs button[aria-selected="true"] { border-color: transparent; background: linear-gradient(180deg, #4ade80, #22c55e); box-shadow: 0 8px 18px rgba(34, 197, 94, .28); color: #04210f; }
.order-checkout-tabs button:focus-visible, .order-checkout-submit:focus-visible, .order-checkout-coupon__apply:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.method-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 20px; margin-bottom: 25px; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.method-card { position: relative; }
.method-card input { position: absolute; opacity: 0; pointer-events: none; }
.method-card label {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 140px; padding: 25px 15px;
    border: 1px solid rgba(150, 220, 255, .2); border-radius: 18px; background: linear-gradient(180deg, rgba(20, 40, 72, .5), rgba(10, 22, 44, .34));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; cursor: pointer; transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
}
.method-card label:hover { border-color: rgba(74, 222, 128, .45); transform: translateY(-5px); }
.method-card input:checked + label { border-color: rgba(74, 222, 128, .7); background: linear-gradient(180deg, rgba(34, 197, 94, .18), rgba(10, 22, 44, .4)); box-shadow: 0 12px 28px rgba(34, 197, 94, .16); transform: translateY(-5px) scale(1.02); }
.method-card input:focus-visible + label { outline: 2px solid var(--oc-green); outline-offset: 2px; }
.checkmark-symbol { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 18px; font-weight: 700; line-height: 1; opacity: 0; transform: scale(.5); transition: all .3s ease; }
.method-card input:checked + label .checkmark-symbol { opacity: 1; transform: scale(1); }
.method-icon { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 15px; color: #86efac; font-size: 30px; transition: transform .3s ease; }
.method-icon img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(30%); }
.method-card input:checked + label .method-icon { transform: scale(1.1); }
.method-card input:checked + label .method-icon img { filter: brightness(1.1); }
.method-name { color: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; }
.no-methods { padding: 50px 30px; border: 1px dashed rgba(120, 255, 190, .28); border-radius: 10px; background: rgba(8, 20, 40, .35); color: rgba(226, 240, 255, .7); font-style: italic; text-align: center; }

/* Buyer */
.order-checkout-field { margin-bottom: .95rem; }
.order-checkout-field label { display: block; margin-bottom: .4rem; color: #fff; font-size: .82rem; font-weight: 800; }
.order-checkout-req { color: #ef4444; }
.order-checkout-control { position: relative; }
.form-control { display: block; width: 100%; padding: .78rem 2.5rem .78rem .95rem; font-size: .94rem; line-height: 1.5; }
.form-control:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: inset 0 0 0 99px #0a1a30; }
.is-valid .form-control { border-color: var(--oc-green); }
.is-invalid .form-control { border-color: #f87171; }
.order-checkout-valid-icon { position: absolute; top: 50%; right: .9rem; display: none; color: var(--oc-green); transform: translateY(-50%); }
.is-valid .order-checkout-valid-icon { display: inline-flex; }
.validation-message { display: block; min-height: 20px; margin-top: 5px; color: var(--oc-red); font-size: .8rem; font-weight: 500; }
.is-valid .validation-message { color: var(--oc-green); }
.order-checkout-hint { margin-top: .35rem; color: var(--oc-muted); font-size: .75rem; }

.order-checkout-hint.is-known { color: var(--oc-green); font-weight: 600; }
.order-checkout-action { margin-top: 1.5rem; }
.order-checkout-submit { display: flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; min-height: 3.15rem; padding: 1px 6px; font-size: .92rem; font-weight: 800; letter-spacing: .05em; text-decoration: none; }
.order-checkout-secure { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .75rem 0 0; color: var(--oc-muted); font-size: .78rem; font-weight: 600; }
.order-checkout-secure i { color: var(--oc-green); font-size: .85rem; }
.overlay-loader { position: fixed; inset: 0; z-index: 99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; background: rgba(15, 23, 42, .6); backdrop-filter: blur(4px); color: #fff; font-size: 18px; font-weight: 700; }
.overlay-loader i { color: var(--oc-green); font-size: 3rem; }

/* Payment page */
.pay-status { display: table; margin: 0 auto 1.1rem; padding: .45rem 1rem; border: 1px solid rgba(250, 204, 21, .35); border-radius: 999px; background: rgba(250, 204, 21, .12); color: #fde68a; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pay-status.is-paid { border-color: rgba(74, 222, 128, .4); background: rgba(34, 197, 94, .14); color: #86efac; }
.pay-facts { margin: 0; }
.pay-facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--oc-line); font-size: .88rem; }
.pay-facts div:last-child { border-bottom: 0; }
.pay-facts dt { color: var(--oc-muted); }
.pay-facts dd { margin: 0; color: #fff; font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.pay-facts dd.order-checkout-grand { color: var(--oc-green); }
.pay-box { margin: 1rem 0; padding: 1.1rem; border: 1px solid rgba(74, 222, 128, .28); border-radius: 18px; background: linear-gradient(180deg, rgba(34, 197, 94, .1), rgba(8, 22, 44, .28)); text-align: center; }
.pay-box__label { color: rgba(187, 247, 208, .8); font-size: .78rem; font-weight: 700; }
.pay-box__value { margin: .25rem 0; color: #fff; font-size: 1.5rem; font-weight: 800; letter-spacing: .02em; overflow-wrap: anywhere; }
.pay-box .order-checkout-submit { margin-top: .8rem; }
.pay-copy { padding: .45rem 1rem; border: 1px solid rgba(74, 222, 128, .4); border-radius: 999px; background: none; color: #bbf7d0; font-size: .8rem; font-weight: 700; cursor: pointer; }
.pay-note { margin: .6rem 0; color: var(--oc-muted); font-size: .82rem; }
.pay-note strong { color: #fff; }
.pay-proof { margin: 1.2rem 0 0; padding-top: 1.3rem; border-top: 1px dashed var(--oc-line); }
.pay-proof .alert.is-success { border-color: rgba(74, 222, 128, .4); background: rgba(34, 197, 94, .14); color: #bbf7d0; }
.pay-proof__image img { display: block; max-width: 100%; max-height: 260px; margin: 0 auto 1rem; border: 1px solid rgba(150, 220, 255, .2); border-radius: 14px; }
.pay-file { display: block; width: 100%; padding: .5rem; border: 1px dashed rgba(120, 255, 190, .35); border-radius: 18px; background: rgba(8, 20, 40, .55); color: var(--oc-text); font-size: .82rem; }
.pay-file:focus-visible { outline: 2px solid var(--oc-green); }
.pay-file::file-selector-button { margin-right: .8rem; padding: .5rem .9rem; border: 0; border-radius: 999px; background: rgba(34, 197, 94, .2); color: #bbf7d0; font: inherit; font-weight: 700; cursor: pointer; }
.pay-qr { width: 100%; max-width: 260px; margin: .8rem auto 0; border-radius: 14px; background: #fff; overflow: hidden; }
.pay-qr svg { display: block; width: 100%; height: auto; }
.pay-guide { margin-bottom: .6rem; border: 1px solid rgba(150, 220, 255, .16); border-radius: 14px; background: rgba(8, 20, 40, .35); }
.pay-guide summary { padding: .75rem 1rem; color: #fff; font-size: .88rem; font-weight: 800; cursor: pointer; }
.pay-guide summary::marker { color: var(--oc-green); }
.pay-guide ol { margin: 0; padding: 0 1rem .9rem 2.2rem; color: var(--oc-text); font-size: .84rem; line-height: 1.6; }
.pay-guide li { margin-bottom: .35rem; overflow-wrap: anywhere; }
.pay-guide li::marker { color: var(--oc-green); font-weight: 800; }
.pay-actions { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 1.2rem; }
.pay-secondary { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.15rem; padding: 0 1rem; border: 1px solid rgba(150, 220, 255, .25); border-radius: 999px; background: rgba(8, 20, 40, .45); color: #fff; font-size: .88rem; font-weight: 700; text-align: center; text-decoration: none; }

/* Countdown */
.countdown { --ring: #4ade80; position: relative; margin: 1rem 0; padding: 1.1rem .9rem 1rem; border: 1px solid rgba(74, 222, 128, .28); border-radius: 18px; background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(34, 197, 94, .2), transparent 70%), rgba(8, 20, 40, .45); text-align: center; }
.countdown.is-urgent { --ring: #fb923c; border-color: rgba(251, 146, 60, .45); background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(251, 146, 60, .22), transparent 70%), rgba(8, 20, 40, .45); }
.countdown__title { color: #fff; font-size: .85rem; font-weight: 800; }
.countdown__title i { margin-right: .3rem; color: var(--ring); }
.countdown__rings { display: flex; justify-content: center; gap: clamp(.5rem, 3vw, 1.1rem); margin: .9rem 0; }
.countdown__unit { flex: 0 1 78px; min-width: 0; }
.countdown__ring { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.countdown__ring svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.countdown__ring circle { fill: rgba(8, 20, 40, .5); stroke: rgba(150, 220, 255, .14); stroke-width: 4; }
.countdown__ring circle:last-child { fill: none; stroke: var(--ring); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 5px var(--ring)); transition: stroke-dashoffset .6s ease, stroke .4s ease; }
.countdown__ring strong { position: relative; color: #fff; font-size: clamp(1.2rem, 6vw, 1.6rem); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; }
.countdown__unit small { display: block; margin-top: .45rem; color: var(--oc-muted); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.countdown__bar { height: 5px; border-radius: 999px; background: rgba(150, 220, 255, .14); overflow: hidden; }
.countdown__bar span { display: block; height: 100%; border-radius: inherit; background: var(--ring); transition: width 1s linear; }
.countdown__limit { margin: .7rem 0 0; color: var(--oc-muted); font-size: .78rem; }
.countdown__limit strong { color: #fff; }
.countdown.is-urgent:not(.is-over) [data-unit="seconds"] strong { animation: beat 1s ease infinite; }
.countdown.is-over .countdown__rings { opacity: .45; }
@keyframes beat { 50% { transform: scale(1.12); } }

/* Theme */
.theme-toggle { position: absolute; top: 16px; right: 16px; z-index: 5; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(150, 220, 255, .25); border-radius: 50%; background: rgba(8, 20, 40, .45); color: #fde68a; font-size: 17px; cursor: pointer; }
.theme-toggle:focus-visible { outline: 2px solid var(--oc-green); outline-offset: 2px; }
.theme-toggle .fa-moon, .brand-light, [data-theme="light"] .theme-toggle .fa-sun, [data-theme="light"] .brand-dark { display: none; }
[data-theme="light"] .theme-toggle .fa-moon, [data-theme="light"] .brand-light { display: block; }
:root { color-scheme: dark; }
[data-theme="light"] {
    color-scheme: light;
    --oc-green: #15803d; --oc-ink: #0f2a1c; --oc-text: #334155; --oc-muted: #5b6b80; --oc-line: rgba(21, 128, 61, .2); --oc-red: #b91c1c;
}
[data-theme="light"] body {
    color: var(--oc-text); background-color: #f1f7f5;
    background-image:
        radial-gradient(ellipse 42% 36% at 82% 12%, rgba(34, 197, 94, .26), transparent 58%),
        radial-gradient(ellipse 36% 30% at 96% 42%, rgba(16, 185, 129, .16), transparent 60%),
        radial-gradient(ellipse 40% 34% at 8% 92%, rgba(139, 92, 246, .2), transparent 62%),
        radial-gradient(ellipse 34% 28% at 18% 0%, rgba(14, 165, 233, .2), transparent 60%);
}
[data-theme="light"] :is(.checkout-brand, .order-checkout-card__head, .order-checkout-section__title, .order-checkout-total-row--grand, .order-checkout-coupon__head strong, .method-name, .order-checkout-field label, .pay-facts dd:not(.order-checkout-grand), .pay-box__value, .pay-note strong, .countdown__title, .countdown__ring strong, .countdown__limit strong, .pay-secondary, .alert a) { color: var(--oc-ink); }
[data-theme="light"] :is(.order-checkout-table th, .order-checkout-product small, .order-checkout-compare, .no-methods) { color: var(--oc-muted); }
[data-theme="light"] :is(.order-checkout-card__head-icon, .order-checkout-section__icon, .order-checkout-coupon__icon, .order-checkout-discount, .order-checkout-coupon__head small, .order-checkout-coupon__message:not(.is-error), .order-checkout-free-notice, .method-icon, .pay-box__label, .pay-copy, .pay-status.is-paid, .pay-proof .alert.is-success) { color: #166534; }
[data-theme="light"] .pay-file::file-selector-button { color: #166534; }
[data-theme="light"] .order-checkout-card { border-color: rgba(15, 60, 90, .14); background: linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .78)); box-shadow: 0 24px 50px rgba(15, 50, 70, .14); }
[data-theme="light"] :is(.order-checkout-summary, .method-card label, .order-checkout-tabs button, .pay-secondary, .theme-toggle, .no-methods) { border-color: rgba(15, 60, 90, .16); background: rgba(255, 255, 255, .8); }
[data-theme="light"] .order-checkout-tabs button { color: #475569; }
[data-theme="light"] .order-checkout-tabs button:hover { background: #dcfce7; color: #166534; }
[data-theme="light"] .order-checkout-tabs button[aria-selected="true"] { border-color: transparent; background: linear-gradient(180deg, #4ade80, #22c55e); color: #04210f; }
[data-theme="light"] .method-card input:checked + label { border-color: #16a34a; background: #e7f9ee; }
[data-theme="light"] :is(.order-checkout-coupon, .pay-box) { background: linear-gradient(180deg, rgba(34, 197, 94, .14), rgba(255, 255, 255, .7)); }
[data-theme="light"] .order-checkout-total-row--grand { background: linear-gradient(90deg, rgba(34, 197, 94, .18), rgba(255, 255, 255, .5)); }
[data-theme="light"] :is(.order-checkout-coupon__input, .form-control, .pay-file) { border-color: rgba(21, 100, 60, .3); background: #fff; color: #0f172a; }
[data-theme="light"] :is(.order-checkout-coupon__input, .form-control)::placeholder { color: #64748b; }
[data-theme="light"] .form-control:-webkit-autofill { -webkit-text-fill-color: #0f172a; box-shadow: inset 0 0 0 99px #fff; }
[data-theme="light"] .is-valid .form-control { border-color: #16a34a; }
[data-theme="light"] .is-invalid .form-control { border-color: #dc2626; }
[data-theme="light"] :is(.order-checkout-submit, .order-checkout-coupon__apply):disabled { background: #cbd5e1; color: #475569; }
[data-theme="light"] .pay-status:not(.is-paid) { border-color: rgba(161, 98, 7, .35); background: #fef9c3; color: #854d0e; }
[data-theme="light"] .pay-guide { border-color: rgba(15, 60, 90, .16); background: rgba(255, 255, 255, .8); }
[data-theme="light"] .pay-guide summary { color: var(--oc-ink); }
[data-theme="light"] .theme-toggle { color: #334155; }
[data-theme="light"] .countdown { --ring: #16a34a; background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(34, 197, 94, .2), transparent 70%), rgba(255, 255, 255, .8); }
[data-theme="light"] .countdown.is-urgent { --ring: #ea580c; background: radial-gradient(ellipse 70% 90% at 50% 0%, rgba(251, 146, 60, .24), transparent 70%), rgba(255, 255, 255, .8); }
[data-theme="light"] .countdown__ring circle { fill: #fff; stroke: rgba(15, 60, 90, .12); }
[data-theme="light"] .countdown__ring circle:last-child { fill: none; stroke: var(--ring); filter: none; }
[data-theme="light"] .countdown__bar { background: rgba(15, 60, 90, .12); }

@media (max-width: 575.98px) {
    .order-checkout-card__body { padding: 1rem .9rem 1.2rem; }
    .order-checkout-grand { font-size: 1.05rem; }
    .order-checkout-coupon__row { flex-direction: column; }
    .order-checkout-coupon__input { flex: 0 0 2.55rem; }
    .method-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
    .method-card label { height: auto; min-height: 120px; padding: 18px 12px; }
    .method-icon { width: 50px; height: 50px; }
    .method-name { font-size: 12px; }
    .checkmark-symbol { width: 24px; height: 24px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
