.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;*/
  /*position: fixed;*/
  top: 0;
  right: 0;
  z-index: 2000;
}

.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;
}

.checkout-header {
  padding: 50px 0 25px;
}

.card-modern {
  border: none;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.form-control, .form-select {
  border-radius: 12px;
  padding: .8rem 1rem;
  border: 1px solid #dfe5ec;
}

.form-control:focus, .form-select:focus {
  box-shadow: none;
  border-color: #0d6efd;
}

.product-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #eceff4;
}

.product-item:last-child {
  border-bottom: none;
}

.product-image {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 14px;
}

.product-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.product-info {
  color: #6c757d;
  font-size: .9rem;
}

.price {
  font-weight: 700;
  white-space: nowrap;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.total {
  font-size: 1.3rem;
  font-weight: 700;
}

.btn-checkout {
  border-radius: 14px;
  padding: 14px;
  font-weight: 600;
  font-size: 1rem;
}

.stepper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.step {
  color: #adb5bd;
  font-weight: 600;
}

.step.active {
  color: #0d6efd;
}

.sticky-summary {
  position: sticky;
  top: 30px;
}

.badge-custom {
  background: #eef5ff;
  color: #0d6efd;
  padding: 7px 12px;
  border-radius: 50px;
}

@media (max-width:991px) {
  .sticky-summary {
    position: relative;
    top: 0;
  }
}

