.cart-sidebar {
  position: fixed; top: 0; right: -420px;
  width: 400px; height: 100vh;
  background: white;
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  z-index: 1000;
  display: flex; flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-sidebar.open { right: 0; }

.sidebar-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}
.sidebar-header h3 { font-size: 1.1rem; font-weight: 700; color: #1d3557; }
.sidebar-header button { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: #666; padding: 4px; }
.sidebar-header button:hover { color: #e63946; }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 24px; }

.cart-item {
  display: flex; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid #f0f0f0;
  align-items: center;
}
.cart-item-img {
  width: 68px; height: 68px;
  background: #f5f5f5; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: #ccc; overflow: hidden; flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.85rem; font-weight: 600; color: #1d3557; margin-bottom: 4px; }
.cart-item-price { font-size: 0.9rem; color: #e63946; font-weight: 700; }
.cart-item-qty {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px;
}
.qty-btn {
  width: 26px; height: 26px;
  border: 1px solid #ddd; background: white;
  border-radius: 4px; cursor: pointer; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.qty-btn:hover { background: #e63946; color: white; border-color: #e63946; }
.qty-display { font-size: 0.9rem; font-weight: 600; min-width: 20px; text-align: center; }
.cart-item-remove { background: none; border: none; color: #ccc; cursor: pointer; font-size: 0.9rem; padding: 4px; }
.cart-item-remove:hover { color: #e63946; }

.cart-footer { padding: 20px 24px; border-top: 1px solid #eee; }
.cart-subtotal { display: flex; justify-content: space-between; margin-bottom: 16px; font-size: 1rem; }
.cart-subtotal strong { color: #e63946; font-size: 1.1rem; }

.empty-state { text-align: center; padding: 60px 20px; color: #aaa; }
.empty-state i { font-size: 3rem; margin-bottom: 14px; display: block; }
.empty-state p { font-size: 0.9rem; margin-bottom: 16px; }