/* Fade-out liền mạch với banner */
.scl-fade-out {
  position: relative;
  margin-bottom: -120px;
  padding-bottom: 120px;
}
.scl-fade-out::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.5));
  pointer-events: none;
}
.scl-fade-out > *:last-child { margin-bottom: 0 !important; }

/* Banner wrapper + overlay */
.scl-banner-wrapper {
  position: relative;
  margin: 0 0 20px; /* no top margin */
}
.scl-affiliate-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}
.scl-affiliate-box {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: center;
  color: #fff;
}

/* Instruction */
.scl-banner-instruction p { margin: 6px 0; }
.scl-unlock-title { font-size: 1.4em; color: #ffcc00; }
.scl-note-small { font-size: .9em; opacity: .9; }

/* Banner image */
.scl-banner-link img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 12px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* Product meta under image */
.scl-product-meta { margin: 6px 0 12px; }
.scl-product-name { font-weight: 700; font-size: 1.05rem; }
.scl-product-price { font-size: 1rem; opacity: .95; }

/* CTA button - red with white text and white cart icon */
.scl-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e53935;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(229,57,53,0.35);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.scl-cta-btn:hover,
.scl-cta-btn:focus {
  background: #d32f2f;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(229,57,53,0.45);
}
.scl-cta-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(229,57,53,0.35);
}
.scl-cta-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.scl-cta-btn .scl-cta-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  color: currentColor;
}

/* Affiliate notice */
.scl-note {
  margin-top: 10px;
  font-size: .9rem;
  color: #eee;
  opacity: .95;
}

/* Safety reset margins to avoid gaps */
.scl-banner-wrapper, .scl-banner-wrapper * { margin-top: 0; }