/*
 * Amazon Pay Checkout v2 – Übersichtsseite (/payapexecute).
 * Rahmen und Abstände wie die Zahlungsart-Boxen im Checkout
 * (#KlarnaPayButtonContainer, #paypalCheckoutContainer).
 */

.amazonv2-review {
    max-width: 750px;
    margin: 0 auto 40px auto;
    padding: 0 16px;
    font-family: 'Roboto', Arial, sans-serif;
}

.amazonv2-review h2 {
    text-align: center;
    text-transform: uppercase;
    font-size: 150%;
    margin: 10px 0 20px 0;
}

.amazonv2-box {
    border: 3px solid #ccc;
    padding: 6px 20px;
    background: #fff;
}

.amazonv2-row {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid #e5e5e5;
}

.amazonv2-row:last-child {
    border-bottom: 0;
}

.amazonv2-label {
    font-weight: 700;
    color: #416681;
}

.amazonv2-value {
    color: #111;
    line-height: 1.5;
}

.amazonv2-logo {
    height: 20px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.amazonv2-change {
    color: #416681;
    text-decoration: underline;
    white-space: nowrap;
}

.amazonv2-sum {
    grid-template-columns: 150px 1fr;
    padding: 8px 0;
    border-bottom: 0;
}

.amazonv2-sum .amazonv2-value {
    text-align: right;
}

.amazonv2-total {
    border-top: 1px solid #e5e5e5;
    font-size: 18px;
}

.amazonv2-total .amazonv2-label,
.amazonv2-total .amazonv2-value {
    font-weight: 800;
    color: #111;
}

#amazonv2-confirm {
    text-align: center;
    margin: 24px 0 10px 0;
}

/* Wie #button-pay-general im Checkout */
#amazonv2-buy {
    cursor: pointer;
    width: 16em;
    max-width: 100%;
    font-size: 15px;
    border: 0;
    padding: 1.2em 1em;
    color: #fff;
    background: var(--red, #b32d2f);
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    -webkit-appearance: none;
    appearance: none;
}

#amazonv2-buy:hover {
    opacity: 0.8;
}

#amazonv2-buy:disabled {
    background: var(--grey, #999);
    cursor: default;
}

.amazonv2-back {
    text-align: center;
    font-size: 14px;
}

@media (max-width: 680px) {
    .amazonv2-row {
        grid-template-columns: 1fr auto;
    }
    .amazonv2-row .amazonv2-label {
        grid-column: 1 / -1;
    }
    .amazonv2-sum {
        grid-template-columns: 1fr auto;
    }
    .amazonv2-sum .amazonv2-label {
        grid-column: auto;
    }
}
