.lttrshop-cart-summary-total {
    box-sizing: inherit;

    border-radius: var(--input-radius-xl);
    border: var(--outline) solid var(--lttrshop-stroke-color);
    margin-bottom: var(--lttrshop-space-xxl);
}

ul.lttrshop-cart-summary-total {
    list-style-type: none;
    padding: 0;
}

.lttrshop-cart-summary-total li:last-child {
    padding: var(--lttrshop-space-m) 0;
}

.lttrshop-cart-summary-total .lttrshop-title {
    padding-left: var(--lttrshop-space-m);
    font-size: var(--lttrshop-txt-s);
    line-height: var(--lttrshop-line-s);
    font-family: var(--lttrshop-font-family-bold);
    font-weight: var(--lttrshop-font-weight-bold);
    grid-area: title;
}

.lttrshop-cart-summary-total .lttrshop-item {
    display: grid;
    grid-auto-columns: min-content min-content auto auto;
    grid-template-areas: "title note original-price price";
    margin: 0;
    white-space: nowrap;
    border-bottom: var(--outline) solid var(--lttrshop-stroke-color);
    align-items: center;
}

.lttrshop-cart-summary-total .lttrshop-item:last-child .lttrshop-price {
    font-size: var(--lttrshop-txt-xl);
    line-height: var(--lttrshop-line-xl);
    font-family: var(--lttrshop-font-family-bold);
    font-weight: var(--lttrshop-font-weight-bold);
}

.lttrshop-cart-summary-total .lttrshop-item:last-of-type {
    border-bottom: none;
}

.lttrshop-cart-summary-total .lttrshop-note {
    padding-left: var(--lttrshop-space-xs);
    font-size: var(--lttrshop-txt-xs);
    line-height: var(--lttrshop-line-xs);
    color: var(--lttrshop-half-text-color);
    grid-area: note;
}

.lttrshop-cart-summary-total .lttrshop-original-price {
    font-size: var(--lttrshop-txt-s);
    line-height: var(--lttrshop-line-s);
    margin: auto 0;
    padding-right: var(--lttrshop-space-xxxl);
    grid-area: original-price;
    justify-self: end;
}

.lttrshop-cart-summary-total .lttrshop-item:last-of-type .lttrshop-original-price {
    padding-right: var(--lttrshop-space-xl);
}

.lttrshop-cart-summary-total .lttrshop-price {
    font-size: var(--lttrshop-txt-s);
    line-height: var(--lttrshop-line-s);
    margin: auto 0;
    padding-right: var(--lttrshop-space-m);
    grid-area: price;
    justify-self: end;
}
