/* Custom z-index hierarchy for header and cart */
.header-container {
  position: relative;
  z-index: 1050;
}

.orange-strip {
  position: relative;
  z-index: 1050;
}

/* Cart sidebar styles */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -480px;
  width: 480px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1045;
  overflow-y: auto;
}

.cart-sidebar.active {
  right: 0;
}

.cart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1044;
}

body.cart-open .cart-overlay {
  display: block;
}

body.cart-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
  }
}