  *, *::before, *::after {
      box-sizing: border-box;
    }

    body {
      font-family: 'Montserrat', sans-serif;
      margin: 0;
      padding: 0;
      color: #333;
    }

    .cart-container {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      padding: 2rem 1rem;
      max-width: 1200px;
      margin: auto;
    }

    .cart-items {
      flex: 2;
      min-width: 300px;
    }

    .cart-item {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      background: #f9f9f9;
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 1rem;
      width: 100%;
      position: relative;
    }

    .cart-item img {
      width: 100px;
      height: auto;
      border-radius: 6px;
      flex-shrink: 0;
    }

    .item-details {
      flex: 1 1 200px;
      min-width: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .item-details h4 {
      margin: 0 0 0.3rem;
      font-weight: 600;
    }

    .item-details select {
      width: 120px;
      padding: 0.4rem;
      font-size: 1rem;
      border-radius: 4px;
      border: 1px solid #ccc;
      appearance: none;
      background-color: white;
      background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23333' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 0.75rem center;
      background-size: 0.6em;
    }

    .item-bottom {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex: 1;
      margin-top: auto;
    }

    .item-price {
      font-weight: bold;
      white-space: nowrap;
    }

    .delete-item {
      position: absolute;
      top: 1rem;
      right: 1rem;
      color: red;
      font-size: 1.2rem;
      cursor: pointer;
    }

    .cart-summary {
      flex: 1;
      min-width: 280px;
      background: #f0f0f0;
      padding: 1.5rem;
      border-radius: 8px;
      height: fit-content;
    }

    .cart-summary h3 {
      margin-top: 0;
      font-weight: 600;
    }

    .cart-summary .line {
      display: flex;
      justify-content: space-between;
      margin: 0.8rem 0;
    }

    .cart-summary input[type="text"] {
      width: 100%;
      padding: 0.6rem;
      margin: 1rem 0;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    .checkout-btn {
      width: 100%;
      background: black;
      color: white;
      font-weight: bold;
      font-size: 1rem;
      padding: 1rem;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      margin: 1rem 0;
    }

    .payment-icons {
      text-align: center;
      margin-top: 1rem;
      font-size: 1.5rem;
    }

    .payment-icons img,
    .payment-icons i {
      margin: 0.3rem;
      height: 30px;
      vertical-align: middle;
    }

    @media (max-width: 768px) {
      .cart-container {
        flex-direction: column;
        padding: 1rem;
      }

      .cart-item {
        flex-direction: row;
        align-items: flex-start;
      }

      .item-details {
        flex: 1;
        gap: 0.4rem;
      }

      .item-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
      }

      .item-price {
        padding-top: 0.5rem;
      }

      .cart-summary {
        width: 100%;
        padding: 1rem;
      }

      .payment-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
      }
    }
    .payment-icons img,
  .payment-icons i {
  margin: 0.3rem;
  height: 30px;
  width: 50px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  font-size: 30px;
  line-height: 30px;
  border-radius: 6px; /* Rounded corners */
  background: white;   /* Optional: gives a uniform background */
  padding: 4px;         /* Optional: adds spacing inside rounded box */
  box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* Optional: subtle shadow for nicer look */
}