/* Cart + Checkout: keep existing palette/typography */

.cart-hero {
  background:
    linear-gradient(rgba(70,90,70,0.75), rgba(130,160,110,0.75)),
    url("../images/hero/hero2.webp") center/cover no-repeat;
  padding: 120px 0 100px;
  text-align: center;
  color: #fff;
}

.cart-hero h1,
.cart-hero p { color: #fff; }

.cart-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 26px;
  align-items: start;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  background: var(--bg-white);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  padding: 16px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
}

.cart-item-img {
  width: 92px;
  height: 92px;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-title h3 {
  font-size: 1.1rem;
  margin: 0;
}

.cart-item-meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.qty-stepper button {
  padding: 10px 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-dark);
}

.qty-stepper input {
  width: 54px;
  border: none;
  text-align: center;
  padding: 10px 6px;
  outline: none;
  font-weight: 600;
  color: var(--text-dark);
}

.remove-btn {
  border: none;
  background: transparent;
  color: #8c4a2a;
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

.summary-card {
  background: var(--bg-white);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  padding: 18px;
  position: sticky;
  top: 16px;
}

.summary-card h3 { margin-bottom: 12px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  color: var(--text-dark);
}

.summary-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 6px 0;
}

.summary-row.total {
  font-size: 1.05rem;
}

.cart-empty {
  background: var(--bg-white);
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  padding: 26px;
  text-align: center;
}

@media (max-width: 992px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary-card { position: relative; top: 0; }
}

@media (max-width: 600px) {
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item-img { width: 80px; height: 80px; }
}

