div.nexi-xpay-cards-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

div.nexi-xpay-cards-container > img {
    width: auto;
    height: 30px;
}

div.nexi-xpay-cards-container.npg > div {
    height: 30px;
    box-sizing: border-box;
}

div.nexi-xpay-cards-container.npg > div > img {
    width: auto;
    height: 100%;
}

div.nexi-xpay-cards-container.npg > div.VISA {
    padding-top: 6px;
    padding-bottom: 6px;
}

div.nexi-xpay-payment-method-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

div.nexi-xpay-payment-method-container img {
    height: 100%;
}

div.nexi-xpay-payment-method-container div.nexi-xpay-cards-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

div.nexi-xpay-payment-method-container div.nexi-xpay-cards-icon.xpay {
    width: 100%;
    min-width: 80px;
}

div.nexi-xpay-payment-method-container div.nexi-xpay-cards-icon.xpay img {
    width: auto;
    height: 40px;
}

div.nexi-xpay-payment-method-container div.nexi-xpay-cards-icon.npg img {
    height: 30px;
}

div.nexi-npg-payment-method-logo-container {
    display: inline-block;
    float: left;
    box-sizing: border-box;
    height: 40px;
    padding: 10px 5px;
}

div.pagodil-alert {
    margin-bottom: 30px;
    background-color: #fffbbb;
    color: #333;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 1.6;
}

.product-item-details table.pagodil-table-block tbody tr td:first-child {
    text-align: center;
}

.product-item-details table.pagodil-table-block tbody tr td.pagodil-pl {
    padding-left: 5px;
}

#card-fieldset-build {
    border: none;
    margin-bottom: 10px;
}

#card-fieldset-build .form--fieldset {
    display: flex;
    flex-direction: column;
}

#card-fieldset-build .form--wrap__row {
    display: flex;
    flex-direction: row;
    height: 40px;
    margin-bottom: 12px;
}

#card-fieldset-build .form--input__wrap.col-5 {
    width: 50%;
}

#card-fieldset-build .form--wrap__row .form--input__wrap.col-5:first-child {
    margin-right: 5px;
}

#card-fieldset-build .form--wrap__row .form--input__wrap.col-5:last-child {
    margin-left: 5px;
}

#card-fieldset-build .form--input__wrap.col-10 {
    width: 100%;
}

#card-fieldset-build .form--input__wrap > iframe {
    width: 100%;
    height: 40px;
    border: 1px solid #888;
    border-radius: 3px;
}

#card-fieldset-build .form--input__wrap.with-errors > iframe {
    border: 1px solid #ff0000;
}

#card-fieldset-build .card-field-form .messages {
    margin-bottom: 20px;
}

#card-fieldset-build .build-error-message {
    color: #df0000;
}

#googlepay-iframe-container iframe {
    height: 0;
    border: none;
    outline: none;
}

.actions-toolbar .primary.apple-pay {
    text-align: left;
}

.actions-toolbar .primary apple-pay-button {
    --apple-pay-button-width: 240px;
    --apple-pay-button-height: 40px;
}

div#googlepay-button-container {
    width: 100%;
    max-width: 250px;
}

@media only screen and (max-width: 768px) {

    .actions-toolbar .primary apple-pay-button {
        --apple-pay-button-width: 100%;
        --apple-pay-button-height: 40px;
    }

    div#googlepay-button-container {
        width: 100%;
        max-width: 100%;
    }

}