#ebiz-offer-ticker,
#ebiz-offer-ticker * { box-sizing: border-box; }

#ebiz-offer-ticker {
  --ebt-blue: #2A3693;
  --ebt-orange: #F15A27;
  --ebt-white: #FFFFFF;
  --ebt-red: #D92D32;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: clamp(16px, 2.1vw, 32px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 70px;
  margin: 0;
  padding: 8px clamp(15px, 2.6vw, 44px);
  background: var(--ebt-blue);
  color: var(--ebt-white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.15;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}









/* Smooth, truly seamless marquee. The two groups contain identical content. */
#ebiz-offer-ticker .ebt-viewport {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  height: 42px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

#ebiz-offer-ticker .ebt-track {
  display: flex;
  align-items: center;
  flex: none;
  width: max-content;
  white-space: nowrap;
  animation: ebt-marquee 34s linear infinite;
  will-change: transform;
}

#ebiz-offer-ticker .ebt-sequence {
  display: flex;
  flex: none;
  width: max-content;
  align-items: center;
}

#ebiz-offer-ticker .ebt-word,
#ebiz-offer-ticker .ebt-mini-deal {
  flex: none;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .005em;
  white-space: nowrap;
  color: var(--ebt-white);
}

#ebiz-offer-ticker .ebt-word.ebt-accent {
  color: var(--ebt-orange);
}

#ebiz-offer-ticker .ebt-mini-deal {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.025em;
}

#ebiz-offer-ticker .ebt-sep {
  display: inline-block;
  flex: none;
  padding: 0 23px;
  font-size: 11px;
  line-height: 1;
  color: var(--ebt-orange);
}

#ebiz-offer-ticker .ebt-viewport:hover .ebt-track { animation-play-state: paused; }

/* Conversion CTA is always visible; the little sheen draws attention gently. */
#ebiz-offer-ticker .ebt-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  gap: 14px;
  min-width: 198px;
  height: 44px;
  padding: 6px 7px 6px 22px;
  background: var(--ebt-orange);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: var(--ebt-white) !important;
  text-decoration: none !important;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .025em;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(13, 20, 68, .20);
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
}

#ebiz-offer-ticker .ebt-cta::before {
  content: "";
  position: absolute;
  top: -30px;
  bottom: -30px;
  left: -40px;
  width: 22px;
  background: rgba(255, 255, 255, .23);
  transform: skewX(-22deg);
  animation: ebt-cta-glint 6.2s ease-in-out infinite;
  pointer-events: none;
}

#ebiz-offer-ticker .ebt-cta-text { position: relative; z-index: 1; }

#ebiz-offer-ticker .ebt-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  flex: none;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: var(--ebt-orange);
  background: var(--ebt-white);
  transition: transform .25s ease;
}

#ebiz-offer-ticker .ebt-arrow svg {
  display: block;
  width: 20px;
  height: 20px;
}

#ebiz-offer-ticker .ebt-cta:hover {
  background: #D94A1C;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13, 20, 68, .30);
}

#ebiz-offer-ticker .ebt-cta:hover .ebt-arrow { transform: translateX(3px); }
#ebiz-offer-ticker .ebt-cta:active { transform: translateY(0); }
#ebiz-offer-ticker .ebt-cta:focus-visible { outline: 3px solid var(--ebt-white); outline-offset: 3px; }

#ebiz-offer-ticker .ebt-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@keyframes ebt-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


@keyframes ebt-cta-glint {
  0%, 64% { transform: translateX(0) skewX(-22deg); }
  82%, 100% { transform: translateX(265px) skewX(-22deg); }
}

@media (max-width: 1050px) {
  #ebiz-offer-ticker { column-gap: 16px; padding-right: 18px; padding-left: 18px; }
  #ebiz-offer-ticker .ebt-cta { min-width: 184px; height: 42px; padding-left: 18px; gap: 10px; font-size: 12px; }
  #ebiz-offer-ticker .ebt-arrow { width: 30px; height: 30px; }
  #ebiz-offer-ticker .ebt-word { font-size: 16px; }
  #ebiz-offer-ticker .ebt-mini-deal { font-size: 19px; }
}

@media (max-width: 660px) {
  #ebiz-offer-ticker {
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-rows: minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 2px;
    min-height: 65px;
    height: 65px;
    padding: 7px 13px 6px;
  }
  #ebiz-offer-ticker .ebt-viewport { grid-column: 1; grid-row: 1; height: 30px; }
  #ebiz-offer-ticker .ebt-track { animation-duration: 28s; }
  #ebiz-offer-ticker .ebt-word { font-size: 14px; }
  #ebiz-offer-ticker .ebt-mini-deal { font-size: 16px; }
  #ebiz-offer-ticker .ebt-sep { padding: 0 17px; }
  #ebiz-offer-ticker .ebt-cta {
    grid-column: 2;
    grid-row: 1;
    min-width: 166px;
    height: 40px;
    padding: 5px 6px 5px 14px;
    gap: 7px;
    font-size: 11.5px;
  }
  #ebiz-offer-ticker .ebt-arrow { width: 29px; height: 29px; }
  #ebiz-offer-ticker .ebt-arrow svg { width: 18px; height: 18px; }
}

@media (max-width: 520px) {
  #ebiz-offer-ticker { column-gap: 10px; padding-left: 12px; padding-right: 11px; }
  #ebiz-offer-ticker .ebt-cta { min-width: 160px; }
}

@media (max-width: 360px) {
  #ebiz-offer-ticker { column-gap: 7px; padding-left: 10px; padding-right: 8px; }
  #ebiz-offer-ticker .ebt-cta { min-width: 150px; padding-left: 11px; font-size: 11px; }
  #ebiz-offer-ticker .ebt-arrow { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  #ebiz-offer-ticker *,
  #ebiz-offer-ticker *::before,
  #ebiz-offer-ticker *::after {
    animation: none !important;
    transition: none !important;
  }
  #ebiz-offer-ticker .ebt-track { transform: none !important; }
}

#ebiz-offer-ticker.ebt-full-bleed { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
@media (max-width: 660px) {
  #ebiz-offer-ticker .ebt-cta { max-width: 100%; }
}

/* Optional WPBakery Row extra class: ebt-wpb-row, to prevent builder spacing below a compact ticker. */
.ebt-wpb-row .wpb_text_column.wpb_content_element,
.ebt-wpb-row .wpb_raw_html.wpb_content_element { margin-bottom: 0; }

/* Device-specific CTA links: desktop/tablet opens WhatsApp, <=660px opens dialer. */
#ebiz-offer-ticker .ebt-cta--mobile { display: none !important; }
@media (max-width: 660px) {
  #ebiz-offer-ticker .ebt-cta--desktop { display: none !important; }
  #ebiz-offer-ticker .ebt-cta--mobile { display: inline-flex !important; }
}
