/* The Black Friday homepage by sport: its own styles, under the store's
   header and footer (the lean shell's, inline in the head). */
.bf {
  background: #fff;
  color: #000;
  font-family: 'ProximaNovaRegular', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.bf a {
  text-decoration: none;
}
.bf a.bf-slice,
.bf a.bf-photo,
.bf a.bf-tile,
.bf a.bf-black,
.bf a.bf-strip {
  color: #fff;
}
.bf a.bf-cut {
  color: #000;
}
.bf a:focus-visible {
  outline: 3px solid #fa4614;
  outline-offset: 3px;
}
.bf img {
  display: block;
}
.bf-sq {
  font-family: 'OGJ_Sequel_75', 'Arial Black', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.01em;
}
.bf-b {
  font-family: 'ProximaNovaSemibold', 'ProximaNovaRegular', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
}
.bf-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding-inline: 40px;
}

/* The first screen: the title, then a door per sport. */
.bf-top {
  background: #000;
  color: #fff;
}
.bf-title {
  margin: 0;
  padding: 18px 0 20px;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(30px, 8.6vw, 124px);
}
.bf-tri {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
}
.bf-slice,
.bf-photo,
.bf-tile {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff;
  background: #111;
}
.bf-slice {
  height: 500px;
}
.bf-slice > img,
.bf-photo > img,
.bf-tile > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bf-slice:hover > img,
.bf-photo:hover > img,
.bf-tile:hover > img {
  transform: scale(1.05);
}
.bf-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 48%);
}
.bf-slice::after,
.bf-photo::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: #fa4614;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bf-slice:hover::after,
.bf-photo:hover::after {
  transform: scaleX(1);
}
.bf-foot {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.bf-foot > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.bf-name {
  font-size: 64px;
}
.bf-go {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.bf a:hover .bf-go {
  background: #fa4614;
  border-color: #fa4614;
  color: #000;
  transform: translateX(6px);
}
.bf-save {
  display: inline-block;
  background: #fa4614;
  color: #000;
  padding: 10px 14px 7px;
  font-size: 18px;
}
.bf-save--s {
  font-size: 14px;
  padding: 7px 10px 5px;
}

/* A shelf per sport: its photo, then its best offers. */
.bf-shelf {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  padding-top: 96px;
}
.bf-photo {
  min-height: 640px;
}
.bf-photo--wake,
.bf-black {
  min-height: 440px;
}
.bf-photo .bf-shade {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 46%);
}
.bf-photo .bf-name {
  font-size: 84px;
}
.bf-photo .bf-foot > span:first-child {
  gap: 10px;
}
.bf-all {
  font-size: 19px;
}
.bf-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 340px 276px;
  gap: 24px;
}
.bf-cut {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f1f1ef;
  color: #000;
}
.bf-cut--lead {
  grid-column: span 2;
}
.bf-cut > img {
  position: absolute;
  right: 4%;
  top: 7%;
  height: 56%;
  width: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bf-cut:hover > img {
  transform: scale(1.05);
}
.bf-txt {
  position: absolute;
  left: 32px;
  top: 28px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
.bf-kind {
  font-size: 18px;
}
.bf-fig {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.bf-fig > span:first-child {
  font-size: 40px;
}
.bf-cut--lead .bf-fig {
  gap: 14px;
}
.bf-cut--lead .bf-fig > span:first-child {
  font-size: 78px;
}
.bf-cut--pct .bf-fig > span:first-child {
  line-height: 0.86;
}
.bf-cut--lead.bf-cut--pct .bf-fig > span:first-child {
  font-size: 112px;
  line-height: 0.82;
}
.bf-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.bf-cut--lead .bf-row {
  gap: 14px;
  font-size: 26px;
}
.bf-cut--lead.bf-cut--pct .bf-row {
  font-size: 24px;
  align-items: baseline;
}
.bf-was {
  color: #595959;
  text-decoration: line-through;
}
.bf-was--s {
  font-size: 0.75em;
}
.bf-black {
  position: relative;
  display: block;
  background: #000;
  color: #fff;
}
.bf-black .bf-txt {
  left: 40px;
  top: 34px;
  bottom: 34px;
}
.bf-black .bf-huge {
  font-size: 168px;
  line-height: 0.82;
}
.bf-black .bf-go {
  position: absolute;
  right: 36px;
  bottom: 36px;
}.bf-strip {
  margin-top: 96px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 36px 26px 40px;
}
.bf-strip > span:first-child {
  font-size: 26px;
}

/* What is new, outside the sale. */
.bf-new {
  padding-block: 120px;
}
.bf-new__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}
.bf-new__head h2 {
  margin: 0;
  /* On one line, and quieter than the sale above it. */
  font-size: clamp(30px, 4.6vw, 66px);
}
.bf-new__head p {
  margin: 0 0 8px;
  max-width: 340px;
  color: #595959;
  font-size: 18px;
}
.bf-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.bf-tile {
  height: 420px;
}
.bf-tile .bf-shade {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
}
.bf-tile__txt {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bf-tile__txt > span:first-child {
  font-size: 38px;
}
.bf-tile__txt > span:last-child {
  color: #e6e6e6;
}

@media (prefers-reduced-motion: reduce) {
  .bf * {
    transition: none !important;
  }
}

@media (max-width: 1100px) {
  .bf-shelf {
    grid-template-columns: minmax(0, 1fr);
  }
  .bf-photo,
  .bf-photo--wake {
    min-height: 420px;
  }
}

@media (max-width: 760px) {
  .bf-wrap {
    padding-inline: 16px;
  }
  .bf-title {
    padding: 12px 0 14px;
  }
  .bf-tri {
    grid-template-columns: minmax(0, 1fr);
  }
  .bf-slice {
    height: 26vh;
    min-height: 170px;
    max-height: 220px;
  }
  .bf-foot {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .bf-foot > span:first-child {
    gap: 8px;
  }
  .bf-name {
    font-size: 40px;
  }
  .bf-save {
    font-size: 14px;
    padding: 7px 10px 5px;
  }
  .bf-go {
    width: 44px;
    height: 44px;
  }
  .bf-go svg {
    width: 20px;
    height: 20px;
  }
  .bf-shelf {
    gap: 12px;
    padding-top: 56px;
  }
  .bf-photo,
  .bf-photo--wake {
    min-height: 300px;
  }
  .bf-photo .bf-name {
    font-size: 52px;
  }
  .bf-all {
    font-size: 17px;
  }
  .bf-offers {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-rows: 200px;
    gap: 12px;
  }
  .bf-cut--lead {
    grid-column: auto;
    grid-row: span 1;
  }
  .bf-offers > .bf-cut.bf-cut--lead {
    min-height: 330px;
    grid-row: auto;
  }
  .bf-cut--lead > img,
  .bf-cut--lead.bf-cut--two > img:first-of-type,
  .bf-cut--lead.bf-cut--two > img:last-of-type {
    top: 6% !important;
    height: 52% !important;
    max-width: none;
  }
  .bf-cut--lead.bf-cut--two > img:first-of-type {
    right: 26% !important;
  }
  .bf-cut--lead.bf-cut--two > img:last-of-type {
    right: -3% !important;
  }
  .bf-cut--lead.bf-cut--pct > img {
    right: 0 !important;
  }
  .bf-cut--lead .bf-kind {
    max-width: 27vw;
  }
  /* A small card's picture stays above its price row, clear of the saving. */
  .bf-offers > .bf-cut:not(.bf-cut--lead) > img {
    top: 8%;
    height: 56%;
  }
  .bf-offers {
    grid-auto-rows: auto;
  }
  .bf-offers > .bf-cut {
    min-height: 190px;
  }
  .bf-txt {
    left: 18px;
    top: 16px;
    bottom: 16px;
  }
  .bf-kind {
    font-size: 16px;
    max-width: 52vw;
  }
  .bf-cut > img {
    right: 2%;
    top: 14%;
    height: 72%;
    max-width: 42%;
  }
  .bf-cut--two > img:first-of-type {
    right: 24%;
    max-width: 34%;
  }
  .bf-cut--two > img:last-of-type {
    right: -2%;
    max-width: 30%;
  }
  .bf-fig > span:first-child {
    font-size: 34px;
  }
  .bf-cut--lead .bf-fig > span:first-child {
    font-size: 46px;
  }
  .bf-cut--lead.bf-cut--pct .bf-fig > span:first-child {
    font-size: 64px;
  }
  .bf-row,
  .bf-cut--lead .bf-row,
  .bf-cut--lead.bf-cut--pct .bf-row {
    font-size: 17px;
    gap: 10px;
  }
  .bf-cut--lead .bf-save {
    font-size: 14px;
  }
  .bf-black {
    min-height: 260px;
  }
  .bf-black .bf-txt {
    left: 18px;
    top: 18px;
    bottom: 18px;
  }
  .bf-black .bf-huge {
    font-size: 21vw;
  }
  .bf-black .bf-go {
    right: 16px;
    bottom: 16px;
  }
  .bf-strip {
    margin-top: 56px;
    padding: 18px 16px 18px 18px;
  }
  .bf-strip > span:first-child {
    font-size: 17px;
    line-height: 1.05;
  }
  .bf-new {
    padding-block: 64px;
  }
  .bf-new__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
  .bf-two {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .bf-tile {
    height: 260px;
  }
  .bf-tile__txt {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .bf-tile__txt > span:first-child {
    font-size: 26px;
  }
}

/* ── Offers come and go with the store ──────────────────────────────── */

/* A part with nothing to say is not drawn. */
.bf [hidden] {
  display: none !important;
}
/* A published page shows no figure until the store has said it. */
.bf-live:not(.bf-ready) .bf :is([data-fig], [data-planned]) {
  visibility: hidden;
}
/* The rest of the store, wakeboards first: three photos, like the sports
   above, so a rider looking for theirs finds a picture of it. */
@media (min-width: 761px) {
  .bf-two--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bf-two--three .bf-tile__txt > span:first-child {
    font-size: 30px;
  }
}
/* The wake foil photo opens nothing. */
.bf-photo--still::after {
  content: none;
}
.bf-photo--still:hover > img {
  transform: none;
}

@media (min-width: 761px) {
  /* Fewer sports: the slices share the row. */
  .bf-tri:has(> .bf-slice:first-child:nth-last-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bf-tri:has(> .bf-slice:only-child) {
    grid-template-columns: minmax(0, 1fr);
  }
  /* Fewer offers on a shelf: the ones left fill it. */
  .bf-offers {
    grid-template-rows: none;
    grid-auto-rows: minmax(276px, auto);
  }
  .bf-cut--lead {
    min-height: 340px;
  }
  .bf-offers > .bf-cut:only-child,
  .bf-offers > .bf-cut:nth-child(2):last-child {
    grid-column: span 2;
  }
}
/* On a tablet, three photos side by side are too thin for their riders and
   their names: each takes the width. */
@media (min-width: 761px) and (max-width: 1100px) {
  .bf-tri,
  .bf-two--three {
    grid-template-columns: minmax(0, 1fr);
  }
  .bf-slice,
  .bf-tile {
    height: 340px;
  }
}
