diff --git a/cart.php b/cart.php
index 12151b4ce504066d1bc4ffa84bdfc22da7e8cd46..8328da014220b794a00afd429a9e2704c5376f40 100644
--- a/cart.php
+++ b/cart.php
@@ -53,6 +53,7 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
 <?php if (empty($cart_items)): ?>
     <p>ไม่มีสินค้าในตะกร้า</p>
 <?php else: ?>
+    <div class="table-container"> 
     <table border="1" cellpadding="5" cellspacing="0">
         <tr>
             <th>User ID</th>
@@ -89,6 +90,7 @@ $cart_items = $stmt->fetchAll(PDO::FETCH_ASSOC);
             <td colspan="2"><strong><?= number_format($total, 2) ?> บาท</strong></td>
         </tr>
     </table>
+    </div>
     <br>
     <a href="checkout.php">🛒 ดำเนินการชำระเงิน</a>
 <?php endif; ?>