.cart {
    .cart-container {
        width: 100%;
        background: white;
        padding: 20px;
        padding-left: 0px;
    }

    .cart-title {
        font-size: 24px;
        font-weight: bold;
    }

    .table th {
        font-size: 16px;
        text-align: center;
        font-weight: bold;
        text-transform: uppercase;
    }

    .table tbody td {
        font-size: 14px;
        font-weight: 400;
        text-align: center;
        vertical-align: middle;
    }

    .table tfoot {
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }

    .btn-primary {
        background-color: var(--bs-primary);
        border: none;
    }

    .btn-primary:hover {
        background-color: #0d1f4d;
    }

    .btn-checkout {
        background-color: orange;
        border: none;
        font-weight: bold;
    }

    .btn-checkout:hover {
        background-color: darkorange;
    }

    .cart-summary {
        background: white;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .product-img {
        width: 150px;
        height: auto;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    .cart .cart-container {
        padding: 10px;
    }

    .cart .cart-title {
        font-size: 24px;
    }

    .cart .table th {
        font-size: 16px;
    }

    .cart .table tbody td {
        font-size: 14px;
    }

    .cart .table tfoot {
        font-size: 16px;
    }

    .cart .quantity-controls {
        width: 100px;
        padding: 6px 10px;
    }

    .cart .quantity-controls button {
        font-size: 16px;
        width: 28px;
        height: 28px;
    }

    .cart .quantity-controls input {
        width: 30px;
        height: 28px;
        font-size: 14px;
    }

    .cart .product-img {
        width: 100px;
        margin-right: 5px;
    }
}

@media (max-width: 480px) {}

.multiline-ellipsis {
    position: relative;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    width: 500px;
}

@media (max-width: 960px) {
    .desktop-layout {
        display: none;
    }

    .multiline-ellipsis {
        position: relative;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: pointer;
        width: 95%;
    }

    .quantity-controls {
        margin: 0 !important;
        bottom: 0;
    }
}

@media (min-width: 961px) {
    .mobile-layout {
        display: none;
    }
}

.mobile-layout {}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eceff4;
    border-radius: 30px;
    padding: 8px 12px;
    width: 120px;
    margin: auto;
}

.quantity-controls button {
    background: var(--bs-primary);
    border: none;
    color: white;
    font-size: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.quantity-controls button:hover {
    background: #0d1f4d;
}

.quantity-controls input {
    width: 40px;
    height: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border: none;
    background: transparent;
    outline: none;
}