/* ============================================================
   v2 club landing — "Elige cómo empezar" offer cards (club with several offers only).
   Template: club/v2/section/offers.html.twig, linked by club/v2/index.html.twig when multi_offer.
   Maquette: Blackweek/"BW26 · Booking con dos productos.html", section #elige (mobile frame:
   padding 40/20/32, cards stacked; desktop frame: 64px band, 2 columns). The maquette's selection
   dot is left out: every card has its own CTA. Mobile first, desktop from UIkit @m (960px).
   Selectors are doubled with the section class where UIkit sets margins/fonts on bare elements
   (h2, h3, p, ul).
   ============================================================ */

.bf-club-offers {
  padding: 40px 0 32px;
  background: var(--bf-c-sand);
  scroll-margin-top: calc(var(--bf-header-h) + var(--bf-promo-h));
}

.bf-club-offers .bf-club-offers__title {
  margin: 0;
  font: 400 38px/.95 var(--bf-font-display);
  text-transform: uppercase;
  color: var(--bf-c-black);
}

.bf-club-offers .bf-club-offers__lead {
  margin: 12px 0 0;
  font: 400 16px/1.55 var(--bf-font-body);
  color: var(--bf-c-ink-idle);
}

.bf-club-offers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 20px;
}

/* ---- Card ---- */

.bf-club-offers__card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  background: var(--bf-c-white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .24);
}

.bf-club-offers .bf-club-offers__eyebrow {
  margin: 0;
  font: 800 12px/1 var(--bf-font-numeric);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bf-c-ink-idle);
}

/* Black Week only: "Black Week en <club>" above the title, in the cards' eyebrow style (12/13px
   Fira, uppercase, grey); 12px to the title on mobile, 16px on desktop (design gaps).
   After the eyebrow rule: same specificity, so its `margin: 0` would win if this came first. */
.bf-club-offers .bf-club-offers__section-eyebrow {
  margin-bottom: 12px;
}

/* VIP card (visitors with the VIP access only): a 2px yellow outline instead of the hairline, and a
   "VIP" badge before the eyebrow — black, yellow text, the eyebrow's font. */
.bf-club-offers__card--vip {
  box-shadow: inset 0 0 0 2px var(--bf-c-yellow);
}

.bf-club-offers__badge {
  display: inline-block;
  margin-right: 6px;
  padding: 3px 6px;
  background: var(--bf-c-black);
  color: var(--bf-c-yellow);
  vertical-align: 1px;
}

/* Name + sessions on the left, price on the right, bottoms aligned; the price drops under the
   name when both do not fit side by side. */
.bf-club-offers__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}

.bf-club-offers__naming {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.bf-club-offers .bf-club-offers__name {
  margin: 0;
  font: 400 40px/.92 var(--bf-font-display);
  text-transform: uppercase;
  color: var(--bf-c-black);
}

.bf-club-offers .bf-club-offers__sessions {
  margin: 0;
  font: 400 15px/1.4 var(--bf-font-body);
  color: var(--bf-c-ink-idle);
}

.bf-club-offers__pricing {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-left: auto;
  text-align: right;
}

.bf-club-offers .bf-club-offers__price {
  margin: 0;
  font: 900 40px/1 var(--bf-font-numeric);
  color: var(--bf-c-black);
  white-space: nowrap;
}

/* Web card with a promo: the full price struck before the promo price, as in the hero. */
.bf-club-offers__old-price {
  font-size: .5em;
  vertical-align: middle;
  opacity: .55;
  text-decoration-thickness: 2px;
}

.bf-club-offers .bf-club-offers__unit {
  margin: 0;
  font: 400 13px/1.3 var(--bf-font-body);
  color: var(--bf-c-ink-idle);
}

/* Items: yellow box on the special cards, a plain list under a hairline on the web card. */
.bf-club-offers__box {
  padding: 16px 18px;
  background: var(--bf-c-yellow);
}

.bf-club-offers__card--web .bf-club-offers__box {
  padding: 16px 0 0;
  background: none;
  border-top: 1px solid var(--bf-c-line-light);
}

.bf-club-offers .bf-club-offers__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bf-club-offers .bf-club-offers__item {
  display: flex;
  gap: 16px;
  margin: 0;
  font: 400 15px/1.4 var(--bf-font-body);
  color: var(--bf-c-black);
}

/* Check mark drawn in CSS, as the maquette (.bf-checklist). */
.bf-club-offers__item::before {
  content: "";
  flex: none;
  width: 12px;
  height: 7px;
  margin-top: 4px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

/* CTA row at the foot of the card, under a hairline, as the booking landing's offer card
   (.bf-booking-offer__footer): the default .bf-btn size, right-aligned. Cards of a row share
   their height: the rows line up. */
.bf-club-offers__foot {
  position: relative;
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--bf-c-line-light);
  cursor: pointer;
}

/* The whole foot row follows the link: the button's ::after covers the row (the button itself
   stays unpositioned, so the foot is the containing block). No JS: a click anywhere in the row is
   a click on the <a>, so the ev-cta-click handler (cta_click, location offers) fires once. */
.bf-club-offers__btn::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Wider and taller than the default .bf-btn, never full width. */
.bf-club-offers .bf-club-offers__btn {
  min-width: 260px;
  padding: 18px 32px;
  font-size: 22px;
}

.bf-club-offers .bf-club-offers__legal {
  margin: 20px 0 0;
  font: 400 13px/1.3 var(--bf-font-body);
  color: var(--bf-c-ink-idle);
}

/* ---- Mobile only ---- */

/* Name and price stay side by side, as the maquette: the head row never wraps, a long name breaks
   on two lines in its column instead. With a promo, the struck price gets its own line above the
   promo price, right-aligned; the price is smaller than the name and the per-session line is the
   short one, on one line, so the price column stays narrow ("BLACK PACK" fits on one line). */
@media (max-width: 959px) {
  .bf-club-offers__head {
    flex-wrap: nowrap;
  }

  .bf-club-offers__naming {
    flex: 1 1 auto;
  }

  .bf-club-offers__pricing {
    flex: 0 1 auto;
  }

  .bf-club-offers .bf-club-offers__price {
    font-size: 32px;
  }

  .bf-club-offers__old-price {
    display: block;
    margin-bottom: 4px;
  }

  .bf-club-offers .bf-club-offers__unit--short {
    white-space: nowrap;
  }
}

/* ---- Desktop ---- */

@media (min-width: 960px) {
  .bf-club-offers {
    padding: 64px 0;
    scroll-margin-top: calc(var(--bf-header-h-desktop) + var(--bf-promo-h));
  }

  .bf-club-offers .bf-club-offers__title {
    font-size: 56px;
    line-height: .94;
  }

  .bf-club-offers .bf-club-offers__section-eyebrow {
    margin-bottom: 16px;
  }

  .bf-club-offers .bf-club-offers__lead {
    max-width: 620px;
    margin-top: 16px;
    font-size: 19px;
    line-height: 1.6;
  }

  /* 2 columns; a 3rd offer or more wraps to the next row. */
  .bf-club-offers__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 32px;
  }

  .bf-club-offers__card {
    gap: 24px;
    padding: 28px;
  }

  .bf-club-offers .bf-club-offers__eyebrow {
    font-size: 13px;
  }

  .bf-club-offers__head {
    gap: 24px;
  }

  .bf-club-offers__naming,
  .bf-club-offers__pricing {
    gap: 6px;
  }

  .bf-club-offers .bf-club-offers__name {
    font-size: clamp(44px, 3.9vw, 56px);
  }

  .bf-club-offers .bf-club-offers__sessions {
    font-size: 16px;
  }

  .bf-club-offers .bf-club-offers__price {
    font-size: clamp(44px, 3.9vw, 56px);
  }

  .bf-club-offers .bf-club-offers__unit {
    font-size: 14px;
  }

  .bf-club-offers__box,
  .bf-club-offers__card--web .bf-club-offers__box {
    padding: 20px 22px;
  }

  .bf-club-offers .bf-club-offers__list {
    gap: 16px;
  }

  .bf-club-offers .bf-club-offers__legal {
    margin-top: 32px;
  }

  .bf-club-offers .bf-club-offers__btn {
    min-width: 400px;
    padding: 22px 40px;
    font-size: 26px;
  }
}

/* ============================================================
   Black Week mode (bf-club-offers--bw, while bw_club.active) — canvas of 2026-11-20,
   WO-Landing-club(-movil) "Elige cómo empezar": white band, black lead, the campaign/VIP card
   featured (bf-club-offers__card--featured: yellow 3px frame, eyebrow in a yellow band, items next
   to the gloves, full-width CTA with the yellow glow), the web card plain with an outline CTA.
   Desktop: two cards share the row 3:2 (bf-club-offers__grid--duo), more cards wrap 1:1.
   Every Black Week CTA turns black with white text on hover.
   ============================================================ */

/* Card body: only a box of its own on the featured card (padding under the yellow band). */
.bf-club-offers__body {
  display: contents;
}

.bf-club-offers--bw {
  padding-top: 36px;
  background: var(--bf-c-white);
}

.bf-club-offers--bw .bf-club-offers__lead {
  color: var(--bf-c-black);
}

.bf-club-offers--bw .bf-club-offers__grid {
  gap: 16px;
}

/* ---- Featured card ---- */

.bf-club-offers--bw .bf-club-offers__card--featured {
  gap: 0;
  padding: 0;
  border: 3px solid var(--bf-c-yellow);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.bf-club-offers--bw .bf-club-offers__card--featured .bf-club-offers__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--bf-c-yellow);
  font-size: 13px;
  line-height: 1.15;
  color: var(--bf-c-black);
}

/* VIP badge + eyebrow side by side: a text too long for the band (narrow phones, the fr date with
   its month) wraps in its own column instead of under the badge. On mobile the letter-spacing is
   tighter than the design's .1em so "VIP · Black Week · Solo hasta el domingo 29" fits on one line
   down to 360px. */
.bf-club-offers--bw .bf-club-offers__card--featured .bf-club-offers__badge {
  flex: none;
  margin-right: 0;
  vertical-align: baseline;
}

@media (max-width: 959px) {
  .bf-club-offers--bw .bf-club-offers__card--featured .bf-club-offers__eyebrow {
    letter-spacing: .06em;
  }
}

.bf-club-offers__card--featured .bf-club-offers__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
}

.bf-club-offers--bw .bf-club-offers__card--featured .bf-club-offers__price {
  font-size: 44px;
}

/* Items on a hairline, the gloves on their right. */
.bf-club-offers--bw .bf-club-offers__card--featured .bf-club-offers__box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 0;
  background: none;
  border-top: 1px solid var(--bf-c-line-light);
}

.bf-club-offers--bw .bf-club-offers__card--featured .bf-club-offers__list {
  flex: 1 1 auto;
}

.bf-club-offers__gloves {
  flex: none;
  display: block;
  width: auto;
  height: 78px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .18));
}

/* ---- Plain cards (web card, any other pack) ---- */

.bf-club-offers--bw .bf-club-offers__card:not(.bf-club-offers__card--featured) {
  align-self: start;
  gap: 16px;
  padding: 18px;
}

.bf-club-offers--bw .bf-club-offers__card--web .bf-club-offers__name,
.bf-club-offers--bw .bf-club-offers__card--web .bf-club-offers__price {
  font-size: 32px;
}

/* ---- Items and CTA (every card) ---- */

.bf-club-offers--bw .bf-club-offers__list {
  gap: 10px;
}

.bf-club-offers--bw .bf-club-offers__item {
  font-size: 15px;
}

/* The CTA takes the card's width; no hairline above it. */
.bf-club-offers--bw .bf-club-offers__foot {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.bf-club-offers.bf-club-offers--bw .bf-club-offers__btn {
  width: 100%;
  min-width: 0;
  padding: 18px 20px;
  font-size: 22px;
}

.bf-club-offers.bf-club-offers--bw .bf-btn--primary.bf-club-offers__btn {
  box-shadow: 4px 6px 25px rgba(255, 204, 0, .8);
}

/* Outline CTA of the web card: white, 2px black frame, 52px high. */
.bf-club-offers.bf-club-offers--bw .bf-club-offers__btn--outline,
.bf-club-offers.bf-club-offers--bw .bf-club-offers__btn--outline:visited,
.bf-club-offers.bf-club-offers--bw .bf-club-offers__btn--outline:hover {
  height: 52px;
  padding: 0 20px;
  background: var(--bf-c-white);
  color: var(--bf-c-black);
  box-shadow: inset 0 0 0 2px var(--bf-c-black);
  text-decoration: none;
}

.bf-club-offers.bf-club-offers--bw .bf-club-offers__btn:focus-visible {
  background: var(--bf-c-black);
  color: var(--bf-c-white);
}

@media (hover: hover) {
  .bf-club-offers.bf-club-offers--bw .bf-club-offers__btn:hover,
  .bf-club-offers.bf-club-offers--bw .bf-club-offers__btn--outline:hover {
    background: var(--bf-c-black);
    color: var(--bf-c-white);
    box-shadow: none;
  }
}

.bf-club-offers--bw .bf-club-offers__legal {
  text-align: center;
}

/* ---- Black Week mode, desktop ---- */

@media (min-width: 960px) {
  .bf-club-offers--bw .bf-club-offers__lead {
    max-width: none;
  }

  .bf-club-offers--bw .bf-club-offers__grid {
    align-items: start;
    gap: 24px;
  }

  .bf-club-offers--bw .bf-club-offers__grid--duo {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .bf-club-offers--bw .bf-club-offers__card--featured .bf-club-offers__eyebrow {
    padding: 10px 24px;
  }

  .bf-club-offers__card--featured .bf-club-offers__body {
    padding: 24px;
  }

  .bf-club-offers--bw .bf-club-offers__head {
    flex-wrap: nowrap;
    gap: 12px;
  }

  .bf-club-offers--bw .bf-club-offers__naming,
  .bf-club-offers--bw .bf-club-offers__pricing {
    gap: 4px;
  }

  .bf-club-offers--bw .bf-club-offers__card--featured .bf-club-offers__price {
    font-size: clamp(44px, 3.9vw, 56px);
  }

  .bf-club-offers--bw .bf-club-offers__unit {
    font-size: 13px;
  }

  .bf-club-offers--bw .bf-club-offers__card:not(.bf-club-offers__card--featured) {
    padding: 24px;
  }

  .bf-club-offers--bw .bf-club-offers__card--web .bf-club-offers__name,
  .bf-club-offers--bw .bf-club-offers__card--web .bf-club-offers__price {
    font-size: clamp(36px, 3.05vw, 44px);
  }

  .bf-club-offers--bw .bf-club-offers__box,
  .bf-club-offers--bw .bf-club-offers__card--web .bf-club-offers__box {
    padding: 16px 0 0;
  }

  .bf-club-offers--bw .bf-club-offers__item {
    font-size: 16px;
  }

  .bf-club-offers__gloves {
    height: 120px;
  }

  .bf-club-offers.bf-club-offers--bw .bf-club-offers__btn {
    padding: 20px;
    font-size: 21px;
  }

  .bf-club-offers.bf-club-offers--bw .bf-club-offers__btn--outline {
    padding: 0 20px;
    font-size: 22px;
  }
}
