.summary-total {
    background: var(--color-light);
    width: 100%;
    max-width: 360px;
    padding-block: 16px;
    border-radius: 10px;
    padding-left: 15px;
}

.summary-total p {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
}

.summary .payment {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    max-width: 360px;
    flex-wrap: wrap;
    margin-block: 15px;
}

.summary .payment .payment__method {
    background: var(--color-light);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 176px;
    flex-direction: column;
    gap: 10px;
    transition: background 0.3s linear;
    cursor: pointer;
}

.summary .payment .payment__method.selected {
    background: var(--color-blue);
    color: var(--color-light);
}

.summary .payment .payment__method img {
    transition: filter 0.3s linear;
}

.summary .payment .payment__method.selected img {
    filter: invert(1);
}

.summary .payment .payment__method h3 {
    font-size: 22px;
    font-weight: var(--font-weight-bold);
    max-width: 100%;
    text-overflow:clip;
    text-align: center;
    height: 30px;
    overflow: hidden;
}

.summary-actions {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.summary-actions .tac {
    width: 100%;
    display: inline-block;
    text-align: center;
    font-size: 12px;
}

/* Overrides */
.summary .step-subtitle {
    color: var(--color-dark);
}
.summary h3.step-subtitle {
    margin-bottom: 15px;
}
.summary-cart .service-item {
    margin-inline: 0;
}

.summary-cart .service-item__image {
    height: 96px;
}

.summary-cart .service-item__image:hover img {
    transform: none;
}

.summary-cart .service-item__info-extra {
    gap: 5px;
}

.summary-cart .service-item__quantity {
    flex: 1;
}

.summary-cart .service-item__remove-from-cart {
    outline: none;
    border: none;
    background: transparent;
}

.summary-cart .service-item.hidden {
    display: none;
}

.summary-cart .service-item__info {
    padding-top: 12px;
}

.summary-cart .service-item__info-extra,
.summary-cart .service-item__title,
.summary-cart .service-item__price {
    margin-bottom: 12px;
}

/* Overrides */
.summary .step-container {
    gap: 0;
}

@media screen and (min-width: 768px) {
    .summary .content {
        margin-top: 25px;
        display: flex;
        justify-content: space-evenly;
        align-items: flex-start;
    }

    .step-container.summary-cart,
    .summary__payments-wrapper {
        margin: 0;
        padding: 30px;
        background: var(--color-light);
        border-radius: 15px;
        max-width: 375px;
    }
    
    .summary-cart__wrapper {
        margin-top: 15px;
    }

    .step-container.summary-cart .step-subtitle,
    .summary__payments-wrapper .step-subtitle {
        text-align: center;
        width: auto;
    }

    .step-container.summary-cart .summary-cart {
        margin-bottom: 15px;
    }

    .summary__payments-wrapper .summary-total,
    .summary__payments-wrapper .payment__method{
        border: 1px solid var(--color-light-100);
    }

    .summary__payments-wrapper .summary-total {
        text-align: center;
    }
}