.cart-overlay {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
  z-index: 90;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

#order-card {
  width: 414px;
  height: auto;
  position: fixed;
  top: 72px;
  right: -414px;
  z-index: 1000;
  border-radius: 16px;
  padding: 24px;
  background: #FCFAF8;
  border: 2px solid #281D151F;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease-out;
  overflow-y: auto;
  max-height: calc(100vh - 72px);
}

#order-card.visible {
  right: 0;
}

@keyframes slideInRight {
  from { right: -414px; }
  to { right: 0; }
}

.menu.dimmed, body.cart-open .menu {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.order-title {
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: #000000;
  margin-bottom: 12px;
}

.close-btn {
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #281D15;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-subtext {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #000000;
  margin-bottom: 16px;
}

.order-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.order-item {
  width: 100%;
  height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #281D1520;
  padding: 0;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.item-name {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
}

.item-qty {
  font-family: Inter, sans-serif;
  font-size: 12px;
  color: #6B7280;
}

.item-price {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #000000;
}

.remove-item {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #281D15;
  color: #281D15;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

.remove-item:hover {
  background: #281D15;
  color: #FFFFFF;
}

.order-total {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-family: Inter, sans-serif;
  font-size: 16px;
  color: #000000;
  font-weight: 500;
}

.order-buttons {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.whatsapp-btn {
  background: #281D15;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.clear-btn {
  background: #FFFFFF;
  color: #281D15;
  border: 1px solid #281D15;
  border-radius: 6px;
  padding: 12px 24px;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease-out;
}

@media (max-width: 768px) {
  #order-card {
    width: 100%;
    right: -100%;
    top: 0;
    border-radius: 0;
    max-height: 100vh;
  }
  
  #order-card.visible {
    right: 0;
  }
}

@media (max-width: 480px) {
  .order-title {
    font-size: 20px;
  }
  
  .order-subtext {
    font-size: 14px;
  }
  
  .item-name, .item-price {
    font-size: 14px;
  }
}
