/**
 * Stripe - Checkout v1.2.1
 * Dark industrial aesthetic with orange accents.
 */

:root {
    --sc-bg:             #111111;
    --sc-bg-panel:       #0f0f0f;
    --sc-bg-input:       transparent;
    --sc-border:         rgba(255, 255, 255, 0.08);
    --sc-border-hover:   rgba(255, 255, 255, 0.18);
    --sc-border-focus:   rgba(255, 255, 255, 0.3);
    --sc-text:           #ffffff;
    --sc-text-muted:     rgba(255, 255, 255, 0.4);
    --sc-text-dim:       rgba(255, 255, 255, 0.25);
    --sc-accent:         #ff4a17;
    --sc-accent-dark:    #cc3b12;
    --sc-error:          #ff4444;
    --sc-error-bg:       rgba(255, 68, 68, 0.08);
    --sc-font:           'Bebas Neue', 'Impact', 'Arial Narrow', sans-serif;
    --sc-font-body:      'Barlow', 'Helvetica Neue', Helvetica, sans-serif;
    --sc-transition:     0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Order Summary Banner (inside form panel) ──────────── */
.sc-order-summary {
    position: relative;
    background: transparent;
    color: var(--sc-text);
    font-family: var(--sc-font-body);
    border: 1px solid var(--sc-border);
    border-left: 2px solid var(--sc-accent);
    border-radius: 4px;
    padding: 22px 24px;
    margin: 0 0 28px;
    -webkit-font-smoothing: antialiased;
}
.sc-order-summary__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.sc-order-summary__left { flex: 1 1 auto; min-width: 0; }
.sc-order-summary__right {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.sc-order-summary__label {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--sc-font-body);
    font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--sc-accent);
    margin-bottom: 8px;
}
.sc-order-summary__dash { color: var(--sc-accent); }
.sc-order-summary__title {
    font-family: var(--sc-font);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin: 0 0 6px;
    line-height: 1.05;
    color: var(--sc-text);
}
.sc-order-summary__sub {
    font-family: var(--sc-font-body);
    font-size: 0.64rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 3px;
    line-height: 1.5;
}
.sc-order-summary__sub--muted { color: var(--sc-text-muted); }
.sc-order-summary__total {
    display: inline-flex; align-items: baseline; gap: 8px;
    line-height: 1;
}
.sc-order-summary__price {
    font-family: var(--sc-font);
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--sc-accent);
}
.sc-order-summary__total-suffix {
    font-family: var(--sc-font-body);
    font-size: 0.62rem; font-weight: 600;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--sc-text);
}
.sc-order-summary__cash {
    font-family: var(--sc-font-body);
    font-size: 0.62rem; font-weight: 500;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--sc-text-muted);
    margin: 0;
    line-height: 1.5;
    max-width: 220px;
}
.sc-order-summary__accent { color: var(--sc-accent); font-weight: 700; }

@media (max-width: 600px) {
    .sc-order-summary { padding: 18px 18px; }
    .sc-order-summary__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .sc-order-summary__right {
        text-align: left;
        align-items: flex-start;
        width: 100%;
        border-top: 1px solid var(--sc-border);
        padding-top: 12px;
    }
    .sc-order-summary__cash { max-width: none; }
    .sc-order-summary__title { font-size: 1.35rem; }
    .sc-order-summary__sub { font-size: 0.6rem; letter-spacing: 0.1em; }
    .sc-order-summary__cash { font-size: 0.58rem; letter-spacing: 0.1em; }
}

/* ── Wrapper ───────────────────────────────────────────── */
.sc-checkout-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--sc-bg);
    color: var(--sc-text);
    font-family: var(--sc-font-body);
    line-height: 1.5;
    margin: 0; padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* ── LEFT: Visual Panel ────────────────────────────────── */
.sc-visual-panel {
    position: relative;
    width: 50%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sc-visual-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; z-index: 1;
}
.sc-visual-bg--default { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.sc-visual-bg--poster { background-size: cover; background-position: center; }
.sc-visual-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}
.sc-visual-overlay-img {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background-size: 100% 100%; background-repeat: no-repeat; background-position: center;
    z-index: 5; pointer-events: none;
}
.sc-visual-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 1;
}
.sc-visual-gradient-bottom {
    position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
    background: linear-gradient(to top, var(--sc-bg) 0%, transparent 100%);
    z-index: 5; pointer-events: none;
}
.sc-visual-content {
    position: relative; z-index: 6;
    text-align: center; padding: 40px;
}
.sc-visual-logo {
    max-width: 280px; max-height: 160px; width: auto; height: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
    animation: sc-logo-in 1s cubic-bezier(0.16,1,0.3,1) both;
}
.sc-visual-title {
    font-family: var(--sc-font); font-size: clamp(2.5rem,5vw,4rem);
    font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase;
    margin: 0; text-shadow: 0 2px 20px rgba(0,0,0,0.6);
    animation: sc-logo-in 1s cubic-bezier(0.16,1,0.3,1) both;
}
.sc-visual-desc {
    font-family: var(--sc-font-body); font-size: 0.9rem; font-weight: 300;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: rgba(255,255,255,0.7); margin-top: 12px;
}

/* ── RIGHT: Form Panel ─────────────────────────────────── */
.sc-form-panel {
    width: 50%; min-height: 100vh;
    display: flex; align-items: flex-start; justify-content: center;
    background: var(--sc-bg-panel);
    padding: 40px;
    overflow-y: auto;
}
.sc-form-inner {
    width: 100%; max-width: 540px;
    padding: 20px 0;
    animation: sc-fade-up 0.6s cubic-bezier(0.16,1,0.3,1) both;
}

/* ── Back Link ─────────────────────────────────────────── */
.sc-back-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--sc-font-body); font-size: 0.65rem; font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--sc-text-muted); text-decoration: none;
    margin-bottom: 32px;
    transition: color var(--sc-transition);
}
.sc-back-link:hover { color: var(--sc-text); }
.sc-back-link svg { width: 14px; height: 14px; transition: transform var(--sc-transition); }
.sc-back-link:hover svg { transform: translateX(-3px); }

/* ── Form Header ───────────────────────────────────────── */
.sc-form-header { margin-bottom: 32px; }
.sc-form-title {
    font-family: var(--sc-font); font-size: 2.4rem; font-weight: 400;
    letter-spacing: 0.02em; text-transform: uppercase;
    margin: 0 0 6px; line-height: 1.1;
}
.sc-form-subtitle {
    font-family: var(--sc-font-body); font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sc-text-muted); margin: 0;
}

/* ── Grid ──────────────────────────────────────────────── */
.sc-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px; margin-bottom: 16px;
}
.sc-row--three {
    grid-template-columns: 1fr 1fr 1fr;
}
.sc-col { display: flex; flex-direction: column; }

/* ── Reset inner borders on all form fields ───────────── */
.sc-checkout-wrapper input,
.sc-checkout-wrapper select,
.sc-checkout-wrapper textarea {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: var(--sc-text) !important;
    background: transparent !important;
}
.sc-checkout-wrapper select option {
    background: #1a1a1a;
    color: var(--sc-text);
}

/* ── Reset button styles from theme ───────────────────── */
.sc-checkout-wrapper .sc-tab,
.sc-checkout-wrapper .sc-tab:focus,
.sc-checkout-wrapper .sc-tab:active {
    outline: none !important;
    box-shadow: none !important;
}

/* ── Labels ────────────────────────────────────────────── */
.sc-label {
    font-family: var(--sc-font-body); font-size: 0.65rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--sc-text-muted); margin-bottom: 8px;
    display: block;
}

/* ── Input Wrapper ─────────────────────────────────────── */
.sc-input-wrap {
    position: relative; display: flex; align-items: center;
    border: 1px solid var(--sc-border);
    border-radius: 4px;
    background: var(--sc-bg-input);
    transition: border-color var(--sc-transition);
    min-height: 52px;
}
.sc-input-wrap:hover { border-color: var(--sc-border-hover); }
.sc-input-wrap:focus-within { border-color: var(--sc-border-focus); }

.sc-input-icon {
    width: 18px; height: 18px; flex-shrink: 0;
    margin-left: 14px;
    stroke: var(--sc-text-dim);
}

/* ── Inputs ────────────────────────────────────────────── */
.sc-input {
    width: 100%; padding: 14px 14px 14px 10px;
    font-family: var(--sc-font-body); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--sc-text);
    background: transparent; border: none; outline: none;
    box-shadow: none;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    box-sizing: border-box;
}
.sc-input::placeholder,
.sc-checkout-wrapper input::placeholder,
.sc-checkout-wrapper textarea::placeholder,
.sc-checkout-wrapper input::-webkit-input-placeholder,
.sc-checkout-wrapper input::-moz-placeholder,
.sc-checkout-wrapper input:-ms-input-placeholder {
    color: #ffffff !important;
    font-weight: 400; letter-spacing: 0.06em;
    opacity: 1 !important;
    -webkit-text-fill-color: #ffffff !important;
}
.sc-select {
    cursor: pointer;
    padding-right: 30px;
}

/* Phone prefix */
.sc-input-wrap--phone { padding-left: 0; }
.sc-phone-prefix {
    display: flex; align-items: center; justify-content: center;
    min-width: 56px; height: 100%;
    font-family: var(--sc-font-body); font-size: 0.78rem; font-weight: 500;
    letter-spacing: 0.04em; color: var(--sc-text-muted);
    border-right: 1px solid var(--sc-border);
    padding: 0 12px; flex-shrink: 0;
}
.sc-input--phone { padding-left: 12px; }

/* Stripe Elements */
.sc-stripe-element {
    flex: 1; padding: 16px 14px 16px 10px;
    min-height: 20px;
}
/* Remove inner border/outline from Stripe iframes */
.sc-stripe-element iframe {
    border: none !important;
    outline: none !important;
}
.sc-input-wrap .sc-stripe-element .StripeElement {
    border: none !important;
    box-shadow: none !important;
}

/* ── Payment Tabs ──────────────────────────────────────── */
.sc-payment-tabs {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 12px; margin: 28px 0 24px;
}
.sc-tab {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 16px 8px;
    font-family: var(--sc-font-body); font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--sc-text-muted);
    background: transparent;
    border: 1px solid var(--sc-border);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--sc-transition);
}
.sc-tab:hover {
    border-color: var(--sc-accent);
    color: var(--sc-accent);
    background: rgba(255, 74, 23, 0.04);
}
.sc-tab--active,
.sc-tab--active:hover,
.sc-tab--active:focus,
.sc-tab--active:active {
    border-color: var(--sc-accent) !important;
    color: var(--sc-accent) !important;
    background: rgba(255, 74, 23, 0.04) !important;
    outline: none !important;
    box-shadow: none !important;
}
.sc-tab-icon {
    width: 20px; height: 20px;
}

/* ── Address Fields ────────────────────────────────────── */
.sc-address-fields { margin-top: 16px; }

/* ── Installments ──────────────────────────────────────── */
.sc-installments-row { margin-top: 16px; }

/* ── PIX Info Panel ────────────────────────────────────── */
.sc-pix-fields { margin-top: 8px; }
.sc-boleto-info {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--sc-border);
    border-radius: 4px;
    font-family: var(--sc-font-body); font-size: 0.78rem;
    color: var(--sc-text-muted); line-height: 1.6;
}
.sc-boleto-info svg { flex-shrink: 0; margin-top: 2px; stroke: var(--sc-accent); }
.sc-boleto-info p { margin: 0; }
.sc-boleto-info strong { color: var(--sc-text); }

/* ── PIX Modal ─────────────────────────────────────────── */
.sc-pix-modal {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    animation: sc-modal-in 0.3s ease both;
}
.sc-pix-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.sc-pix-modal__content {
    position: relative; z-index: 2;
    width: 92%; max-width: 520px;
    background: #000000;
    border-left: 3px solid var(--sc-accent);
    padding: 48px 40px 40px;
    text-align: center;
    animation: sc-fade-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.sc-pix-modal__close {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; outline: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.25s ease;
    padding: 4px;
}
.sc-pix-modal__close:hover { color: var(--sc-accent); }
.sc-pix-modal__title {
    font-family: var(--sc-font);
    font-size: 2.4rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 8px;
    line-height: 1.05;
}
.sc-pix-modal__sub {
    font-family: var(--sc-font-body);
    font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 24px;
}
.sc-pix-modal__qr-wrap {
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    width: 240px; height: 240px;
    background: #ffffff;
    padding: 14px;
    border-radius: 6px;
}
.sc-pix-modal__qr {
    max-width: 100%; max-height: 100%;
    display: block;
}
.sc-pix-modal__code-wrap {
    position: relative;
    margin: 0 0 20px;
}
.sc-pix-modal__code {
    width: 100%; min-height: 70px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--sc-border) !important;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.8) !important;
    font-family: 'Menlo', 'Monaco', monospace !important;
    font-size: 11px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    resize: none;
    word-break: break-all;
    box-sizing: border-box;
}
.sc-pix-modal__copy {
    display: block; width: 100%;
    margin-top: 10px;
    padding: 12px 16px;
    background: var(--sc-accent); color: #ffffff;
    border: none; border-radius: 4px;
    font-family: var(--sc-font-body); font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s ease;
}
.sc-pix-modal__copy:hover { background: var(--sc-accent-dark); }
.sc-pix-modal__status {
    display: flex; align-items: center; justify-content: center;
    gap: 10px;
    margin: 10px 0 8px;
    font-family: var(--sc-font-body); font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}
.sc-pix-modal__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--sc-accent);
    box-shadow: 0 0 0 0 rgba(255, 74, 23, 0.6);
    animation: sc-pix-pulse 1.6s infinite;
}
@keyframes sc-pix-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 74, 23, 0.55); }
    70%  { box-shadow: 0 0 0 12px rgba(255, 74, 23, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 74, 23, 0); }
}
.sc-pix-modal__expires {
    font-family: var(--sc-font-body); font-size: 0.65rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}
.sc-pix-modal__expires span { color: var(--sc-accent); }

@media (max-width: 600px) {
    .sc-pix-modal__content { padding: 40px 24px 32px; }
    .sc-pix-modal__title { font-size: 1.8rem; }
    .sc-pix-modal__qr-wrap { width: 200px; height: 200px; }
}

/* ── Error Modal Popup ─────────────────────────────────── */
.sc-error-modal {
    position: fixed; inset: 0; z-index: 99999;
    display: flex; align-items: center; justify-content: center;
    animation: sc-modal-in 0.3s ease both;
}
.sc-error-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.sc-error-modal__content {
    position: relative; z-index: 2;
    width: 92%; max-width: 680px;
    background: #000000;
    border-left: 3px solid #ff4a17;
    padding: 60px 56px 56px;
    text-align: left;
    animation: sc-fade-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.sc-error-modal__close,
.sc-error-modal__close:link,
.sc-error-modal__close:visited {
    position: absolute; top: 24px; right: 28px;
    background: none !important; border: none !important; outline: none !important;
    box-shadow: none !important;
    color: rgba(255, 255, 255, 0.4) !important;
    cursor: pointer;
    transition: color 0.25s ease;
    padding: 4px;
    line-height: 1;
}
.sc-error-modal__close:hover,
.sc-error-modal__close:focus,
.sc-error-modal__close:active {
    color: #ff4a17 !important;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.sc-error-modal__icon {
    margin-bottom: 28px;
}
.sc-error-modal__icon-bg {
    width: 64px; height: 64px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(255, 74, 23, 0.25) 0%, rgba(255, 74, 23, 0.08) 100%);
    border-radius: 8px;
    position: relative;
}
.sc-error-modal__icon-bg::before {
    content: '';
    position: absolute; inset: 6px;
    background: linear-gradient(135deg, rgba(255, 74, 23, 0.4) 0%, rgba(255, 74, 23, 0.15) 100%);
    border-radius: 5px;
}
.sc-error-modal__icon-bg svg {
    position: relative; z-index: 1;
}
.sc-error-modal__title {
    font-family: var(--sc-font);
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 24px;
    line-height: 1.05;
}
.sc-error-modal__detail {
    font-family: var(--sc-font-body);
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 16px;
    line-height: 1.7;
}
.sc-error-modal__reassurance {
    font-family: var(--sc-font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 2;
}
.sc-error-modal__reassurance strong {
    color: var(--sc-accent);
    font-weight: 700;
}
@keyframes sc-modal-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Error Message (inline fallback) ──────────────────── */
.sc-error-message {
    font-family: var(--sc-font-body); font-size: 0.78rem; font-weight: 500;
    color: var(--sc-error); background: var(--sc-error-bg);
    padding: 0; max-height: 0; overflow: hidden;
    transition: all 0.3s ease; border-radius: 4px;
    margin: 16px 0 0;
}
.sc-error-message.visible {
    padding: 12px 16px; max-height: 120px;
}

/* ── Custom Button (ec-btn-swap) ───────────────────────── */
.ec-btn-swap {
    position: relative; display: inline-flex;
    align-items: center; justify-content: center;
    min-height: 88px; width: 100%;
    padding: 14px 34px;
    background: #efefef; color: #111;
    text-transform: uppercase; letter-spacing: 0.04em;
    text-decoration: none; overflow: hidden;
    transition: background 0.35s ease, color 0.35s ease, transform 0.2s ease;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
    font-family: var(--sc-font-body); font-weight: 700; font-size: 21px;
    border: none; cursor: pointer; margin-top: 28px;
}
.ec-btn-swap:disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }
.ec-btn-swap__label {
    position: relative; z-index: 2;
    display: inline-block;
    transition: transform 0.35s ease, color 0.35s ease, opacity 0.3s ease;
    will-change: transform;
}
.ec-btn-swap__icon-box {
    position: absolute; top: 0; left: 0;
    width: 85px; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--sc-accent);
    transition: left 0.35s ease, background 0.35s ease;
    clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}
.ec-btn-swap__icon-box svg { transition: opacity 0.35s ease; }
.icon-white, .icon-orange { position: absolute; }
.icon-white { opacity: 0; }
.icon-orange { opacity: 1; }

.ec-btn-swap:hover:not(:disabled) { background: var(--sc-accent); color: #fff; }
.ec-btn-swap:hover:not(:disabled) .ec-btn-swap__icon-box { left: calc(100% - 85px); background: #efefef; }
.ec-btn-swap:hover:not(:disabled) .ec-btn-swap__label { transform: none; }
.ec-btn-swap:hover:not(:disabled) .icon-orange { opacity: 0; }
.ec-btn-swap:hover:not(:disabled) .icon-white { opacity: 1; }
.ec-btn-swap:active:not(:disabled) { transform: scale(0.98); }

/* Processing state */
.ec-btn-swap.processing { background: var(--sc-accent); color: #fff; pointer-events: none; }
.ec-btn-swap.processing .ec-btn-swap__label { opacity: 0; }
.ec-btn-swap.processing .ec-btn-swap__icon-box { opacity: 0; }
.ec-btn-swap.processing .sc-spinner { opacity: 1; }
.sc-spinner {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    opacity: 0; transition: opacity 0.3s ease;
}
.sc-spinner-svg { width: 26px; height: 26px; animation: sc-spin 0.8s linear infinite; }

/* ── Footer ────────────────────────────────────────────── */
.sc-footer {
    display: flex; align-items: center; justify-content: center;
    gap: 6px; margin-top: 24px;
    font-family: var(--sc-font-body); font-size: 0.6rem; font-weight: 400;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--sc-text-muted);
}
.sc-footer svg { opacity: 0.4; }

/* ── Noscript ──────────────────────────────────────────── */
.sc-noscript {
    padding: 20px; text-align: center;
    background: var(--sc-error-bg); color: var(--sc-error);
    font-family: var(--sc-font-body); font-size: 0.9rem;
}

/* ── Animations ────────────────────────────────────────── */
@keyframes sc-logo-in { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes sc-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sc-spin { to { transform: rotate(360deg); } }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
    .sc-checkout-wrapper { flex-direction: column; min-height: auto; }
    .sc-visual-panel { width: 100%; min-height: 40vh; max-height: 45vh; }
    .sc-form-panel { width: 100%; min-height: auto; padding: 28px 20px 48px; }
    .sc-form-inner { max-width: 100%; }
    .sc-visual-logo { max-width: 200px; }
}
@media (max-width: 600px) {
    .sc-row { grid-template-columns: 1fr; }
    .sc-row--three { grid-template-columns: 1fr 1fr; }
    .sc-payment-tabs { grid-template-columns: 1fr; gap: 8px; }
    .sc-tab { flex-direction: row; padding: 12px 16px; }
    .sc-form-title { font-size: 1.8rem; }
    .ec-btn-swap {
        min-height: 72px; padding: 12px 22px; font-size: 16px;
        clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    }
    .ec-btn-swap__icon-box {
        width: 68px;
        clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    }
    .ec-btn-swap:hover:not(:disabled) .ec-btn-swap__icon-box { left: calc(100% - 68px); }
    .ec-btn-swap:hover:not(:disabled) .ec-btn-swap__label { transform: none; }
}
@media (max-width: 480px) {
    .sc-visual-panel { min-height: 35vh; }
    .sc-row--three { grid-template-columns: 1fr; }
}
@media (min-width: 1400px) {
    .sc-visual-logo { max-width: 340px; }
    .sc-form-inner { max-width: 580px; }
}
