.cart-page {
    padding-block: 45px 80px;
}
.cart-mobile-selection {
    display: none;
}
.cart-table-wrap {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    --select-col: 7%;
    --image-col: 16%;
    --description-col: 38%;
    --makes-col: 24%;
    --quantity-col: 15%;
}
.cart-table col:nth-child(1) {
    width: var(--select-col);
}
.cart-table col:nth-child(2) {
    width: var(--image-col);
}
.cart-table col:nth-child(3) {
    width: var(--description-col);
}
.cart-table col:nth-child(4) {
    width: var(--makes-col);
}
.cart-table col:nth-child(5) {
    width: var(--quantity-col);
}
.cart-table th {
    background: var(--surface);
    font-weight: 600;
    font-size: 13px;
}
.cart-table th,
.cart-table td {
    text-align: left;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.cart-table tr:last-child td {
    border-bottom: 0;
}
.cart-table th:nth-child(2),
.cart-table td:nth-child(2) {
    text-align: center;
}
.cart-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    border: 1px solid transparent;
}
.cart-image:hover {
    border-color: var(--brand);
}
.cart-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
.cart-oem {
    font-size: 21px;
    line-height: 1.3;
}
.cart-oem small {
    color: var(--brand);
    font-size: 14px;
    margin-right: 6px;
}
.cart-oem a:hover {
    color: var(--brand);
}
.cart-name {
    font-size: 15px;
    font-weight: 600;
    margin-block: 10px;
}
.cart-note,
.cart-makes {
    font-size: 13px;
    color: var(--muted);
}
.cart-quantity {
    width: 100%;
    max-width: 100px;
    min-height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 3px;
    outline: none;
}
.cart-quantity:focus {
    border-color: var(--brand);
}
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}
.cart-actions > div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.cart-actions button,
.cart-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
}
.cart-actions [data-order],
.cart-empty a {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}
.cart-actions button:hover,
.cart-empty a:hover {
    background: var(--brand-hover);
    color: white;
    border-color: var(--brand-hover);
}
.cart-empty {
    text-align: center;
    padding: 65px 30px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.cart-empty > svg {
    width: 54px;
    height: 54px;
    color: var(--brand);
    margin-bottom: 24px;
}
.cart-empty p {
    margin-bottom: 25px;
}
@media (max-width:800px) {
    .cart-mobile-selection {
        display: block;
        margin-bottom: 16px;
    }
    .cart-mobile-selection label {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
    }
    .cart-table thead {
        display: none;
    }
    .cart-table,
    .cart-table tbody {
        display: block;
    }
    .cart-table tr {
        display: flex;
        flex-wrap: wrap;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--line);
    }
    .cart-table td {
        display: block;
        border: 0;
        padding: 0;
    }
    .cart-table td:nth-child(1) {
        width: 24px;
    }
    .cart-table td:nth-child(2) {
        flex: 1;
    }
    .cart-table td:nth-child(3),
    .cart-table td:nth-child(4),
    .cart-table td:nth-child(5) {
        width: 100%;
    }
    .cart-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-size: 13px;
        color: var(--muted);
        margin-bottom: 8px;
    }
    .cart-quantity {
        max-width: 150px;
    }
    .cart-image {
        height: 150px;
    }
}
