/* Happy Caps Conversion Kit — checkout order bumps. Colours come in as CSS vars
   (--hc-bump-bg / --hc-bump-text / --hc-bump-btn-bg / --hc-bump-btn-text) set
   inline on .hc-bumps from the manager's independent bump colour controls. */
.hc-bumps { margin: 0 0 1em; display: flex; flex-direction: column; gap: .6em; }
.hc-bump {
  display: flex;
  align-items: center;
  gap: .7em;
  background: var(--hc-bump-bg, #111111);
  color: var(--hc-bump-text, #ffffff);
  border: 2px solid var(--hc-bump-btn-bg, #ffb800);
  border-radius: 10px;
  padding: .7em .9em;
}
.hc-bump-img { flex: 0 0 auto; }
.hc-bump-img img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; display: block; }
.hc-bump-body { display: flex; flex-direction: column; gap: .15em; min-width: 0; flex: 1 1 auto; }
.hc-bump-label { font-weight: 700; line-height: 1.2; color: var(--hc-bump-text, #fff); }
.hc-bump-price { font-size: .92em; color: var(--hc-bump-text, #fff); }
.hc-bump-price del { opacity: .6; margin-right: .4em; }
.hc-bump-price ins { color: var(--hc-bump-btn-bg, #ffb800); text-decoration: none; font-weight: 700; }
.hc-bump-price em { color: var(--hc-bump-btn-bg, #ffb800); font-style: normal; font-weight: 700; margin-left: .4em; }

/* !important + double-class specificity: beat theme / WooCommerce `#payment button` rules. */
.hc-bumps .hc-bump-btn {
  flex: 0 0 auto;
  cursor: pointer;
  border: 0 !important;
  border-radius: 8px;
  padding: .6em 1.1em;
  font-weight: 700;
  font-size: .95em;
  line-height: 1.2;
  width: auto;
  white-space: nowrap;
  text-transform: none;
  background: var(--hc-bump-btn-bg, #ffb800) !important;
  color: var(--hc-bump-btn-text, #111111) !important;
}
.hc-bumps .hc-bump-btn:hover { filter: brightness(1.06); background: var(--hc-bump-btn-bg, #ffb800) !important; }
.hc-bump-l-added { display: none; }

/* added state: outline button + "✓ Added" label */
.hc-bumps .hc-bump-added .hc-bump-btn {
  background: transparent !important;
  color: var(--hc-bump-btn-bg, #ffb800) !important;
  box-shadow: inset 0 0 0 2px var(--hc-bump-btn-bg, #ffb800);
}
.hc-bump-added .hc-bump-l-add { display: none; }
.hc-bump-added .hc-bump-l-added { display: inline; }

.hc-bump-busy { opacity: .55; pointer-events: none; }

@media (max-width: 480px) {
  .hc-bump { flex-wrap: wrap; }
  .hc-bump-btn { width: 100%; }
}
