.cart-wrap { max-width: 1400px; margin: 0 auto; padding: 36px 24px; }
.cart-page-title {
  font-family: inherit; font-size: 1.8rem; font-weight: 800;
  color: #0f172a; margin-bottom: 6px;
}
.cart-page-title span { color: #e51c23; }
.cart-subtitle { font-size: 0.88rem; color: #475569; margin-bottom: 28px; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

/* ── Cart Items Left ──────────────────────────────────────────── */
.cart-items-col { display: flex; flex-direction: column; gap: 0; }
.cart-item-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 16px;
  background: #fbf7ea;
  border: 1px solid #e3dac1;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(82, 65, 36, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cart-item-card:hover {
  box-shadow: 0 6px 18px rgba(6, 78, 59, 0.09);
  border-color: rgba(6, 78, 59, 0.28);
}
.cart-item-img {
  flex-shrink: 0;
  width: 90px; height: 90px;
  border-radius: 10px;
  background: #f6f0de;
  border: 1px solid #e3dac1;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.95rem; font-weight: 700;
  color: #0f172a; margin-bottom: 6px;
  line-height: 1.3;
}
.cart-item-name a { color: inherit; text-decoration: none; transition: color 0.2s; }
.cart-item-name a:hover { color: #064e3b; }
.cart-item-meta { font-size: 0.8rem; color: #475569; display: flex; gap: 10px; flex-wrap: wrap; }
.cart-item-meta span { background: #f6f0de; border: 1px solid #e3dac1; border-radius: 6px; padding: 3px 10px; font-weight: 600; }
.cart-item-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }

/* Qty control */
.cart-qty-ctl { display: inline-flex; align-items: center; border: 1.5px solid #dfd6be; border-radius: 9px; overflow: hidden; background: #f4edda; }
.cart-qty-btn { width: 34px; height: 34px; background: #f6f0de; border: none; font-size: 15px; font-weight: 700; cursor: pointer; color: #1e293b; transition: background .2s, color .2s; }
.cart-qty-btn:hover { background: #064e3b; color: #ffffff; }
.cart-qty-input { width: 44px; height: 34px; border: none; text-align: center; font-size: 0.95rem; font-weight: 700; outline: none; background: transparent; -moz-appearance: textfield; color: #0f172a; }
.cart-qty-input::-webkit-outer-spin-button, .cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.cart-item-price { text-align: right; min-width: 90px; }
.cart-item-price .row-price { font-size: 1.1rem; font-weight: 800; color: #e51c23; }
.cart-item-price .unit-price { font-size: 0.78rem; color: #64748b; font-weight: 500; }

/* High Visibility Delete Button */
.cart-delete-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  cursor: pointer;
  color: #e51c23;
  font-size: 16px;
  border-radius: 8px;
  transition: all .2s ease;
  text-decoration: none;
}
.cart-delete-btn:hover {
  color: #ffffff;
  background: #e51c23;
  border-color: #e51c23;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Cart actions */
.cart-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; gap: 12px; }
.btn-continue { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 700; color: #064e3b; background: none; border: none; cursor: pointer; padding: 0; text-decoration: none; transition: color .2s;}
.btn-continue i { transition: transform .2s; }
.btn-continue:hover { color: #e51c23; }
.btn-continue:hover i { transform: translateX(-4px); }
.btn-update-cart {
  height: 44px; padding: 0 24px;
  border: 2px solid #064e3b; border-radius: 10px;
  background: #fbf7ea; font-size: 0.88rem; font-weight: 700;
  color: #064e3b; cursor: pointer;
  transition: all .2s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-update-cart:hover { border-color: #064e3b; background: #064e3b; color: #ffffff; }

/* ── Order Summary Right ───────────────────────────────────────── */
.order-summary {
  position: sticky; top: 90px;
  background: #fbf7ea;
  border: 1.5px solid #e3dac1;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 6px 22px rgba(82, 65, 36, 0.07);
}
.order-summary h3 { font-size: 1.2rem; font-weight: 800; color: #0f172a; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 0.9rem; }
.summary-row .label { color: #475569; font-weight: 600; }
.summary-row .value { font-weight: 700; color: #0f172a; }
.summary-divider { border: none; border-top: 1px solid #e3dac1; margin: 18px 0; }
.summary-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.summary-total .t-label { font-size: 1rem; font-weight: 800; color: #0f172a; }
.summary-total .t-value { font-size: 1.5rem; font-weight: 800; color: #e51c23; }
.btn-checkout-full {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 52px; border-radius: 11px;
  background: #e51c23; color: #ffffff; border: none;
  font-size: 0.98rem; font-weight: 800; letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: all .25s ease;
  box-shadow: 0 6px 18px rgba(229, 28, 35, 0.28);
}
.btn-checkout-full:hover { background: #c81319; color: #ffffff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(142, 4, 8, 0.36); }
.summary-trust { display: flex; justify-content: center; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.summary-trust span { font-size: 0.78rem; color: #475569; font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* Empty cart */
.empty-cart { text-align: center; padding: 80px 24px; background: #fbf7ea; border-radius: 16px; border: 1.5px solid #e3dac1; }
.empty-cart i { font-size: 64px; color: #cbd5e1; display: block; margin-bottom: 20px; }
.empty-cart h3 { font-size: 1.4rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.empty-cart p { color: #475569; margin-bottom: 24px; }
.empty-cart .btn-start-shopping {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px; background: #e51c23; color: #ffffff;
  font-weight: 800; border-radius: 10px; text-decoration: none;
  transition: all 0.2s ease; box-shadow: 0 4px 14px rgba(229, 28, 35, 0.28);
}
.empty-cart .btn-start-shopping:hover { transform: translateY(-2px); background: #c81319; color: #ffffff; }

/* Mobile Responsive */
@media (max-width: 900px) {
  .cart-layout { grid-template-columns: 1fr; gap: 24px; }
  .order-summary { position: static; }
}
@media (max-width: 640px) {
  .cart-wrap { padding: 24px 16px; }
  .cart-item-card { flex-direction: column; align-items: flex-start; padding: 16px; gap: 14px; }
  .cart-item-img { width: 80px; height: 80px; }
  .cart-item-info { width: 100%; }
  .cart-item-right { width: 100%; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 12px; }
  .cart-actions { flex-direction: column; align-items: stretch; }
  .btn-update-cart { justify-content: center; width: 100%; }
}