/* Cart Drawer Styles */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 450px;
  background: #111;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0,0,0,0.5);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cart-header h3 {
  font-family: var(--font-display, 'Inter', sans-serif);
  text-transform: uppercase;
  font-size: 1.2rem;
}

.close-cart {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.close-cart:hover {
  background: rgba(255,255,255,0.1);
}

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

.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted, #a0a0a0);
  gap: 1rem;
}

.continue-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.8rem 2rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
}

.item-image {
  width: 100px;
  height: 120px;
  background: rgba(255,255,255,0.02);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.item-details h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.item-price {
  color: var(--text-muted, #a0a0a0);
  margin-bottom: 1rem;
}

.item-controls {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qty-btns {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255,255,255,0.05);
  padding: 0.4rem;
  border-radius: 4px;
}

.qty-btns button {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--primary-color, #ff3366);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.85rem;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #0a0a0a;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.shipping-info {
  color: var(--text-muted, #a0a0a0);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.checkout-btn {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  padding: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, background 0.3s;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
}
