#brippoFailsafePaymentElementModal {
    display: none;
}

#brippoFailsafePaymentElementModal .footer {
    text-align: right;
    margin-top: 20px;
}

.scExpressSeparator {
    display: none;
    position: relative;
    width: 100%;
    height: 30px;
}

.scExpressSeparator .separator {
    width: 40%;
    border-bottom: 1px solid #ddd;
    max-height: 15px;
}

.scExpressSeparator.product {
    margin-bottom: 5px;
    margin-top: -10px;
}

.scExpressSeparator.minicart {
    margin-bottom: 5px;
    margin-top: -5px;
}

.scExpressSeparator.cart {
    margin-bottom: -17px;
    margin-top: 5px;
}

.scExpressSeparator h6 {
    color: #555;
    text-align: center;
    width: 20%;
    vertical-align: middle;
    margin: 10px 0 0;
}

.brippoExpressAgreements,
.brippoAgreementsModal {
    display: none;
}

.brippoExpressAgreements ul {
    list-style: none;
    padding: 0;
    text-align: right;
    margin: 5px 0;
}

.brippoExpressAgreements li {
    margin: 0;
}

.brippoExpressAgreements label {
    color: #000;
    font-weight: 400;
    font-size: 1.3rem;
    margin-right: 5px;
    cursor: pointer;
}

.expressAddCoupon {
    position: relative;
    display: none;
    min-height: 15px;
}

.expressAddCoupon .content {
    display: none;
}

.expressAddCoupon .textLink {
    color: #000;
    font-weight: 400;
    font-size: 1.3rem;
    cursor: pointer;
    position: absolute;
    top: 3px;
    right: 0px;
}

.expressAddCoupon .textLink::after {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 10px;
    line-height: 12px;
    color: inherit;
    content: '\e622';
    font-family: 'luma-icons';
    margin: 3px 0 0;
    vertical-align: middle;
    display: inline-block;
    font-weight: normal;
    overflow: hidden;
    speak: none;
    text-align: center;
    display: inline;
    margin-left: 10px;
    position: static;
    color: #000;
}

.expressAddCoupon .couponInput {
    border: none;
    padding: 3px 10px;
    margin: 0;
    color: #000;
    font-size: 1.2rem;
    height: 30px;
    border-radius: 3px;
    background-color: #eee;
    flex: 10;
}

.paybylink-note {
    font-weight: bold;
    margin: 10px 0 30px;
}

.paybylink-success-note {
    border: 2px solid #aaa;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    font-size: 1.5rem;
    font-weight: bold;
}

.brippo-payment-list-label {
    display: inline-block; min-height: 30px; position: static;
}
.brippo-in-list-logo {
    height: 30px; margin-bottom: -8px;display: inline-block;
}
.brippo-in-list-title {
    margin-left: 5px;
}

.scExpress {
    margin: 15px 0 20px;
    max-width: 400px;
}

@media only screen and (max-width: 767px) {
    .checkout-payment-method .step-title.mobile {
        padding-left: 0;
    }
}

.brippoOverLoader {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: #ccc;
    opacity: 0.7;
    border-radius: 3px;
}

.brippoOverLoader .brippoOverLoaderSpinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #555;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: brippoLoaderSpin 1s linear infinite;
    position: relative;
    top: calc(50% - 12px);
    left: 10px
}

@keyframes brippoLoaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.expressAddCouponInputContainer {
    display: none;
    width: calc(100% - 22px);
    flex-wrap:wrap;
    background-color: #fff;
    margin-top: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
}

.expressAddCouponNote {
    min-width: 100%;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.expressAddCouponApply,
.expressAddCouponRemove {
    font-size: 1.4rem;
    text-align: right;
    width: auto;
    padding: 4px 8px 4px 18px;
    flex: 1;
}

.scExpressProductPage {
    background-color: transparent;
}

.expressAddCouponSuccess {
    width: 100%;
    display: none;
}

.noWalletsLogo {
    object-fit: cover;
    object-position: left;
    width: 125px;
}

.brippoECEContainer {
    display: table;
}

#brippoExpressCheckoutProductPage_container {
    max-width: 400px;
}

#brippoExpressCheckoutMinicart_container {
    margin-top: 15px
}

.brippoThrobberVeil {
    display: none;
    position: fixed;
    z-index: 100000;
    width: 100%;
    height: 100%;
    background-color: #000000;
    top: 0;
    right: 0;
    opacity: .4;}

.brippoThrobberVeil .throbber {
    border: 4px solid #464646;
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: brippoVeilSpinnerAnimationSpin 1s linear infinite;
    margin: 0 auto;
    position: relative;
    z-index: 10000000000;
    top: calc(50% - 25px);
}

@keyframes brippoVeilSpinnerAnimationSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.brippoExpressOrSeparator {
    display: none;
    margin: 12px 0;
}

.brippoExpressOrSeparator .separatorOr {
    margin: 0 10px;
    color: #bbb;
    font-size: .8rem;
}

.brippoExpressOrSeparator .separatorLine {
    flex: 1;
    border-bottom: 1px solid #bbb;
    position: relative;
    top: -10px;
}

#brippo-payment-element-error,
.expressCheckoutError {
    display: none;
    padding: 10px 12px 9px;
    margin: 0 0 10px;
    background-color: #ffe8e8;
    border: 1px solid #f9a9a9;
    font-size: .9rem;
    color: #d33838;
}
/* One failing field per line under the heading, hanging indent so a wrapped
   message stays aligned with the text and not under the dash. */
.expressCheckoutError .brippo-wallet-error-line {
    margin-top: 4px;
    padding-left: 12px;
    text-indent: -12px;
}

#brippoExpressCheckoutCheckoutTop_container {
    margin-top: 40px
}

#brippoExpressCheckoutCheckoutTop_container .expressCheckoutTitle {
    margin-bottom: 15px;
}

#brippoExpressCheckoutCheckoutTop_container [class="brippoExpressOrSeparator"] {
    margin-top: 20px;
}

#brippoExpressCheckoutCheckoutTop_container .expressCheckoutTitle .separatorOr {
    font-size: 1rem;
}

#brippoExpressCheckoutCheckoutTop_container .expressCheckoutTitle .separatorLine {
    top: -12px
}

#brippoExpressCheckoutCart_container {
    margin-top: 20px;
}

#radio-control-wc-payment-method-options-brippo_payments_express__label {
    display: block;
    padding: 10px 10px 10px 0;
}

#brippo_payment_element_container {
    margin-bottom: 15px;
    padding: 10px;
}

.orderThankyou.paymentMethodDetails {
    display: flex;
    gap: 5px;
}

.orderThankyou.paymentMethodDetails .cardBrand {
    display: inline-block;
    width: 32px;
    height: 20px;
    background-image: url('../../../images/brands.png');
    background-size: auto 100%;
    margin-bottom: -5px;
    zoom: 1.1;
}

.orderThankyou.paymentMethodDetails .cardBrand.mastercard {
    background-position-x: -33.5px;
}

.orderThankyou.paymentMethodDetails .cardBrand.amex {
    background-position-x: -67px;
}

.orderThankyou.paymentMethodDetails .cardBrand.jcb {
    background-position-x: -100.5px;
}

.orderThankyou.paymentMethodDetails .cardBrand.discover {
    background-position-x: -134px;
}

.orderThankyou.paymentMethodDetails .cardBrand.diners {
    background-position-x: -167.5px;
}

.orderThankyou.paymentMethodDetails .cardBrand.unionpay {
    background-position-x: -201px;
}

.orderThankyou.paymentMethodDetails .wallet {
    display: inline-block;
    width: 32px;
    height: 20px;
    background-image: url('../../../images/brands.png');
    background-size: auto 100%;
    margin-bottom: -5px;
    zoom: 1.1;
}

.orderThankyou.paymentMethodDetails .wallet.google_pay {
    background-position-x: -268px;
}

.orderThankyou.paymentMethodDetails .wallet.apple_pay {
    background-position-x: -234.5px;
}

.orderThankyou.paymentMethodDetails .wallet.link {
    background-position-x: -301.5px;
}

.brippoButtonThrobber {
    width: 100%;
    background-color: #eee;
    border-radius: 5px;
    padding: 10px 0;
}

.brippoButtonThrobber .throbber {
    border: 4px solid #d8d8d8;
    border-top: 4px solid #ababab;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: brippoButtonThrobberSpin 1s linear infinite;
    margin: 0 auto;
}

@keyframes brippoButtonThrobberSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Wallets in the payment method list (issue #204): the row carries its own Place
   order button, so WooCommerce's is hidden while the row is selected. */
body.brippo-wallet-list-selected .wc-block-components-checkout-place-order-button { display: none !important; }
.brippo-wallet-list .brippo-wallet-note { margin: 0 0 12px; }
.brippo-wallet-list .brippo-wallet-place-order { width: 100%; }
/* The detected wallet's logo next to the radio, as the Magento legacy mode shows it.
   The classic checkout needs the heavier selectors: WooCommerce's own stylesheet sets
   `.woocommerce img { height: auto }` and `#payment ul.payment_methods li img { margin }`. */
img.brippo-wallet-list-logo,
.woocommerce img.brippo-wallet-list-logo,
.woocommerce-page img.brippo-wallet-list-logo,
.woocommerce-checkout #payment ul.payment_methods li img.brippo-wallet-list-logo {
    height: 24px; max-height: 24px; width: auto; margin: 0; margin-inline-end: 8px; vertical-align: middle; float: none; box-shadow: none;
}
li.wc_payment_method label .brippo-wallet-list-name { vertical-align: middle; }
/* WooCommerce hides every payment method's label icon once the checkout column is
   narrower than 520px (@container rules in checkout.css). Other gateways can afford
   that, their name carries the row; here the wallet mark is what the shopper
   recognises, and a phone is where wallets are used most, so this row keeps its logo.
   Specificity, not !important: container queries do not add any. */
.wc-block-components-payment-method-label--with-icon > img.brippo-wallet-list-logo {
    display: inline-block;
}
/* The Express Checkout Element's row: its wallet buttons sit in the row's own box and Place
   order is hidden, by WooCommerce itself from 10.6 and through this form class before. */
form.checkout.brippo-ece-list-selected #place_order { display: none !important; }
/* The classic row shows once the page knows the device's wallets, as the Magento module's does. */
form.checkout li.payment_method_brippo_ece:not(.brippo-ece-list-shown) { display: none !important; }
.brippo-ece-list-button { width: 100%; margin-top: 4px; }
.brippo-ece-list-button.brippo-ece-list-busy { opacity: .6; pointer-events: none; }
li.wc_payment_method label .brippo-ece-list-name { vertical-align: middle; }
.brippo-ece-list-logos { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: 8px; vertical-align: middle; }
img.brippo-wallet-list-logo.brippo-ece-list-logo,
.woocommerce-checkout #payment ul.payment_methods li img.brippo-wallet-list-logo.brippo-ece-list-logo { margin: 0; }
/* The block checkout's row: the buttons take the full width of the row's content. */
.brippo-ece-list-row { width: 100%; }
.brippo-ece-list-label { display: inline-flex; align-items: center; flex-wrap: wrap; }
.brippo-ece-list-placeholder { width: 100%; padding: 12px; border: 1px dashed currentColor; text-align: center; opacity: .6; }
