/********************************
  LAYOUT GENERAL
*********************************/

.carrito-page {
  max-width: 900px;
  margin: auto;
  padding: 1rem;
}


/********************************
  LISTA PRODUCTOS
*********************************/

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.cart-line {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-img {
  width: 75px;
  height: 75px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-info {
  flex: 1;
}

.cart-name {
  font-weight: 600;
  margin-bottom: 0.3rem;
}


/********************************
  CONTROLES DE CANTIDAD
*********************************/

.qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-minus,
.qty-plus {
  background: #f46e20;
  color: white;
  border: none;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 1.1rem;
}

.qty {
  font-weight: bold;
}


/********************************
  RESUMEN
*********************************/

.cart-summary {
  margin-top: 2rem;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.cart-summary h2 {
  margin-bottom: 0.8rem;
}


/********************************
  CHECKOUT
*********************************/

.checkout {
  margin-top: 2rem;
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.checkout input,
.checkout select,
.checkout textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  margin-bottom: 1rem;
}

.btn-confirmar {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  background: #f46e20;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}

.btn-confirmar:hover {
  opacity: 0.9;
}
