/* Total of all products, between the quote table and the request form */
.gtqt-quote-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px #E6E6E6 solid;
    border-bottom: 1px #E6E6E6 solid;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #1D1D1D;
}

.gtqt-quote-total__amount {
    font-size: 20px;
    color: #A4CC39;
    white-space: nowrap;
}

/* YITH "product list on left side, form on right side" layout: keep the total under the list */
@media (min-width: 769px) {
    .ywraq-form-table-wrapper.wide:has(> .gtqt-quote-total) {
        display: grid;
        grid-template-columns: 48% 1fr;
        grid-template-rows: auto 1fr;
    }

    .ywraq-form-table-wrapper.wide > .gtqt-quote-total {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    .ywraq-form-table-wrapper.wide > .yith-ywraq-mail-form-wrapper {
        grid-column: 2;
        grid-row: 1 / span 2;
    }
}
