:host {
    display: block;
    height: 100%;
    position: relative;
    --background-img: '';
}
.bg {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.back-link {
    color: var(--color-black);
    text-decoration: none;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.wrapper {
    max-width: var(--container-width);
    margin: 0 auto;
}
.content-wrapper {
    background-color: white;
    padding: 1.5rem 1rem;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 25px;
}

h5 {
    font-size: var(--font-size-heading-h3);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.products-wrapper {
    background-color: #e6e6e6;
    padding: 1rem;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 25px;
    margin-bottom: 1rem;
}
.payment-wrapper {
    background-color: #1a1818;
    background-image: var(--background-img);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 1.5rem;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 25px;
    color: white;
}
.no-products {
    text-align: center;
    padding: 10px;
    background: var(--color-grey);
    border-radius: 4px;
}

.total-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.total-wrapper .title {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.total-wrapper .total {
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 1rem;
}
.total-wrapper .frequency {
    text-transform: uppercase;
}

.proceed-wrapper .sub-heading {
    font-size: 0.875rem;
    line-height: 1.2;
}

.proceed-wrapper .secure-checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background-color: #a8f0a2;
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all ease 0.3s;
}
.proceed-wrapper .secure-checkout-button:disabled {
    opacity: 0.5;
    color: black;
    cursor: not-allowed;
}
.proceed-wrapper .secure-checkout-button:not(:disabled):hover {
    background-color: #92d08c;
}
.btn-text {
    background: none;
    border: none;
    text-decoration: underline;
    color: inherit;
}

.payment-card {
    width: 40px;
    height: auto;
}

.min-spend {
    font-size: 0.875rem;
}

@media screen and (min-width: 768px) {
    .total-wrapper {
        border-right: 1px solid var(--color-grey);
    }
    .products-wrapper {
        padding: 1rem 1.5rem;
    }
    .content-wrapper {
        padding: 2rem 1.5rem;
    }

    .payment-wrapper {
        padding: 1.5rem 3rem;
    }
}
