.header-table {
    border-collapse: unset;
    border: none;
    border-spacing: 5px;
    width: 100%;
    max-width: 100%;
}
.header-table th{
    background: rgba(72, 72, 72, 0.15);
}
.header-table th span {
    text-align: center;
    white-space: nowrap;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
    display: inline-block;
    padding: 10px 0;
}
.header-table tbody tr:first-child th {
    border-top-right-radius: 12px;
}
.header-table tbody tr:last-child th{
    border-bottom-right-radius: 12px;
}
.header-table tbody tr:first-child td:last-child,
.header-table tbody tr:last-child td:last-child {
    text-align: center;
}
.header-table tbody tr:first-child td:last-child {
    border-top-left-radius: 12px;
}

.header-table tbody tr:last-child td:last-child {
    border-bottom-left-radius: 12px;
}
/*-----------------------------------*/
.products-table {
    margin-top: 20px;
    margin-bottom: 32px;
}
.products-table tfoot th {
    text-align: right;
}
/*-----------------------------------*/
.total-table > tbody > tr > td {
    border: 0;
    width: 50%;
}
.total-table > tbody > tr > td:last-child {
    padding: 0;
}
.total-table table {
    text-align: center;
}
.total-table table th,
.total-table table td {
    width: 50%;
}
.shipping-method-tfoot td {
    border-radius: 12px;
}
/*-----------------------------------*/
.footer-table td {
    width: 50%;
    vertical-align: top;
    height: 140px;
}
.footer-table td strong {
    display: block;
    margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
    .header-table td {
        width: 100%;
        display: block;
        border-radius: 0 !important;
    }
    .header-table tbody tr:first-child td:last-child,
    .header-table tbody tr:last-child td:last-child {
        text-align: right;
    }
    .total-table > tbody > tr > td:first-child{
        display: none;
    }
    .total-table > tbody > tr > td:last-child {
        width: 100%;
    }
}

@media print {
    .page {
        zoom: 75%;
    }
}