﻿ .cart-container {
      display: flex;
      gap: 20px;
      max-width: 1200px;
      margin: auto;
    }

    /* LEFT SECTION (Table) */
    .cart-left {
      flex: 2;
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      overflow-x: auto;
    }

    .cart-table {
      width: 100%;
      border-collapse: collapse;
      min-width: 700px; /* for scroll on small screens */
    }

    .cart-table thead {
      background: #eee;
    }

    .cart-table th,
    .cart-table td {
      padding: 12px;
      border-bottom: 1px solid #ddd;
      text-align: center;
      font-size: 14px;
      white-space: nowrap;
    }

    .cart-table th {
      text-transform: uppercase;
      font-weight: 600;
      color: #555;
    }

    .cart-table tr:hover {
      background: #f9f9f9;
    }

    .cart-amount, .cart-total {
      font-weight: bold;
      color: #444;
    }

    /* Quantity */
    .cart-qty-box {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .cart-qty-input {
      width: 40px;
      text-align: center;
      border: 1px solid #ccc;
      background: #fff;
      color: #333;
      border-radius: 4px;
      padding: 4px;
    }

    .cart-btn {
      color: #333;
      background: #eee;
      padding: 6px 10px;
      border-radius: 4px;
      cursor: pointer;
      transition: 0.2s;
      text-decoration: none;
      display: inline-block;
      font-size: 14px;
    }

    .cart-btn:hover {
      background: #ddd;
    }

    .cart-remove {
      color: #d9534f;
      font-size: 16px;
      transition: 0.2s;
      text-decoration: none;
    }

    .cart-remove:hover {
      color: #b52b27;
    }

    /* RIGHT SECTION (Summary) */
    .cart-right {
      flex: 1;
      background: #fff;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      height: fit-content;
    }

    .cart-summary-title {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 15px;
      border-bottom: 2px solid #eee;
      padding-bottom: 8px;
    }

    .cart-row {
      display: flex;
      justify-content: space-between;
      padding: 8px 0;
      font-size: 14px;
      border-bottom: 1px solid #eee;
    }

    .cart-row:last-child {
      border-bottom: none;
    }

    .cart-money {
      font-weight: bold;
      color: #444;
    }

    .cart-selling {
      font-weight: bold;
      color: #28a745;
    }

    .cart-checkout {
      width: 100%;
      background: #28a745;
      border: none;
      padding: 12px;
      font-size: 16px;
      font-weight: bold;
      color: #fff;
      border-radius: 6px;
      cursor: pointer;
      margin-top: 20px;
      transition: 0.3s;
    }

    .cart-checkout:hover {
      background: #218838;
    }

    .cart-shipping {
      font-size: 13px;
      color: #666;
      margin-top: 10px;
    }

    .cart-terms {
      margin-top: 15px;
      font-size: 13px;
    }

    .cart-terms input {
      margin-right: 6px;
    }

    .cart-payment img {
      max-width: 160px;
      margin-top: 15px;
      opacity: 0.8;
    }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      .cart-container {
        flex-direction: column;
      }
      .cart-right {
        margin-top: 20px;
      }
    }