/* Cart Page Styles */
.cart-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.cart-container h2 {
  margin-bottom: 1.5rem;
}

.cart-items {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
  gap: 1rem;
  flex-wrap: wrap;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  background: #f0f0f0;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 2;
  min-width: 120px;
}

.cart-item-title {
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: #c07a53;
  font-weight: 600;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cart-item-quantity button {
  padding: 4px 10px;
  font-size: 1rem;
  border-radius: 20px;
  border: none;
  background: #c8b39a;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-item-quantity button:hover {
  background: #b59a7a;
}

.cart-item-quantity input {
  width: 55px;
  padding: 5px;
  border-radius: 8px;
  border: 1px solid #c8b39a;
  text-align: center;
  font-family: inherit;
}

.remove-item {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.remove-item:hover {
  opacity: 0.85;
}

.cart-summary {
  background: white;
  padding: 1.5rem;
  border-radius: 24px;
  text-align: right;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.cart-summary h3 {
  font-size: 1.5rem;
  color: #c07a53;
  margin: 0;
}

.cart-summary-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cart-item {
    flex-direction: column;
    text-align: center;
  }
  .cart-summary {
    flex-direction: column;
    text-align: center;
  }
}
