/* =================== hc-list-multiadd — bulk add in catalog LIST view ===========
   In list view each card gets a select checkbox; a floating bar adds all
   selected products at once via /cart/batch-add. JS: assets/main.js. */

.hc-list-pick { display: none; }

#cat-results.hc-multiadd-on .hc-pgrid[data-view="list"] .pcard { position: relative; }
#cat-results.hc-multiadd-on .hc-pgrid[data-view="list"] .pcard .hc-list-pick {
  display: inline-flex;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 252, 247, 0.94);
  border: 1px solid var(--hc-line, rgba(141, 109, 71, 0.3));
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(26, 23, 20, 0.1);
}
.hc-list-pick input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--hc-accent, #8b7355);
  cursor: pointer;
}

/* floating bulk-add bar */
.hc-bulk-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 160%);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 18px;
  border-radius: 14px;
  background: var(--hc-ink, #1a1714);
  color: var(--hc-paper, #fff);
  box-shadow: 0 18px 44px rgba(26, 23, 20, 0.34);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.5, 0, 0.3, 1), opacity 0.28s ease;
  pointer-events: none;
}
.hc-bulk-bar.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.hc-bulk-bar__count {
  font: 600 14px/1 var(--hc-sans, "Outfit", sans-serif);
  white-space: nowrap;
}
.hc-bulk-bar__add {
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hc-gold-1, #d4b896), var(--hc-accent, #8b7355));
  color: #1a1714;
  font: 600 13px/1 var(--hc-sans, "Outfit", sans-serif);
  cursor: pointer;
  white-space: nowrap;
}
.hc-bulk-bar__add:disabled { opacity: 0.6; cursor: default; }
.hc-bulk-bar__clear {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font: 500 13px/1 var(--hc-sans, "Outfit", sans-serif);
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .hc-bulk-bar { transition: opacity 0.2s ease; }
}
