/* cart.css */
.cart-page {
  padding-top: calc(38px + 70px + 40px);
  min-height: 80vh;
  background: var(--cream);
}
.cart-header {
  text-align: center;
  padding: 50px 0 40px;
}
.cart-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px,4vw,58px);
}
.cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 80px;
}
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty .big-icon {
  font-size: 64px;
  margin-bottom: 20px;
  opacity: .3;
}
.cart-empty h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  margin-bottom: 12px;
}
.cart-empty p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child {
  border-bottom: 0;
}
.cart-item-img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cream-dark);
  flex-shrink: 0;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.cart-item-category {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.cart-item-price {
  color: var(--wine);
  font-weight: 700;
  font-size: 15px;
}
.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  transition: color .2s;
}
.cart-item-remove:hover {
  color: #ef4444;
}
.cart-summary {
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  position: sticky;
  top: 20px;
}
.summary-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.summary-row.total {
  font-weight: 700;
  font-size: 16px;
  border-bottom: 0;
  padding-top: 16px;
}
.summary-shipping-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin: 12px 0 20px;
}
.summary-free-shipping {
  color: #15803d;
  font-size: 11px;
  font-weight: 600;
}
