/* ==========================================================================
   Sticky bottom offer banner ("catfish")
   ========================================================================== */

.sc-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 9000;
  width: min(900px, calc(100% - 24px));
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), opacity .3s ease;
}

.sc-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.sc-inner {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(20, 15, 12, .28), 0 2px 6px rgba(20, 15, 12, .12);
}

/* Vertical BONUS strip */
.sc-strip {
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #1aa14e, #137a3b);
}

.sc-strip span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sc-strip::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1.5px dashed rgba(255, 255, 255, .8);
  border-radius: 9px;
}

.sc-strip {
  position: relative;
}

/* Logo tile */
.sc-logo {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 58px;
  margin: 0 0 0 18px;
  align-self: center;
  background: #15110f;
  border-radius: 12px;
  overflow: visible;
}

.sc-logo img {
  max-width: 78%;
  max-height: 70%;
  object-fit: contain;
}

.sc-check {
  position: absolute;
  top: -7px;
  right: -7px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #2f80ed;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.sc-main {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 14px 14px 16px;
}

.sc-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 1px dashed rgba(31, 25, 21, .22);
}

.sc-kicker {
  color: #6f6158;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sc-offer {
  color: #1f1915;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-pct {
  color: #17a34a;
}

.sc-note {
  color: #8a7d72;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10.5px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CTA */
.sc-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 14px;
  background: #12100f;
  color: #fff !important;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s ease, transform .1s ease;
}

.sc-cta:hover {
  background: #1f9d55;
}

.sc-cta:active {
  transform: scale(.99);
}

.sc-cta::after {
  content: none !important;
}

.sc-close {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 25, 21, .07);
  color: #6f6158;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.sc-close:hover {
  background: rgba(31, 25, 21, .14);
}

@media (max-width: 760px) {
  .sc-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    transform: translateY(140%);
  }

  .sc-banner.is-visible {
    transform: translateY(0);
  }

  .sc-inner {
    border-radius: 18px 18px 0 0;
    flex-wrap: wrap;
    padding-top: 10px;
  }

  .sc-strip {
    display: none;
  }

  .sc-logo {
    width: 56px;
    height: 44px;
    margin: 0 0 0 12px;
  }

  .sc-main {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 12px 12px;
  }

  .sc-body {
    flex: 1;
    padding-left: 12px;
  }

  .sc-offer {
    font-size: 18px;
    white-space: normal;
  }

  .sc-note {
    white-space: normal;
  }

  .sc-cta {
    flex: 0 0 100%;
    min-height: 50px;
    order: 5;
  }

  .sc-close {
    order: 4;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-banner {
    transition: none;
  }
}
