.cart.overlay {
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 999;
  transform: none;
  /*top: 0;*/
}

.overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Drawer */

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100%;
  background: #fff;
  z-index: 1000;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
}

.cart-drawer.open {
  right: 0;
}

/* Header */

.cart-header {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
}

/* Items */

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

.cart-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}

.cart-item .title {
  font-weight: bold;
  font-size: 13px;
  color: black;
}

/* Footer */

.cart-footer {
  border-top: 1px solid #eee;
  padding: 15px;
}

.subtotal {
  margin-bottom: 10px;
}

/* Buttons */

.btn {
  width: 100%;
  padding: 12px;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.checkout {
  background: #ffb400;
}

.view {
  background: #eee;
}

/* Bottom Cart Bar (wie im Screenshot) */

.cart-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffb400;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 1100;
}

.icon-button {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
}

