/* Administration previews only. Customer-page original remains independent. */
:where(.payhippo-studio) .ph-gateway-label,:where(.payhippo-studio) .slc-gateway-label,:where(.payhippo-studio) .slc-gateway-logo-popover{--ph-method-logo-height:24px}
@media(max-width:767.98px){:where(.payhippo-studio) .ph-gateway-label,:where(.payhippo-studio) .slc-gateway-label,:where(.payhippo-studio) .slc-gateway-logo-popover{--ph-method-logo-height:20px}}
:where(.payhippo-studio) .ph-gateway-label{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px!important;max-width:100%;min-width:0;min-height:var(--ph-method-logo-height,24px);vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
:where(.payhippo-studio) .ph-gateway-label>.ph-gateway-name{min-width:0;max-width:100%;}
:where(.payhippo-studio) .ph-gateway-label>.ph-gateway-name:not(.ph-visually-hidden){margin:0!important;padding:0!important}
:where(.payhippo-studio) .ph-gateway-discount-media{display:inline-flex;align-items:center;flex:0 1 auto;flex-wrap:nowrap;gap:8px;min-width:0;max-width:100%}
:where(.payhippo-studio) .ph-gateway-discount-media>.ph-gateway-logo,:where(.payhippo-studio) .ph-gateway-discount-media>.ph-gateway-additional-logos,:where(.payhippo-studio) .ph-gateway-discount-media>.slc-gateway-logo-group{min-width:0;flex:0 1 auto}
:where(.payhippo-studio) .ph-gateway-discount-media>.ph-gateway-discount-badge{flex-shrink:0}
:where(.payhippo-studio) .ph-gateway-label .ph-gateway-discount-badge[hidden]{display:none!important}
:where(.payhippo-studio) .ph-gateway-label .ph-gateway-discount-badge,:where(.payhippo-studio) #wfacp-e-form .wfacp_main_form.woocommerce .wfacp_payment #payment .payment_methods li.wc_payment_method>label .ph-gateway-label.ph-gateway-has-discount .ph-gateway-discount-badge{display:inline-flex;align-items:center;flex:0 0 auto;box-sizing:border-box;width:auto;height:auto;min-width:0;min-height:0;max-width:none;max-height:none;padding:2px 6px;font-family:inherit;font-size:.75em;font-weight:400;line-height:1.2;border:1px solid #bde4cd;border-radius:4px;background:#eaf7ef;color:#166534;white-space:nowrap;overflow-wrap:normal;unicode-bidi:isolate;vertical-align:middle}
:where(.payhippo-studio) #payment .payment_methods .ph-gateway-label.ph-gateway-has-discount,:where(.payhippo-studio) .ph-gateway-label.slc-gateway-label.ph-gateway-has-discount{flex-wrap:wrap!important}
:where(.payhippo-studio) [data-bs-theme="dark"] .ph-gateway-discount-badge,html.payhippo-studio[data-theme="dark"] .ph-gateway-discount-badge,:where(.payhippo-studio) :is([data-bs-theme="dark"],[data-theme="dark"]) #wfacp-e-form .wfacp_main_form.woocommerce .wfacp_payment #payment .payment_methods li.wc_payment_method>label .ph-gateway-label.ph-gateway-has-discount .ph-gateway-discount-badge{border-color:#326249;background:#153b29;color:#b7efd0}
:where(.payhippo-studio) .ph-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
:where(.payhippo-studio) .ph-gateway-label img.ph-gateway-logo,:where(.payhippo-studio) #payment .payment_methods .ph-gateway-label img.ph-gateway-logo{display:block!important;float:none!important;width:auto!important;height:var(--ph-method-logo-height,24px)!important;max-height:var(--ph-method-logo-height,24px)!important;max-width:100%!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
:where(.payhippo-studio) .ph-gateway-additional-logos{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;max-width:100%}
:where(.payhippo-studio) .ph-gateway-description{display:flex;flex-direction:column;align-items:var(--ph-description-items,center);max-width:100%;text-align:var(--ph-description-alignment,center)}
:where(.payhippo-studio) .woocommerce-checkout #payment ul.payment_methods li .ph-gateway-description.slc-payment-description img.ph-gateway-description-image,:where(.payhippo-studio) .woocommerce-checkout #payment ul.payment_methods li .ph-gateway-description.slc-central-gateway-description img.ph-gateway-description-image,:where(.payhippo-studio) .ph-gateway-description img.ph-gateway-description-image,:where(.payhippo-studio) #payment .payment_methods .ph-gateway-description img.ph-gateway-description-image,:where(.payhippo-studio) .wfacp_main_form .ph-gateway-description img.ph-gateway-description-image{display:block!important;float:none!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:var(--ph-description-image-height,100px)!important;object-fit:contain!important;margin:0 0 10px!important;padding:0!important;border:0!important;box-shadow:none!important}
:where(.payhippo-studio) .ph-gateway-description p{width:100%;margin:0;overflow-wrap:anywhere;white-space:pre-line;color:inherit;}
:where(.payhippo-studio) .ph-gateway-description[hidden]{display:none!important}
:where(.payhippo-studio) .ph-gateway-label>.slc-gateway-logo-group,:where(.payhippo-studio) .ph-gateway-discount-media>.slc-gateway-logo-group{height:var(--ph-method-logo-height,24px)}
:where(.payhippo-studio) .ph-gateway-label .slc-gateway-logo-item.slc-gateway-logo-item,:where(.payhippo-studio) .slc-gateway-logo-popover .slc-gateway-logo-item.slc-gateway-logo-item{flex:0 0 auto;width:auto!important;height:var(--ph-method-logo-height,24px)!important;aspect-ratio:var(--ph-logo-cell-ratio,38/24);border:0!important;overflow:visible}
:where(.payhippo-studio) .ph-gateway-additional-logos img.ph-gateway-logo{height:var(--ph-method-logo-height,24px)!important;max-height:var(--ph-method-logo-height,24px)!important}
:where(.payhippo-studio) #payment ul.payment_methods>li>label,:where(.payhippo-studio) .wc-block-components-radio-control__label{--ph-method-logo-height:24px}
:where(.payhippo-studio) #payment ul.payment_methods>li>label:not(:has(.ph-gateway-label)),:where(.payhippo-studio) .wc-block-components-radio-control__label:not(:has(.ph-gateway-label)){display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
:where(.payhippo-studio) #payment ul.payment_methods>li>label img:not(.slc-gateway-logo-image),:where(.payhippo-studio) .wc-block-components-radio-control__label img:not(.slc-gateway-logo-image){display:block!important;height:var(--ph-method-logo-height,24px)!important;max-height:var(--ph-method-logo-height,24px)!important;width:auto!important;max-width:100%!important;object-fit:contain!important;object-position:center;float:none!important;margin:0!important;vertical-align:middle}
@media(max-width:767.98px){:where(.payhippo-studio) #payment ul.payment_methods>li>label,:where(.payhippo-studio) .wc-block-components-radio-control__label{--ph-method-logo-height:20px}}
:where(.payhippo-studio) #wfacp-e-form #payment .payment_methods>li>label .ph-gateway-label,:where(.payhippo-studio) #wfacp-e-form #payment .payment_methods>li>label .ph-gateway-discount-media{display:inline-flex}
