/*
 * "[20] spots left" badge, shared by the offer pages and the homepage
 * (markup in /offers/assets/templates/spots-left.php). Each page places it
 * with its own margins: offer.css on the offer pages, style.css on the
 * homepage.
 */
.offer-spots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 22px;
  white-space: nowrap;
  color: #000;
}
.offer-spots-label {
  text-decoration: underline dotted #000 2px;
  text-underline-offset: 5px;
}
/* The words and digits slide when the number changes (spots-left.js). Kept
   on their own layers so the text looks the same before, during and after */
.offer-spots > span:not(.offer-spots-num),
.offer-spots-roll > span {
  will-change: transform;
}
.offer-spots-num {
  font-size: 20px;
  font-weight: 900;
}
/* The black box. The digits slide through it; wide enough for two, so it
   keeps its size when the number goes from 10 to 9 */
.offer-spots-roll {
  position: relative;
  display: block;
  min-width: 38px;
  padding: 0 7px;
  overflow: hidden;
  line-height: 30px;
  text-align: center;
  color: #fff;
  background-color: #000;
  border-radius: 6px;
}
.offer-spots-roll > span {
  display: block;
}
.offer-spots-roll > .out {
  position: absolute;
  top: 0;
  left: 50%;
}
