/*
 * v43 — homepage hero bottom fade.
 * On wide or zoomed-out viewports the skater is height-clipped and looks like
 * he is floating / cut off at the bottom edge. Fade the image into the dark
 * background (bottom ~35%), with a soft side fade where the image edge can show.
 * Loaded after v41.css. Do not edit v40/v41.
 */

@media (min-width: 641px) {
  .hero.hero--skater .hero__bg::after {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(
        to top,
        #000 0%,
        rgba(0, 0, 0, 0.9) 8%,
        rgba(0, 0, 0, 0.55) 18%,
        rgba(0, 0, 0, 0.22) 28%,
        transparent 36%
      ),
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.35) 0%,
        transparent 14%,
        transparent 86%,
        rgba(0, 0, 0, 0.25) 100%
      );
  }
}

/* A slightly deeper bottom fade when the hero is short relative to the viewport. */
@media (min-width: 1800px) {
  .hero.hero--skater .hero__bg::after {
    background:
      linear-gradient(
        to top,
        #000 0%,
        rgba(0, 0, 0, 0.94) 10%,
        rgba(0, 0, 0, 0.62) 20%,
        rgba(0, 0, 0, 0.28) 30%,
        transparent 40%
      ),
      linear-gradient(
        to right,
        rgba(0, 0, 0, 0.4) 0%,
        transparent 16%,
        transparent 84%,
        rgba(0, 0, 0, 0.3) 100%
      );
  }
}

/* Low-stock countdown under size / variant buttons ("Only two left" / "Only one left"). */
.opt__v a.has-low{flex-direction:column;gap:2px;line-height:1.1;padding-top:6px;padding-bottom:6px}
.opt__v .lowstk{display:block;font-size:10.5px;font-weight:600;letter-spacing:.01em;color:#d0102b;white-space:nowrap}
.opt__v a[aria-current="true"] .lowstk{color:#ffb8c2}

/* Sold-out size chips: gray button with a "See alternatives" link that opens the alternatives popup. */
.opt__v a.soldx{flex-direction:column;gap:2px;line-height:1.1;padding-top:6px;padding-bottom:6px;background:#eceef1;border-color:#d5d9df;color:#8a9099}
.opt__v a.soldx[aria-current="true"]{background:#b9bec6;border-color:#b9bec6;color:#fff}
.opt__v .altlnk{display:block;font-size:10.5px;font-weight:600;color:#d0102b;text-decoration:underline;white-space:nowrap}
.opt__v a.soldx[aria-current="true"] .altlnk{color:#fff}
