    body {
      font-family: 'Arial', sans-serif;
      margin: 0;
      background: #f2f2f5;
      padding-top: 2%;
    }

    .container {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      max-width: 1200px;
      margin: auto;
      background: white;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.1);
      gap: 30px;
    }

    .cart {
      flex: 2;
      min-width: 300px;
    }

    .cart h2 {
      display: flex;
      justify-content: space-between;
      margin-bottom: 20px;
      flex-wrap: wrap;
      gap: 10px;
    }

    .cart-items .item {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .item img {
      width: 80px;
      margin-right: 20px;
    }

    .details {
      flex: 1;
      min-width: 150px;
    }

    .details h4 {
      margin: 0;
    }

    .details a {
      font-size: 14px;
      color: #999;
      text-decoration: none;
    }

    .price {
      width: 80px;
      text-align: right;
      font-weight: bold;
    }

    .continue {
      color: black;
      text-decoration: none;
      font-size: 14px;
      display: block;
      margin-top: 30px;
    }
		.quantity-controls {
	  display: flex;
	  align-items: center;
	  gap: 5px;
	}

	.quantity-controls button {
	  background: #ddd;
	  border: none;
	  padding: 3px 8px;
	  cursor: pointer;
	  font-size: 16px;
	}

	.quantity-controls span {
	  min-width: 20px;
	  text-align: center;
	}


    .summary {
      flex: 1;
      min-width: 280px;
      padding-left: 40px;
      border-left: 1px solid #ddd;
    }

    .summary h3 {
      margin-bottom: 20px;
      margin-top: 20px;
      padding: 50px;
    }

    .summary p {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
    }

    .shipping {
      margin: 20px 0;
    }

    .input {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 5px;
    }

    .total-cost {
      font-weight: bold;
      margin: 20px 0;
    }

    .checkout {
      width: 100%;
      background: linear-gradient(to right, black, grey);
      color: white;
      padding: 15px;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }

    .checkout:hover {
      background: linear-gradient(to right, grey, black);
    }

    .checkout a {
      text-decoration: none;
      color: white;
    }
/* Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Popup Box */
.popup-content {
  background-color: #fff;
  width: 300px;
  margin: 100px auto;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.popup-content h3 {
  margin-bottom: 15px;
  color: #333;
}

.qr-image {
  width: 200px;
  height:200px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  color: #999;
  cursor: pointer;
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


    @media (max-width: 900px) {
      .container {
        flex-direction: column;
        padding: 20px;
      }

      .summary {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid #ddd;
        padding-top: 30px;
      }

      .cart h2 {
        flex-direction: column;
        align-items: flex-start;
      }

      .cart-items .item {
        flex-direction: column;
        align-items: flex-start;
      }

      .price {
        width: 100%;
        text-align: left;
        margin-top: 10px;
      }
    }

    @media (max-width: 500px) {
      .container {
        margin: 20px;
        padding: 15px;
      }

      .cart h2 {
        font-size: 18px;
      }

      .summary h3 {
        font-size: 18px;
      }

      .checkout {
        padding: 12px;
        font-size: 14px;
      }
    }