.page-title {
    margin-top: 3rem;
    line-height: 2.688rem;
}

@media ( min-width: 1100px ) {
    .page-title {
        position: relative;
        top: 3px;
    }
}

.site-content:has(.wc-empty-cart) .page-title { display: none; }


.wc-empty-cart {
    margin-top: 3rem;
}

.wc-empty-cart__icon {
    width: 6.25rem;
    height: 6.25rem;
}

.wc-empty-cart__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wc-empty-cart__description {
    font-size: 1rem;
    line-height: 1.375rem;
}

.wc-empty-cart__description a {
    font-weight: 700;
    color: var(--color-dark);
}

table.cart,
table.cart thead,
table.cart tbody,
table.cart tfoot,
table.cart th,
table.cart td { display: block; }

table.cart tr {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

table.cart th:nth-child(1),
table.cart td:nth-child(1) { width: 8.8055%; }

table.cart th:nth-child(2),
table.cart td:nth-child(2) { width: 31.7612%; }

table.cart th:nth-child(3),
table.cart td:nth-child(3),
table.cart th:nth-child(4),
table.cart td:nth-child(4),
table.cart th:nth-child(5),
table.cart td:nth-child(5) { width: 14.5%; }

table.cart th:nth-child(6),
table.cart td:nth-child(6) { flex: 1; }

table.cart tfoot td { width: 100% !important; }

table.cart thead {
    margin-bottom: 1.5rem;
    padding-bottom: 0.938rem;
    border-bottom: 1px solid var(--color-medium-light);
}

table.cart th {
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-align: left;
    color: var(--color-inactive);
}

table.cart tbody {
    margin-bottom: 1.5rem;
    padding-bottom: 1.438rem;
    border-bottom: 1px solid var(--color-medium-light);
}

table.cart tbody tr:not(:last-child) { margin-bottom: 1.5rem; }


.cart-item__thumb { padding-bottom: 100%; }

.cart-item__thumb * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item__remove {
    width: 2rem;
    height: 2rem;
}


#coupon_code {
    width: 15.313rem;
    padding-block: 0.938rem;
}


table.cart-totals,
table.cart-totals tbody,
table.cart-totals th,
table.cart-totals td { display: block; }

table.cart-totals tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

table.cart-totals th,
table.cart-totals td {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

table.cart-totals .cart-subtotal,
table.cart-totals .cart-discount { margin-bottom: 0.75rem; }

table.cart-totals .order-total {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    padding-top: 1.438rem;
    border-top: 1px solid var(--color-medium-light);
}

table.cart-totals .order-total th,
table.cart-totals .order-total td {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.375rem;
    color: var(--color-dark);
}

table.cart-totals .cart-vat-included td {
    width: 100%;
    text-align: right;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--color-inactive);
}

@media ( max-width: 1099px ) {
    .page-title {
        margin-top: 1.5rem;
        margin-bottom: 1rem;
        font-size: 1.75rem;
        line-height: 2.125rem;
    }


    table.cart thead { display: none; }

    table.cart tbody tr {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 1rem;
        padding-top: 1.438rem;
        border-top: 1px solid var(--color-medium-light);
    }

    table.cart th:nth-child(1),
    table.cart td:nth-child(1) { width: 5.5rem; }

    table.cart th:nth-child(2),
    table.cart td:nth-child(2) {
        flex: 1;
        width: auto;
    }

    table.cart th:nth-child(4),
    table.cart td:nth-child(4) { width: calc(100% - 4rem); }

    table.cart th:nth-child(3),
    table.cart td:nth-child(3),
    table.cart th:nth-child(5),
    table.cart td:nth-child(5) { display: none; }

    .cart-item__name {
        font-size: 0.875rem;
        line-height: 1.25rem;
        letter-spacing: -0.02em;
    }

    .cart-item__price {
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }

    table.cart tbody {
        padding-bottom: 0;
        border-bottom: none;
    }


    #coupon_code {
        flex: 1;
        width: auto;
    }

    #coupon_code + button {
        flex-shrink: 0;
        width: 4.313rem;
        padding-inline: 0;
    }


    .cart-collaterals {
        margin-inline: -1.5rem;
        padding-bottom: 2rem;
    }

    table.cart-totals .order-total {
        margin-top: 0.938rem;
        padding-top: 1rem;
    }


    .site-content:not(:has(.wc-empty-cart)) { padding-bottom: 0; }
}