body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background-image: url('/images/Carrito/Fondo-horizontal.svg');
  color: #333;
}

.checkout-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  
}

.checkout-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.checkout-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
}

.back-link {
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
  color: #2980b9;
  font-weight: bold;
  font-size: 1rem;
  position: absolute;
  left: 20px;
  top: 20px;
}

.checkout-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.order-summary,
.payment-section {
  background-color: rgba(255, 255, 255, 0.4); /* 80% opaco */
  padding: 30px;
  border-radius: 20px;
  box-shadow: none;
  flex: 1 1 420px;
}

.order-summary h2,
.payment-section h2 {
  color: #2c2e2d;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

#cart-items .order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 15px;
}

.order-info h3 {
  margin: 0;
  color: #34495e;
  font-size: 1.2rem;
}

.order-info p {
  margin: 4px 0;
  font-size: 1rem;
  color: #555;
}

.order-total {
  margin-top: 25px;
  font-size: 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-clear {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-clear:hover {
  background-color: #c0392b;
}

.payment-section input {
  display: block;
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
}

.btn-pago {
  background-color: #27ae60;
  color: white;
  padding: 14px;
  width: 100%;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-pago:hover {
  background-color: #1e8449;
}

.wallet-box {
  margin: 25px 0;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.quantity-controls button {
  padding: 8px 14px;
  font-size: 18px;
  cursor: pointer;
  border: none;
  background-color: #3498db;
  color: white;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.quantity-controls button:hover {
  background-color: #2980b9;
}
.payment-section label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #333;
}

.payment-section select {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.payment-section select:focus {
  border-color: #88e775;
  outline: none;
}

input,
select {
  font-family: 'Roboto', sans-serif;
}

@media screen and (max-width: 600px) {
  .payment-section select {
    font-size: 0.95rem;
    padding: 8px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .checkout-content {
    flex-direction: column;
    gap: 20px;
  }

  .back-link {
    position: static;
    margin-bottom: 20px;
    display: block;
    text-align: left;
  }
}
