/* Species single — builder-vibe Select / qty / in-package marker */

:root {
  --hpb-gold: #c29330;
  --hpb-gold-dark: #a67b28;
  --hpb-ink: #1a1a1a;
  --hpb-line: #e6e0d6;
  --hpb-qty: 34px;
}

.builderhkfn,
.builderhkfn *,
a.builderhkfn,
a.builderhkfn *,
button.builderhkfn,
button.builderhkfn *,
.hpb-bridge-host,
.hpb-bridge-host * {
  cursor: pointer !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.hpb-bridge-host,
.elementor-element.builderhkfn,
.elementor-widget.builderhkfn,
a.builderhkfn,
button.builderhkfn {
  display: block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0.5rem 0 !important;
  min-height: 0 !important;
  width: auto !important;
  max-width: 100%;
  text-decoration: none !important;
  color: inherit !important;
}

.hpb-bridge-host .elementor-button,
.hpb-bridge-host .elementor-button-link,
.hpb-bridge-host .elementor-button-wrapper,
.hpb-bridge-host .elementor-widget-container > .elementor-button,
.hpb-bridge-host [data-hpb-original] {
  display: none !important;
}

.hpb-bridge {
  display: block !important;
  width: auto;
  max-width: 100%;
  font-family: inherit;
  color: var(--hpb-ink);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.hpb-bridge__row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  background: transparent !important;
}

.hpb-bridge__footer {
  margin-top: 0.45rem;
}

.hpb-bridge .hpb-btn {
  appearance: none !important;
  border: 1.5px solid var(--hpb-line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--hpb-ink) !important;
  font: inherit !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.35rem !important;
  line-height: 1.15 !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  width: auto !important;
  height: auto !important;
}

.hpb-bridge .hpb-btn:active {
  transform: scale(0.98);
}

.hpb-bridge .hpb-btn--primary {
  background: var(--hpb-gold) !important;
  border-color: var(--hpb-gold) !important;
  color: #fff !important;
  min-height: 36px !important;
  padding: 0.4rem 1rem !important;
  font-size: 0.88rem !important;
}

.hpb-bridge .hpb-btn--primary:hover,
.hpb-bridge .hpb-btn--primary:focus-visible {
  background: var(--hpb-gold-dark) !important;
  border-color: var(--hpb-gold-dark) !important;
  color: #fff !important;
}

.hpb-bridge .hpb-btn--added,
.hpb-bridge button.hpb-btn--added {
  background: #2f9e44 !important;
  border-color: #2f9e44 !important;
  color: #fff !important;
}

.hpb-bridge .hpb-btn--added:hover,
.hpb-bridge .hpb-btn--added:focus-visible {
  background: #278a3a !important;
  border-color: #278a3a !important;
  color: #fff !important;
}

.hpb-bridge .hpb-btn--ghost {
  background: #fff !important;
  color: var(--hpb-gold) !important;
  border-color: var(--hpb-line) !important;
}

.hpb-bridge .hpb-btn--icon {
  min-width: var(--hpb-qty) !important;
  width: var(--hpb-qty) !important;
  height: var(--hpb-qty) !important;
  min-height: var(--hpb-qty) !important;
  padding: 0 !important;
  border-radius: 50% !important;
  font-size: 1.05rem !important;
}

.hpb-bridge .hpb-ico,
.hpb-bridge-marker .hpb-ico {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  display: block !important;
  flex: 0 0 auto !important;
}

.hpb-bridge .hpb-btn--compact .hpb-ico {
  width: 15px !important;
  height: 15px !important;
}

.hpb-bridge .hpb-qty {
  display: inline-flex !important;
  align-items: center;
  gap: 0.2rem;
  background: transparent !important;
}

.hpb-bridge .hpb-qty__val {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--hpb-ink) !important;
  cursor: default !important;
}

.hpb-bridge__link {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hpb-gold-dark) !important;
  text-decoration: underline !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.hpb-bridge__link:hover {
  color: var(--hpb-ink) !important;
}

/* Featured / gallery green in-package marker — never header/logo */
.hpb-bridge-media {
  position: relative !important;
}

/* No green frame on single product — marker badge only */
.hpb-bridge-media.is-in-package::after {
  content: none !important;
  display: none !important;
}

.hpb-bridge-marker {
  position: absolute !important;
  top: 0.65rem !important;
  left: 0.65rem !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 5 !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 999px !important;
  background: #2f9e44 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(47, 158, 68, 0.4);
  pointer-events: none !important;
  overflow: hidden !important;
}

.hpb-bridge-marker .hpb-ico {
  width: 16px !important;
  height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
}

/* Never leave markers / borders on site logo or header */
.elementor-location-header .hpb-bridge-marker,
.elementor-location-header .hpb-bridge-media,
.elementor-widget-theme-site-logo .hpb-bridge-marker,
.elementor-widget-theme-site-logo.hpb-bridge-media,
.elementor-widget-theme-site-logo .hpb-bridge-media,
.elementor-widget-theme-site-logo .elementor-widget-container.hpb-bridge-media,
header .hpb-bridge-marker,
header .hpb-bridge-media.is-in-package::after {
  display: none !important;
}

.elementor-location-header .hpb-bridge-media,
.elementor-widget-theme-site-logo .hpb-bridge-media,
header .hpb-bridge-media {
  border: none !important;
  box-shadow: none !important;
}

.elementor-location-header .hpb-bridge-media.is-in-package::after,
.elementor-widget-theme-site-logo .hpb-bridge-media.is-in-package::after,
header .hpb-bridge-media.is-in-package::after {
  content: none !important;
  display: none !important;
}

.hpb-bridge .is-hpb-busy {
  opacity: 0.7;
  pointer-events: none;
}
