:root {
  --primary: #0ea5e9;
  --accent: #22c55e;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --border: #e5e7eb;
}

.bag-page {
  display: flex;
  gap: 24px;
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
}

.bag-items-container {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bag-item-container {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  position: relative;
}

.bag-item-img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
}

.item-right-part {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-right-part .company {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.item-right-part .item-name {
  font-size: 13px;
  color: var(--muted);
}

.price-container {
  font-size: 14px;
}

.price-container .current-price {
  font-weight: 800;
  color: var(--text);
}

.price-container .original-price {
  text-decoration: line-through;
  color: #9ca3af;
  margin-left: 6px;
  font-size: 12px;
}

.price-container .discount-percentage {
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
  margin-left: 6px;
}

.return-period,
.delivery-details {
  font-size: 12px;
  color: var(--muted);
}

.remove-from-cart {
  position: absolute;
  top: 8px;
  right: 10px;
  font-weight: 800;
  color: #dc2626;
  cursor: pointer;
  padding: 2px 6px;
}

.bag-summary {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  height: fit-content;
}

.price-header {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

.price-item-tag {
  color: var(--muted);
}

.price-item-value {
  font-weight: 700;
  color: var(--text);
}

.priceDetail-base-discount {
  color: #16a34a;
}

.price-footer {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 800;
  margin-top: 6px;
  color: var(--text);
}

.btn-place-order.apnacart-btn {
  margin-top: 14px;
  width: 100%;
  border: none;
  padding: 12px 14px;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #16a34a);
  color: white;
  font-weight: 800;
  font-size: 15px;
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}

.btn-place-order.apnacart-btn:hover {
  filter: brightness(1.02);
  box-shadow: 0 8px 24px rgba(34, 197, 94, .25);
  transform: translateY(-1px);
}

.bag-item-container {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.bag-item-container.removing {
  opacity: 0;
  transform: translateX(50px);
}