/* Product / pack landing "Bonus Pack Deal" banner (Nexgard Spectra: Buy 12 Pack or 2 x 6 Pack, get 3 FREE).
   Finalized in the "Banner redesign" session (promo-banner-12plus3.html). Used by Content/banners/prodLanding/2030.html. */
.vs-promo {
  --vs-red: #e8262b;
  --vs-red-dark: #b3121a;
  --vs-yellow: #ffd23f;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  font-family: Rubik, Arial, sans-serif;
  background:
    radial-gradient(circle at 92% -40%, rgba(255,255,255,.22) 0 60px, transparent 61px),
    radial-gradient(circle at 70% 160%, rgba(255,255,255,.12) 0 70px, transparent 71px),
    linear-gradient(100deg, var(--vs-red-dark) 0%, var(--vs-red) 45%, #ff4b3a 100%);
  box-shadow: 0 6px 18px -6px rgba(232, 38, 43, .55);
  isolation: isolate;
}
/* sweeping shine */
.vs-promo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 45%, transparent 60%);
  transform: translateX(-100%);
  animation: vs-shine 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes vs-shine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

.vs-promo__badge {
  flex: none;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--vs-yellow);
  color: var(--vs-red-dark);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.12);
  animation: vs-wiggle 3s ease-in-out infinite;
}
.vs-promo__badge svg { width: 30px; height: 30px; }
@keyframes vs-wiggle {
  0%, 80%, 100% { transform: rotate(0); }
  84% { transform: rotate(-10deg); } 88% { transform: rotate(9deg); }
  92% { transform: rotate(-6deg); } 96% { transform: rotate(3deg); }
}

.vs-promo__text { flex: 1; min-width: 0; line-height: 1.1; }
.vs-promo__text, .vs-promo__headline { text-align: left; }
.vs-promo__eyebrow {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 3px;
}
.vs-promo__headline {
  margin: 0;
  font-size: 24px; font-weight: 800;
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px;
}
.vs-promo__get { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.vs-promo__or {
  display: inline-block;
  margin: 0 4px;
  padding: 1px 7px 2px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.6);
  font-size: .55em; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  vertical-align: .35em;
}
.vs-promo__arrow svg { width: 60%; height: 60%; }
.vs-promo__arrow {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  font-size: 18px; font-weight: 700;
}
.vs-promo__free {
  background: var(--vs-yellow);
  color: var(--vs-red-dark);
  padding: 2px 10px 3px;
  border-radius: 8px;
  font-weight: 900;
  transform: rotate(-2deg);
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
}

.vs-promo__deal {
  flex: none;
  text-align: center;
  padding: 6px 14px;
  border-left: 2px dashed rgba(255,255,255,.45);
  line-height: 1;
}
.vs-promo__deal strong { display: block; font-size: 26px; font-weight: 900; white-space: nowrap; }
.vs-promo__deal span { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .9; }

/* Phone: two-tier card — offer on top, reward strip along the bottom */
@media (max-width: 600px) {
  .vs-promo {
    display: grid;
    grid-template-columns: auto 1fr auto;
    column-gap: 12px; row-gap: 0;
    padding: 0;
    align-items: center;
  }
  .vs-promo::before {               /* darker bottom strip */
    content: "";
    grid-row: 3; grid-column: 1 / -1;
    align-self: stretch;
    background: rgba(0,0,0,.18);
    border-top: 1.5px dashed rgba(255,255,255,.35);
  }
  .vs-promo__text, .vs-promo__headline { display: contents; }
  .vs-promo__badge { grid-column: 1; grid-row: 1 / 3; margin: 12px 0 12px 12px; width: 46px; height: 46px; border-radius: 11px; }
  .vs-promo__badge svg { width: 26px; height: 26px; }
  .vs-promo__eyebrow { grid-column: 2 / 4; grid-row: 1; align-self: end; margin: 12px 12px 3px 0; font-size: 10px; }
  .vs-promo__headline { font-size: 19px; }
  .vs-promo__buy { grid-column: 2 / 4; grid-row: 2; align-self: start; margin: 0 12px 12px 0; white-space: normal; line-height: 1.25; } /* "Any 6 Pack (x2)" drops to its own line when narrow */
  .vs-promo__or { margin: 0 3px; padding: 0 6px 1px; vertical-align: .25em; }
  .vs-promo__get { grid-column: 1 / 3; grid-row: 3; padding: 10px 0 11px 12px; gap: 8px; }
  .vs-promo__arrow { width: 22px; height: 22px; }
  .vs-promo__free { font-size: 18px; padding: 3px 10px 4px; }
  .vs-promo__deal { grid-column: 3; grid-row: 3; border-left: 0; padding: 8px 12px 8px 0; text-align: right; }
  .vs-promo__deal strong { font-size: 16px; }
  .vs-promo__deal span { margin-top: 2px; font-size: 9px; letter-spacing: .04em; }
}
/* very small phones: let the offer line wrap */
@media (max-width: 360px) {
  .vs-promo__buy { white-space: normal; }
  .vs-promo__deal strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .vs-promo::after, .vs-promo__badge { animation: none; }
}

/* "x2" quantity badge after "Any 6 Pack" (white round badge); "Any 6 Pack x2" never splits */
.vs-promo__any { white-space: nowrap; }
.vs-promo__qty {
  display: inline-grid; place-items: center;
  min-width: 1.55em; height: 1.55em; padding: 0 .45em;
  border-radius: 999px;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78em; font-weight: 700; line-height: 1; letter-spacing: .02em;
  vertical-align: .15em;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.vs-promo-sticky__qty {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 5px; margin-left: 4px;
  border-radius: 999px; background: #fff;
  font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; line-height: 1; vertical-align: .1em;
}
.vs-promo .vs-promo__qty, .vs-promo-sticky .vs-promo-sticky__qty { color: #b3121a; }

/* Host pages style band spans (the pack page turns them lime): pin the banner's own colours */
.vs-promo .vs-promo__eyebrow { color: rgba(255,255,255,.85); }
.vs-promo .vs-promo__buy, .vs-promo .vs-promo__any, .vs-promo .vs-promo__or, .vs-promo .vs-promo__get, .vs-promo .vs-promo__arrow,
.vs-promo .vs-promo__deal strong, .vs-promo .vs-promo__deal span { color: #fff; }
.vs-promo .vs-promo__free { color: var(--vs-red-dark); }

/* Pack landing page: narrower column - "Buy 12 Pack or Any 6 Pack x2" on one line, "Get 3 FREE" under it */
/* Desktop/tablet: whole offer on one row (22px fits the product page); if a screen is too narrow,
   "Get 3 FREE" drops below with room for the tilted pill */
@media (min-width: 601px) {
  .vs-promo { padding-top: 12px; padding-bottom: 12px; }
  .vs-promo__eyebrow { margin-bottom: 5px; }
  .vs-promo__headline { font-size: 22px; row-gap: 10px; }
  .vs-promo__buy { white-space: normal; line-height: 1.2; } /* narrow: "Any 6 Pack (x2)" moves down as one piece */
}
@media (min-width: 601px) {
  .cls_productoffer_bandDiv .vs-promo { gap: 12px; }
  .cls_productoffer_bandDiv .vs-promo .vs-promo__headline { font-size: 18px; }
  .cls_productoffer_bandDiv .vs-promo .vs-promo__buy { white-space: normal; }
  .cls_productoffer_bandDiv .vs-promo .vs-promo__get { flex-basis: 100%; }
  .cls_productoffer_bandDiv .vs-promo .vs-promo__deal { padding: 4px 6px 4px 12px; }
  .cls_productoffer_bandDiv .vs-promo .vs-promo__deal strong { font-size: 20px; }
  .cls_productoffer_bandDiv .vs-promo .vs-promo__deal span { font-size: 9.5px; letter-spacing: .04em; }
}

/* Slim sticky version: slides in at the top once the full banner has scrolled out of view (built by the script in 2030.html) */
.vs-promo-sticky {
  position: fixed; left: 0; right: 0; top: 0; z-index: 100000; /* above the pack page tabs (.tablinks z-index 99999) */
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: calc(7px + env(safe-area-inset-top, 0px)) 44px 7px 12px;
  color: #fff; font-family: Rubik, Arial, sans-serif; font-weight: 800; font-size: 16px; line-height: 1.2;
  background: linear-gradient(100deg, #b3121a 0%, #e8262b 45%, #ff4b3a 100%);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.45);
  transform: translateY(-110%); transition: transform .3s ease; visibility: hidden;
  cursor: pointer; text-align: left;
}
.vs-promo-sticky.is-on { transform: none; visibility: visible; }
.vs-promo-sticky__badge { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #ffd23f; color: #b3121a; }
.vs-promo-sticky__badge svg { width: 18px; height: 18px; }
.vs-promo-sticky__text { white-space: nowrap; color: #fff; }
.vs-promo-sticky__or { display: inline-block; margin: 0 4px; padding: 0 6px 1px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; vertical-align: .2em; color: #fff; }
.vs-promo-sticky__free { flex: none; padding: 2px 9px 3px; border-radius: 7px; background: #ffd23f; color: #b3121a; font-weight: 900; transform: rotate(-2deg); box-shadow: 0 2px 0 rgba(0,0,0,.15); white-space: nowrap; }
.vs-promo-sticky__deal { flex: none; padding-left: 12px; border-left: 1.5px dashed rgba(255,255,255,.5); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; color: #fff; }
.vs-promo-sticky__close { position: absolute; right: 8px; top: calc(50% + env(safe-area-inset-top, 0px) / 2); transform: translateY(-50%); width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.18); color: #fff; font-size: 18px; line-height: 28px; text-align: center; cursor: pointer; }
.vs-promo-sticky__close:hover { background: rgba(0,0,0,.3); }
.vs-promo-sticky:focus-visible, .vs-promo-sticky__close:focus-visible { outline: 3px solid #ffd23f; outline-offset: -3px; }
@media (max-width: 600px) {
  .vs-promo-sticky { gap: 8px; font-size: 14px; padding-left: 10px; padding-right: 40px; justify-content: flex-start; }
  .vs-promo-sticky__badge { width: 26px; height: 26px; }
  .vs-promo-sticky__deal, .vs-promo-sticky__long { display: none; }
  .vs-promo-sticky__or { margin: 0 3px; }
}
/* small phones: "Any 6 Pack (x2)" is longer, keep clear of the close button */
@media (max-width: 420px) {
  .vs-promo-sticky { gap: 6px; font-size: 13px; padding-left: 8px; }
  .vs-promo-sticky__free { padding: 2px 7px 3px; }
}
@media (max-width: 360px) {
  .vs-promo-sticky { font-size: 12px; gap: 5px; }
  .vs-promo-sticky__badge { display: none; }
}
@media (prefers-reduced-motion: reduce) { .vs-promo-sticky { transition: none; } }
