        .cart-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 30px;
        }

        .cart-table th {
            text-align: left;
            padding: 15px;
            border-bottom: 2px solid #eee;
            color: var(--primary-color);
        }

        .cart-table td {
            padding: 15px;
            border-bottom: 1px solid #eee;
            vertical-align: middle;
        }

        .cart-item-img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            border-radius: 4px;
            border: 1px solid #eee;
        }

        /* New Quantity Control Styles */
        .qty-control {
            display: flex;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 4px;
            overflow: hidden;
            width: fit-content;
        }

        .qty-btn {
            background: #f5f5f5;
            border: none;
            padding: 5px 10px;
            cursor: pointer;
            font-weight: bold;
            color: #555;
            transition: background 0.2s;
        }

        .qty-btn:hover {
            background: #e0e0e0;
        }

        .qty-input {
            width: 40px;
            padding: 5px;
            text-align: center;
            border: none;
            border-left: 1px solid #ddd;
            border-right: 1px solid #ddd;
            -moz-appearance: textfield;
            appearance: textfield;
        }

        .qty-input::-webkit-outer-spin-button,
        .qty-input::-webkit-inner-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }

        .remove-btn {
            color: #ff5252;
            cursor: pointer;
            background: none;
            border: none;
            font-size: 1.2rem;
        }

        .cart-summary {
            background: #f9f9f9;
            padding: 30px;
            border-radius: 8px;
            max-width: 400px;
            margin-left: auto;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .summary-total {
            border-top: 2px solid #ddd;
            padding-top: 15px;
            font-weight: 700;
            font-size: 1.4rem;
            color: var(--accent-color);
        }

        /* Mobile Responsiveness for Cart */
        /* On mobile, stack the image above text for cleaner layout */
        .cart-table td:first-child {
            flex-direction: row !important; /* side by side on desktop */
            align-items: center !important;
            gap: 15px !important;
        }

        @media (max-width: 768px) {
            .cart-table td:first-child {
                flex-direction: column !important; /* Stack image above text on phones */
                align-items: flex-start !important;
                gap: 5px !important;
            }

            .cart-table {
                display: block;
                overflow-x: auto;
                white-space: nowrap; /* Forces table not to break rows */
                padding-bottom: 10px;
            }
            .cart-summary {
                margin-left: 0;
                max-width: 100%;
                margin-top: 20px;
                padding: 15px;
            }
            .cart-table th, .cart-table td {
                padding: 15px 10px; /* Better hit targets */
            }
            .cart-item-img {
                width: 60px;
                height: 60px;
            }
        }
