.woocommerce-checkout #payment li[class*="payment_method_elysoma_"] > label {
    display: flex; align-items: center; gap: 10px; min-height: 56px;
    border: 1px solid #d2d2d7; border-radius: 12px; padding: 12px 14px;
    background: #fff; color: #1d1d1f; cursor: pointer;
}
.woocommerce-checkout #payment .ely-manual-icon {
    order: -1 !important; width: 28px !important; height: 28px !important;
    max-width: 28px !important; max-height: 28px !important; object-fit: contain;
    float: none !important; margin: 0 !important; flex: 0 0 28px !important;
}
.ely-manual-checkout { box-sizing: border-box; border: 1px solid #e5e5e7; border-radius: 12px; padding: 16px; background: #fff; color: #515154; }
.ely-manual-checkout .elysoma-payment-details-heading { color: #172033; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.ely-manual-checkout .elysoma-payment-details-copy { font-size: 13px; line-height: 1.55; }
.ely-manual-payment-notice { border: 1px solid #e5e5e7; border-radius: 10px; padding: 14px 16px; margin: 14px 0; background: #f5f5f7; color: #515154; }
.ely-manual-payment-notice .ely-manual-notice-title { display: block; color: #1d1d1f; font-size: 13px; line-height: 1.5; font-weight: 600; margin: 0 0 6px; }
.ely-manual-payment-notice p { color: #515154 !important; font-size: 13px !important; line-height: 1.6 !important; margin: 0 0 8px !important; }
.ely-manual-payment-notice p:last-child { margin-bottom: 0 !important; }
.ely-manual-phone-hint { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; line-height: 1.5; color: #737b89; }
.woocommerce-checkout #payment .ely-manual-payer-row { margin: 14px 0 0 !important; padding: 0 !important; width: 100% !important; float: none !important; }
.woocommerce-checkout #payment .ely-manual-payer-row label { display: block !important; margin: 0 0 6px !important; font-size: 13px !important; line-height: 1.5 !important; color: #1d1d1f; }
.woocommerce-checkout #payment input.ely-manual-payer {
    width: 100% !important; box-sizing: border-box !important; min-height: 44px;
    border: 1px solid #d2d2d7 !important; border-radius: 8px !important;
    background: #fff !important; color: #1d1d1f !important; padding: 10px 12px !important;
    font-family: inherit !important; font-size: 16px !important; box-shadow: none !important;
}
.ely-manual-checkout .ely-manual-help { margin: 10px 0 0 !important; font-size: 12px !important; line-height: 1.5 !important; color: #737b89 !important; }
.ely-manual-receipt { box-sizing: border-box; width: 100%; max-width: 720px; margin: 24px auto; padding: clamp(18px, 4vw, 30px); border: 1px solid #e5e5e7; border-radius: 16px; color: #1d1d1f; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.025); font-family: inherit; }
.ely-manual-receipt * { box-sizing: border-box; }
.ely-manual-receipt h2 { margin: 0 0 12px; font-family: inherit; font-size: clamp(22px,4vw,28px); font-weight: 600; line-height: 1.25; color: #1d1d1f; }
.ely-manual-receipt p { margin: 0 0 16px; font-size: 14px; line-height: 1.65; color: #515154; }
.ely-manual-receipt .ely-manual-eyebrow { margin-bottom: 8px; color: #737b89; font-size: 12px; font-weight: 500; }
.ely-manual-receipt table.ely-manual-payment-data { width: 100%; table-layout: fixed; border-collapse: collapse; border: 0; margin: 18px 0; background: transparent; }
.ely-manual-receipt .ely-manual-payment-data th,
.ely-manual-receipt .ely-manual-payment-data td { padding: 12px 0; border: 0; border-bottom: 1px solid #ededf0; background: transparent; text-align: left; font-size: 14px; vertical-align: top; line-height: 1.5; }
.ely-manual-receipt .ely-manual-payment-data th { width: 32%; padding-right: 12px; font-weight: 400; color: #737b89; }
.ely-manual-receipt .ely-manual-payment-data td { color: #1d1d1f; font-weight: 500; overflow-wrap: anywhere; }
.ely-manual-value { user-select: text; }
.ely-manual-receipt button.ely-manual-copy { display: inline-flex; align-items: center; min-height: 32px; margin: 0 0 0 10px; padding: 4px 8px; background: #f5f5f7; border: 1px solid #e5e5e7; border-radius: 6px; font-size: 11px; font-weight: 500; line-height: 1.4; font-family: inherit; color: #515154; cursor: pointer; text-transform: none; }
.ely-manual-receipt button.ely-manual-copy[hidden] { display: none; }
/* Keep payment links in the neutral palette even when the theme colors links. */
.ely-manual-receipt a.ely-manual-open,
.ely-manual-receipt a.ely-manual-open:visited { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 20px; border-radius: 9px; border: 1px solid #d2d2d7; background: #f5f5f7 !important; color: #1d1d1f !important; text-decoration: none !important; font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.5; box-shadow: none; }
.ely-manual-receipt a.ely-manual-open:hover,
.ely-manual-receipt a.ely-manual-open:focus-visible { background: #ededf0 !important; border-color: #c7c7cc; color: #1d1d1f !important; }
.ely-manual-receipt a.ely-manual-open:active { background: #e5e5ea !important; }
.ely-manual-receipt .ely-manual-qr { border-radius: 12px; padding: 20px; margin: 18px 0; border: 1px solid #e5e5e7; background: #fff; text-align: center; }
.ely-manual-receipt .ely-manual-qr img { display: block; width: 180px; max-width: 100%; height: auto; margin: 0 auto 12px; object-fit: contain; }
.ely-manual-receipt .ely-manual-qr p { margin: 0; font-size: 12px; }
.ely-manual-receipt .ely-manual-help { font-size: 12px; color: #737b89; margin: 18px 0 0; }
.ely-manual-receipt .ely-manual-live { display: block; color: #515154; font-size: 12px; }
.ely-manual-receipt :is(button,a):focus-visible,
.woocommerce-checkout #payment input.ely-manual-payer:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }
@media (max-width: 480px) {
    .ely-manual-receipt .ely-manual-payment-data th { width: 35%; }
    .ely-manual-receipt button.ely-manual-copy { display: flex; margin: 6px 0 0; min-height: 36px; }
    .ely-manual-receipt a.ely-manual-open { width: 100%; }
}
