body {
  background: #000;
  color: #f4f4f4;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header */
.cart-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

/* Main wrapper */
.container {
  width: min(1060px, 92%);
  margin: 0 auto;
  padding-bottom: 80px;
}

/* “Back to store” link */
.back-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  margin: 20px 0 15px;
  font-weight: 700;
  font-size: 15px;
}

/* Horizontal line spanning container */
.divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin-bottom: 40px;
}

/* Grid Layout */
.cart-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr; /* Left side wider than right */
  gap: 40px;
  align-items: start;
}

/* Left column header */
.cart-list h1 {
  font-size: 20px;
  margin-bottom: 6px;
  font-weight: 700;
}

.cart-note {
  color: #a0a0a0;
  margin-bottom: 25px;
  font-size: 13px;
}

/* Cart item styling */
.cart-item {
  background: #EAEAEA;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 16px;
  margin-bottom: 15px;
}

.thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
}

/* Title + genre line */
.item-info h2 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px 0;
}

.item-info p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* Price column */
.item-price {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-right: 15px;
}

/* Delete icon button */
.trash-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: transform 0.2s ease;
}

.trash-btn:hover {
  transform: scale(1.1);
}

.trash-btn svg:hover {
  stroke: #ff2d2d; 
}

/* Right column: dark “Card Details” panel */
.payment-card {
  background: #1E1F2E;
  border-radius: 20px;
  padding: 30px;
}

.payment-card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 25px;
}

/* Form labels */
.label {
  display: block;
  font-size: 13px;
  margin: 15px 0 8px;
  color: #A0A0B0;
}

/* Card Badges container */
.card-types {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

/* Fake Card Badges to match image */
.pay-badge {
  background: #2D2E40;
  width: 60px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Mastercard logo replica */
.mc-logo {
  display: flex;
  position: relative;
  width: 32px;
  height: 20px;
}
.mc-red, .mc-yellow {
  width: 20px; 
  height: 20px; 
  border-radius: 50%; 
  position: absolute;
}
.mc-red { background: #EA001B; left: 0; z-index: 2; opacity: 0.9; }
.mc-yellow { background: #F79E1B; right: 0; z-index: 1; opacity: 0.9; }

/* Visa logo replica */
.visa-logo {
  color: #2A56A6;
  font-weight: 900;
  font-style: italic;
  font-size: 18px;
  font-family: Arial, sans-serif;
}

/* RuPay logo replica */
.rupay-logo {
  color: #E27230;
  font-weight: 800;
  font-style: italic;
  font-size: 12px;
  font-family: Arial, sans-serif;
  position: relative;
}

.see-all {
  margin-left: auto;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

/* Text inputs inside payment card */
input {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  box-sizing: border-box;
  background: #fff;
  color: #111;
  font-size: 14px;
  outline: none;
}

input::placeholder {
  color: #B0B0B0;
}

/* Expiry + CVV side by side */
.double-field {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Subtotal / discount / total */
.totals {
  margin: 30px 0 25px;
}

.totals p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 12px 0;
  color: #ccc;
  font-size: 13px;
}

/* Last line of totals */
.totals .total-row {
  margin-top: 15px;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
}

/* Green checkout bar */
.checkout-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 18px 20px;
  background: #4CA77C;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.checkout-btn:hover {
  background: #3c8a64;
}

