.cbars-bar {
  box-sizing: border-box;
  position: relative;
  z-index: var(--cbars-z-index, 1000);
  background: var(--cbars-bg, #173f35);
  color: var(--cbars-fg, #fff);
  font:
    500 15px/1.5 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  padding-block: 12px;
  padding-inline: 20px 48px;
  width: 100%;
  text-align: center;
}
.cbars-bar * {
  box-sizing: border-box;
}
.cbars-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cbars-message {
  margin: 0;
  max-width: 760px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cbars-action,
.cbars-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit !important;
  text-decoration: none !important;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.cbars-action:hover,
.cbars-copy:hover {
  opacity: 0.85;
}
.cbars-action:focus-visible,
.cbars-copy:focus-visible,
.cbars-close:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
.cbars-close {
  position: absolute;
  inset-inline-end: 10px;
  top: 8px;
  width: 34px;
  height: 34px;
  background: none;
  border: 0;
  color: inherit;
  font: 26px/1 system-ui;
  cursor: pointer;
}
.cbars-bar[data-position="top"] {
  position: sticky;
  top: calc(var(--cbars-admin-offset, 0px) + var(--cbars-top-offset, 0px));
  margin-block-start: var(--cbars-top-offset, 0px);
}
.cbars-bar[data-position="bottom"] {
  position: fixed;
  bottom: var(--cbars-bottom-offset, 0px);
  left: 0;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.cbars-bar[data-preset="midnight"] .cbars-action,
.cbars-bar[data-offer="shipping"] .cbars-action {
  background: var(--cbars-fg);
  color: var(--cbars-bg) !important;
}
.cbars-countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.cbars-progress {
  width: min(260px, 60vw);
  height: 6px;
  background: color-mix(in srgb, currentColor 25%, transparent);
  border-radius: 99px;
  overflow: hidden;
}
.cbars-progress span {
  display: block;
  height: 100%;
  background: currentColor;
  width: var(--cbars-progress, 0%);
}
.cbars-coupon {
  font-family: ui-monospace, monospace;
  letter-spacing: 0.08em;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cbars-copy-label { min-width: 0; overflow-wrap: anywhere; }
.cbars-feedback {
  font-size: 13px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.cbars-spacer {
  width: 100%;
  height: 0;
}
.cbars-bar[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  .cbars-bar {
    font-size: 14px;
    padding-block: 12px;
    padding-inline: 14px 42px;
  }
  .cbars-inner {
    gap: 9px;
  }
  .cbars-action,
  .cbars-copy {
    min-height: 40px;
  }
  .cbars-message {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cbars-bar * {
    scroll-behavior: auto;
  }
}
@media print {
  .cbars-bar,
  .cbars-spacer {
    display: none !important;
  }
}
