

.checkout-step-panel .app-section-subtitle {
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.45;
}

.checkout-form-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.checkout-form-stack > .checkout-form-section:first-child,
.checkout-form-section-first {
    padding-top: 0;
    border-top: 0;
}

.checkout-form-section {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.checkout-form-section-optional {
    padding-top: 1rem;
    margin-top: 1rem;
}

.checkout-panel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.15rem;
}

.checkout-panel-actions-between {
    justify-content: space-between;
}

.checkout-next-btn,
.checkout-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.75rem;
    border-radius: 0.75rem;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0 1rem;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.checkout-next-btn {
    border: 1px solid #0f172a;
    background: #0f172a;
    color: #ffffff;
}

.checkout-next-btn:hover,
.checkout-place-order-btn:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #111827;
}

.checkout-secondary-btn {
    border: 1px solid #dbe3ec;
    background: #ffffff;
    color: #0f172a;
}

.checkout-secondary-btn:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #f8fafc;
}

.checkout-same-address {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 0.85rem 0.95rem;
    margin-bottom: 1rem;
    background: #ffffff;
    cursor: pointer;
}

.checkout-same-address span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    font-size: 0.92rem;
    color: #0f172a;
}

.checkout-same-address small {
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.checkout-payment-intro {
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 0.95rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.checkout-payment-copy {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 600;
}

.checkout-payment-copy i {
    flex: 0 0 auto;
}

.checkout-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkout-embed-actions {
    display: flex;
    justify-content: flex-start;
    margin: 0 0 0.65rem;
    pointer-events: auto;
    position: relative;
    top: 0;
    left: 0;
    z-index: 6;
}

.checkout-embed-back-btn {
    min-height: auto;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    pointer-events: auto;
}

.checkout-method-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 650;
    padding: 0.45rem 0.7rem;
}

.checkout-consent-stack {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.checkout-consent-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 0.85rem 0.95rem;
    color: #334155;
    cursor: pointer;
    font-size: 0.86rem;
    line-height: 1.45;
    background: #ffffff;
}

.checkout-consent-card:hover,
.checkout-same-address:hover {
    background: #f8fafc;
}

.checkout-inline-action {
    display: flex;
    align-items: stretch;
    gap: 0.75rem;
}

.checkout-inline-action .form-input {
    min-width: 0;
    flex: 1 1 auto;
}

.checkout-inline-btn {
    flex: 0 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0.85rem;
    padding: 0 0.95rem;
    min-height: 3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    background: #ffffff;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.checkout-inline-btn:hover:not(:disabled) {
    border-color: rgba(15, 23, 42, 0.24);
    background: #f8fafc;
}

.checkout-inline-btn:disabled {
    cursor: wait;
    opacity: 0.7;
}

.checkout-inline-status {
    margin-top: 0.75rem;
    display: block;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.82rem;
    line-height: 1.45;
}

.checkout-placeholder {
    background: #f8fafc;
    border-color: var(--line);
}

.checkout-place-order-btn {
    background: var(--primary);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: none;
    height: 3.5rem;
    min-width: min(100%, 14rem);
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.55rem !important;
    white-space: nowrap !important;
}

.checkout-place-order-btn.checkout-btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    white-space: nowrap;
}

.checkout-btn-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.38);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    flex: 0 0 auto;
    line-height: 1;
    vertical-align: middle;
}

.checkout-place-order-btn:hover {
    background: #17233c;
}

.checkout-summary {
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    box-shadow: none;
}

.checkout-summary #order-items {
    display: grid;
    gap: 0;
}

.checkout-summary #order-items > * {
    margin-top: 0 !important;
}

.checkout-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.checkout-summary-item:first-child {
    padding-top: 0;
}

.checkout-summary-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.checkout-summary-item-media {
    border-radius: inherit;
}

.checkout-summary-item-body {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: space-between;
    gap: 0.75rem;
}

.checkout-summary-item-main {
    min-width: 0;
}

.checkout-summary-item-main h4 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.checkout-summary-item-meta {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.8125rem;
    line-height: 1.35;
}

.checkout-summary-item-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #047857;
    font-weight: 650;
}

.checkout-summary-item-total {
    flex: 0 0 auto;
    margin: 0;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-summary-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 600;
}

.checkout-summary-note i {
    color: #0f172a;
    flex: 0 0 auto;
}

.checkout-total {
    color: var(--primary);
}

.checkout-shipping-box {
    background: #ecfdf5;
    border-color: #86efac;
}

.checkout-support-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-support-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.checkout-support-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.88rem;
    color: #475569;
}

.checkout-support-item i {
    color: #0f172a;
}

.checkout-text-toggle {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    text-align: left;
}

.checkout-text-toggle:hover {
    color: #1e293b;
}

.checkout-footer {
    background: #0f172a;
    color: #94a3b8;
}

a[href="/checkout"].block.w-full {
    border-radius: 0.85rem;
    font-weight: 700;
    background: var(--primary);
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.15);
}

a[href="/checkout"].block.w-full:hover {
    background: #17233c;
}