/* Drawer Cart (Slide-in) */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-smooth);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  padding: 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.4rem;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 75px 1fr auto;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  align-items: center;
}

.cart-item-img {
  width: 75px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  background: #1f1d2b;
}

.cart-item-info h4 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.cart-item-info span {
  font-size: 0.85rem;
  color: var(--gold-light);
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.cart-qty-ctrl button {
  width: 24px;
  height: 24px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  margin-top: 4rem;
  font-size: 0.95rem;
}

.cart-footer {
  padding: 1.8rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(12, 11, 15, 0.4);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.cart-subtotal-price {
  font-weight: 600;
  color: var(--gold-light);
}

.btn-checkout-whatsapp {
  width: 100%;
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-checkout-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}
