        body {
            font-family: 'Sarabun', Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .page-title {
            text-align: center;
            color: #2c3e50;
            margin-bottom: 30px;
            font-size: 2.5rem;
        }

        /* Alert Styles */
        .alert {
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .alert-success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .alert-error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }

        /* Cart Container */
        .cart-container {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            overflow: hidden;
        }

        /* Empty Cart */
        .empty-cart {
            text-align: center;
            padding: 60px 20px;
            color: #7f8c8d;
        }

        .empty-cart i {
            font-size: 4rem;
            margin-bottom: 20px;
            color: #bdc3c7;
        }

        .empty-cart h3 {
            font-size: 1.5rem;
            margin-bottom: 10px;
        }

        .empty-cart p {
            margin-bottom: 30px;
            font-size: 1.1rem;
        }

        .btn-continue-shopping {
            background: #3498db;
            color: white;
            padding: 12px 30px;
            text-decoration: none;
            border-radius: 5px;
            font-size: 1.1rem;
            transition: background 0.3s;
        }

        .btn-continue-shopping:hover {
            background: #2980b9;
        }

        /* Cart Items */
        .cart-items {
            display: flex;
            flex-direction: column;
        }

        .cart-item {
            display: flex;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid #ecf0f1;
            transition: background 0.3s;
        }

        .cart-item:hover {
            background-color: #f8f9fa;
        }

        .cart-item:last-child {
            border-bottom: none;
        }

        .item-image {
            width: 100px;
            height: 100px;
            object-fit: cover;
            border-radius: 8px;
            margin-right: 20px;
            border: 2px solid #ecf0f1;
        }

        .item-details {
            flex: 1;
            margin-right: 20px;
        }

        .item-name {
            font-size: 1.3rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 5px;
        }

        .item-price {
            font-size: 1.2rem;
            color: #e74c3c;
            font-weight: 500;
            margin-bottom: 10px;
        }

        .item-stock {
            font-size: 0.9rem;
            color: #7f8c8d;
        }

        .stock-low {
            color: #e67e22;
            font-weight: 500;
        }

        .stock-out {
            color: #e74c3c;
            font-weight: 600;
        }

        /* Quantity Controls */
        .quantity-controls {
            display: flex;
            align-items: center;
            margin: 0 20px;
        }

        .quantity-form {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .quantity-input {
            width: 80px;
            padding: 8px;
            border: 2px solid #bdc3c7;
            border-radius: 5px;
            text-align: center;
            font-size: 1rem;
        }

        .btn-update {
            background: #27ae60;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: background 0.3s;
        }

        .btn-update:hover {
            background: #229954;
        }

        .btn-remove {
            background: #e74c3c;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s;
        }

        .btn-remove:hover {
            background: #c0392b;
        }

        /* Item Subtotal */
        .item-subtotal {
            font-size: 1.3rem;
            font-weight: 600;
            color: #2c3e50;
            margin-left: 20px;
            min-width: 120px;
            text-align: right;
        }

        /* Cart Summary */
        .cart-summary {
            background: #f8f9fa;
            padding: 30px;
            border-top: 3px solid #3498db;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .summary-total {
            font-size: 1.5rem;
            font-weight: 700;
            color: #e74c3c;
            padding-top: 15px;
            border-top: 2px solid #bdc3c7;
        }

        /* Action Buttons */
        .cart-actions {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            margin-top: 30px;
        }

        .btn-clear {
            background: #95a5a6;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s;
        }

        .btn-clear:hover {
            background: #7f8c8d;
        }

        .btn-checkout {
            background: #e74c3c;
            color: white;
            padding: 15px 40px;
            text-decoration: none;
            border-radius: 5px;
            font-size: 1.2rem;
            font-weight: 600;
            transition: background 0.3s;
        }

        .btn-checkout:hover {
            background: #c0392b;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }

            .cart-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
                padding: 15px;
            }

            .item-image {
                width: 80px;
                height: 80px;
                margin-right: 0;
            }

            .quantity-controls,
            .item-subtotal {
                margin: 0;
            }

            .cart-actions {
                flex-direction: column;
            }

            .summary-row {
                flex-direction: column;
                align-items: flex-start;
                gap: 5px;
            }
        }
   