/* Offcanvas Cart */
.cart-wrapper {
  right: 10px;
  top: 100px;
  z-index: 33;
}

.cart-wrapper > div {
  position: relative;
  width: fit-content;
}

.cart-wrapper .btn {
  border: none;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}

.cart-wrapper .btn:hover,
.cart-wrapper .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(31, 41, 55, 0.14);
}

.cart-wrapper .btn-warning {
  color: #fff;
  background: linear-gradient(135deg, #e76f51, #f4a261);
}

.cart-wrapper .btn-warning:hover,
.cart-wrapper .btn-warning:focus-visible {
  color: #fff;
}

#productNum {
  position: absolute;
  right: -10px;
  top: -6px;
  width: 22px;
  height: 22px;
  font-size: 0.72rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff6b57, #d63f2e) !important;
  box-shadow: 0 8px 16px rgba(214, 63, 46, 0.35);
}

.cart {
  max-height: calc(100vh - 220px);
  overflow: auto;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.cart-image {
  width: 56px;
  height: 56px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  background-color: #f2f2f2;
}
.cart-title { font-size: 14px; font-weight: 600; margin: 0; }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-controls button { width: 28px; height: 28px; line-height: 1; padding: 0; }
.cart-total { font-weight: 600; }
.cart-footer { position: sticky; bottom: 0; background: #fff; padding: 12px 0; }
