.hex-auto-discount-bar {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  box-sizing: border-box;
  color: #16823b;
  margin: 0 0 18px;
  padding: 22px 18px;
  width: 100%;
}

.hex-auto-discount-bar__top {
  align-items: center;
  display: flex;
  gap: 10px;
}

.hex-auto-discount-bar__progress {
  background: rgba(22, 130, 59, 0.13);
  border-radius: 999px;
  flex: 1;
  height: 10px;
  overflow: hidden;
  position: relative;
}

.hex-auto-discount-bar__progress-bar {
  background: repeating-linear-gradient(45deg, #16823b 0, #16823b 10px, #1e9a49 10px, #1e9a49 20px);
  border-radius: 999px;
  display: block;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  transition: width 220ms ease;
}

.hex-auto-discount-bar__icon {
  align-items: center;
  color: #16823b;
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: center;
}

.hex-auto-discount-bar__status {
  color: #16823b;
  font-size: 14px;
  font-weight: 700;
  margin-top: 16px;
}

.hex-auto-discount-bar__message {
  color: #1f2933;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .hex-auto-discount-bar {
    padding: 18px 16px;
  }
}


/* Guardrail visual: si por caché aparece una barra legacy junto a la barra Hex,
   JS la elimina; esta regla reduce el parpadeo mientras ocurre el reemplazo. */
.hex-auto-discount-bar + .cart_totals_summary > [id="gac-discount-bar"]:not([data-hex-auto-discount-bar]) {
  display: none !important;
}
