/* MIDASS MARKET — Portada Black November (09-29 nov 2026). Solo se carga en la portada durante la campaña. */
@font-face{font-family:'Archivo';font-style:italic;font-weight:800 900;font-stretch:100%;font-display:swap;src:url(../fonts/archivo-italic-latin.woff2) format('woff2');}
@font-face{font-family:'Archivo';font-style:normal;font-weight:700 900;font-stretch:100%;font-display:swap;src:url(../fonts/archivo-latin.woff2) format('woff2');}

:root {
  --bn-amarillo: #FFC20E;
  --bn-amarillo-2: #E8A900;
  --bn-negro: #0A0A0B;
  --bn-rojo: #D0121A;
  --bn-titular: 'Archivo', 'Poppins', system-ui, sans-serif;
  --bn-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

.bn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.bn-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--bn-negro) url(../img/black-november/hero-fondo.webp) center bottom / cover no-repeat;
}
.bn-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "copy stage" "actions stage";
  column-gap: var(--sp-5);
  min-height: clamp(590px, 46vw, 720px);
  padding-top: clamp(28px, 3.4vw, 52px);
  padding-bottom: clamp(24px, 2.6vw, 40px);
}
.bn-hero-copy { grid-area: copy; position: relative; z-index: 2; }
.bn-hero-actions { grid-area: actions; position: relative; z-index: 2; align-self: start; }

.bn-chip {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid var(--bn-amarillo);
  border-radius: 999px;
  color: var(--bn-amarillo);
  font: 800 clamp(13px, 1.25vw, 17px)/1.15 var(--f-head);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.bn-title {
  margin: clamp(12px, 1.4vw, 20px) 0 clamp(12px, 1.3vw, 20px);
  color: #fff;
  font: italic 900 clamp(64px, 8.5vw, 132px)/.86 var(--bn-titular);
  letter-spacing: -.028em;
  text-transform: uppercase;
}
.bn-title span, .bn-title em { display: block; font-style: italic; }
.bn-title em { color: var(--bn-amarillo); }
.bn-lead { margin: 0; color: #C9C9CC; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.45; }
.bn-lead strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font: 700 clamp(19px, 2vw, 29px)/1.2 var(--bn-titular);
  letter-spacing: -.012em;
}

.bn-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 26px; margin-top: clamp(16px, 1.8vw, 26px); }
.bn-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 10px;
  background: var(--bn-amarillo);
  color: var(--bn-negro);
  font: 700 16px/1.1 var(--f-head);
  text-decoration: none;
  transition: transform 160ms var(--bn-ease-out), background-color 160ms ease;
}
.bn-btn:active { transform: scale(.97); }
.bn-btn--negro { background: var(--bn-negro); color: #fff; }
.bn-btn-link {
  color: #fff;
  font: 600 15px/1.2 var(--f-head);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}
@media (hover: hover) and (pointer: fine) {
  .bn-btn:hover { background: var(--bn-amarillo-2); }
  .bn-btn--negro:hover { background: #2a2a2d; }
  .bn-btn-link:hover { color: var(--bn-amarillo); }
}

/* Indicador de desplazamiento + flechas */
.bn-nav { display: flex; align-items: center; gap: 18px; margin-top: clamp(16px, 1.7vw, 24px); max-width: 410px; }
.bn-segs { display: flex; flex: 1; gap: 6px; }
.bn-seg { flex: 1; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.bn-seg i {
  position: relative;
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, .22);
}
.bn-seg i::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2px;
  background: var(--bn-amarillo);
  transform: scaleX(0);
  transform-origin: left;
}
.bn-seg.is-hecho i::after { transform: scaleX(1); opacity: .45; }
.bn-seg.is-on i::after { transform: scaleX(1); }
.bn-hero.bn-auto .bn-seg.is-on i::after { animation: bn-avance var(--bn-pausa, 5600ms) linear forwards; }
.bn-hero.bn-parado .bn-seg.is-on i::after { animation-play-state: paused; }
@keyframes bn-avance { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.bn-flechas { display: flex; gap: 8px; }
.bn-flecha {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  background: rgba(10, 10, 11, .4);
  color: #fff;
  cursor: pointer;
  transition: transform 160ms var(--bn-ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.bn-flecha:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .bn-flecha:hover { background: var(--bn-amarillo); border-color: var(--bn-amarillo); color: var(--bn-negro); }
}
.bn-hero :focus-visible { outline: 2px solid var(--bn-amarillo); outline-offset: 3px; }

/* Escenario: el artículo y el recuadro; el fondo no se mueve */
.bn-stage { grid-area: stage; position: relative; z-index: 1; min-height: 100%; touch-action: pan-y; container-type: inline-size; }
.bn-prod {
  position: absolute;
  right: 21%;
  bottom: -2px;
  display: block;
  height: 100%;
  aspect-ratio: 730 / 1100;
  visibility: hidden;
  -webkit-tap-highlight-color: transparent;
}
.bn-prod.is-on, .bn-prod.is-sale { visibility: visible; }
.bn-prod img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 0 22px rgba(255, 70, 50, .17));
  transform-origin: 50% 100%;
  will-change: transform;
}
/* Lo que acompaña al patinete en un pack (casco y chaleco): en el suelo, a la derecha de la rueda delantera, sin
   taparlo (Sergio, 11-11). Para que quepa grande, el patinete del pack se corre a la izquierda (cqw = ancho del escenario). */
.bn-prod--equipo { right: 36%; }
.bn-prod img.bn-prod-equipo {
  position: absolute;
  left: 99%;
  bottom: 0;
  width: 28cqw;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55));
}
.bn-prod-sombra {
  position: absolute;
  left: 3%;
  right: -3%;
  bottom: 0.5%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .92), rgba(0, 0, 0, .55) 55%, transparent);
  filter: blur(7px);
  transform: rotate(-3.5deg);
}

.bn-box {
  position: absolute;
  top: 28%;
  right: 0;
  z-index: 3;
  display: grid;
  width: clamp(150px, 15vw, 196px);
  padding: 16px 18px 15px;
  border: 1.5px solid rgba(255, 255, 255, .42);
  border-radius: 14px;
  background: rgba(14, 12, 12, .62);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  overflow: hidden;
}
.bn-box-item {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  color: #fff;
  text-decoration: none;
  visibility: hidden;
}
.bn-box-item.is-on, .bn-box-item.is-sale { visibility: visible; }
.bn-box-item > * { display: block; will-change: transform; }
.bn-box-nombre { font: 700 clamp(17px, 1.6vw, 22px)/1.15 var(--bn-titular); letter-spacing: -.01em; }
.bn-box-precio { margin-top: 3px; font: 800 clamp(31px, 3.1vw, 43px)/1.08 var(--bn-titular); letter-spacing: -.025em; white-space: nowrap; }
.bn-box-rebaja { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; }
.bn-box-antes { color: #BDBDC1; font: 500 14px/1.3 var(--f-body); }
.bn-box-ahorro { padding: 2px 8px; border-radius: 999px; background: var(--bn-amarillo); color: var(--bn-negro); font: 700 12px/1.35 var(--f-head); white-space: nowrap; }
.bn-box-ver { display: flex !important; align-items: center; gap: 7px; margin-top: 9px; color: var(--bn-amarillo); font: 600 14px/1.2 var(--f-head); }
.bn-box-ver svg { width: 15px; height: 15px; }

/* Franja amarilla */
.bn-franja { display: block; background: var(--bn-amarillo); color: var(--bn-negro); text-decoration: none; }
.bn-franja-in { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: 56px; }
.bn-franja-marca { font: italic 900 clamp(20px, 2.3vw, 30px)/1 var(--bn-titular); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; }
.bn-franja-txt, .bn-franja-fin { position: relative; padding-left: var(--sp-5); font: 500 clamp(14px, 1.3vw, 18px)/1.2 var(--f-head); white-space: nowrap; }
.bn-franja-txt strong { font-weight: 800; }
.bn-franja-txt::before, .bn-franja-fin::before { content: ''; position: absolute; left: 0; top: 50%; height: 28px; width: 1.5px; margin-top: -14px; background: var(--bn-negro); }
.bn-franja-fin { display: inline-flex; align-items: center; gap: 8px; }

/* ── Selección ───────────────────────────────────────────────────────── */
.bn-sel { padding: clamp(36px, 4vw, 56px) 0 clamp(28px, 3vw, 40px); background: #fff; scroll-margin-top: 90px; }
.bn-sel-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px var(--sp-5); }
.bn-eyebrow { display: block; color: var(--bn-rojo); font: 700 14px/1.2 var(--f-head); letter-spacing: .01em; text-transform: uppercase; }
.bn-eyebrow--am { color: var(--bn-amarillo); }
.bn-h2 { margin: 6px 0 0; color: var(--bn-negro); font: 800 clamp(32px, 4vw, 52px)/1.05 var(--bn-titular); letter-spacing: -.028em; }
.bn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1.5px solid currentColor;
  color: var(--bn-rojo);
  font: 600 15px/1.2 var(--f-head);
  text-decoration: none;
}
.bn-link--am { color: var(--bn-amarillo); }
.bn-link svg { flex: none; transition: transform 200ms var(--bn-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .bn-link:hover svg, a:hover > .bn-duo-txt .bn-link svg { transform: translateX(4px); }
}

.bn-pills { display: flex; gap: 8px; margin: clamp(16px, 2vw, 24px) 0; overflow-x: auto; scrollbar-width: none; }
.bn-pills::-webkit-scrollbar { display: none; }
.bn-pill {
  flex: none;
  min-height: 40px;
  padding: 8px 18px;
  border: 0;
  border-radius: 10px;
  background: #F1F1F2;
  color: #3D3D3D;
  font: 600 15px/1.2 var(--f-body);
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--bn-ease-out);
}
.bn-pill:active { transform: scale(.97); }
.bn-pill.is-on { background: var(--bn-negro); color: #fff; }
@media (hover: hover) and (pointer: fine) { .bn-pill:not(.is-on):hover { background: #E4E4E6; } }

.bn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.bn-card { min-width: 0; border: 1px solid #E8E8EA; border-radius: 14px; background: #fff; transition: box-shadow 200ms ease, border-color 200ms ease; }
.bn-card[hidden] { display: none; }
.bn-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.bn-card-media { position: relative; aspect-ratio: 1 / 1.1; padding: 42px 12px 8px; overflow: hidden; border-radius: 14px 14px 0 0; background: #fff; }
.bn-card-media img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 300ms var(--bn-ease-out); }
.bn-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  border-radius: 6px;
  background: var(--bn-rojo);
  color: #fff;
  font: 600 12px/1.25 var(--f-body);
}
.bn-card-fav {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  color: var(--bn-negro);
  cursor: pointer;
  transition: transform 160ms var(--bn-ease-out);
}
.bn-card-fav:active { transform: scale(.88); }
.bn-card-fav.is-fav { color: var(--bn-rojo); }
.bn-card-fav.is-fav svg { fill: currentColor; }
.bn-card-body { display: flex; flex: 1; flex-direction: column; padding: 2px 16px 16px; }
.bn-card-marca { color: #6B7280; font: 500 12px/1.3 var(--f-body); text-transform: uppercase; letter-spacing: .02em; }
.bn-card-nombre { margin: 2px 0 8px; color: var(--bn-negro); font: 700 clamp(16px, 1.45vw, 20px)/1.18 var(--bn-titular); letter-spacing: -.012em; }
.bn-card-precio { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: auto; }
.bn-card-precio strong { color: var(--bn-negro); font: 800 clamp(23px, 2.1vw, 29px)/1.1 var(--bn-titular); letter-spacing: -.025em; white-space: nowrap; }
.bn-card-precio s { color: #6B7280; font: 500 14px/1 var(--f-body); }
.bn-card-iva { margin: 3px 0 14px; color: #6B7280; font: 400 13px/1.3 var(--f-body); }
.bn-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1.5px solid var(--bn-negro);
  border-radius: 8px;
  color: var(--bn-negro);
  font: 600 14px/1.2 var(--f-head);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--bn-ease-out);
}
.bn-card-link:active .bn-card-cta { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .bn-card:hover { border-color: #D2D2D6; box-shadow: 0 8px 24px rgba(16, 24, 40, .09); }
  .bn-card:hover .bn-card-media img { transform: scale(1.025); }
  .bn-card:hover .bn-card-cta { background: var(--bn-negro); color: #fff; }
}

.bn-ventajas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(24px, 2.8vw, 36px) 0 0;
  padding: 18px 0;
  list-style: none;
  border-top: 1px solid #E8E8EA;
  border-bottom: 1px solid #E8E8EA;
}
.bn-ventajas li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  color: var(--bn-negro);
  font: 500 clamp(13px, 1.15vw, 15px)/1.25 var(--f-body);
  text-align: center;
}
.bn-ventajas li + li { border-left: 1px solid #E8E8EA; }
.bn-ventajas svg { width: 32px; height: 32px; }

/* ── Taller + accesorios ─────────────────────────────────────────────── */
.bn-duo { padding: clamp(28px, 3.4vw, 48px) 0; background: #fff; }
.bn-duo-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: var(--sp-4); }
.bn-duo-taller, .bn-duo-equipo { position: relative; display: block; min-height: 236px; overflow: hidden; border-radius: 16px; text-decoration: none; }
.bn-duo-taller { background: radial-gradient(70% 120% at 82% 42%, #6d0c10 0%, #260809 55%, var(--bn-negro) 100%); color: #fff; }
.bn-duo-equipo { background: #F3F3F4; color: var(--bn-negro); }
.bn-duo-txt { position: relative; z-index: 2; max-width: 56%; padding: clamp(20px, 2.4vw, 32px); }
.bn-duo-promos { margin: -4px 0 14px; padding: 0; list-style: none; display: grid; gap: 4px; font: 500 15px/1.35 var(--f-body); }
.bn-duo-promos strong { display: inline-block; min-width: 52px; padding: 1px 7px; margin-right: 6px; border-radius: 999px; background: var(--bn-amarillo); color: var(--bn-negro); font: 700 13px/1.4 var(--f-head); text-align: center; }
.bn-duo-h { margin: 8px 0 14px; color: inherit; font: 800 clamp(25px, 2.75vw, 37px)/1.08 var(--bn-titular); letter-spacing: -.024em; }
.bn-duo-taller img { position: absolute; top: -50%; right: -4%; height: 150%; width: auto; max-width: none; transition: transform 400ms var(--bn-ease-out); }
.bn-duo-casco { position: absolute; right: -3%; top: 10%; width: 48%; height: auto; transition: transform 400ms var(--bn-ease-out); }
.bn-duo-candado { position: absolute; left: 40%; bottom: 3%; width: 22%; height: auto; transition: transform 400ms var(--bn-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .bn-duo-taller:hover img { transform: translateY(-5px); }
  .bn-duo-equipo:hover .bn-duo-casco { transform: translateY(-5px); }
}

/* ── Te esperamos ────────────────────────────────────────────────────── */
.bn-visita { padding: clamp(24px, 2.6vw, 36px) 0; background: #fff; border-top: 1px solid var(--c-line); }
.bn-visita-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4) var(--sp-5); }
.bn-visita-h { margin: 0; color: var(--bn-negro); font: 800 clamp(23px, 2.7vw, 35px)/1.1 var(--bn-titular); letter-spacing: -.024em; }
.bn-visita p { margin: 5px 0 0; color: #6B7280; font-size: 16px; }

.bn-visita + .footer { margin-top: 0; }

/* ── Tablet / móvil ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bn-prod { right: 19%; }
  .bn-prod--equipo { right: 38%; }
  .bn-prod img.bn-prod-equipo { width: 34cqw; }
}
@media (max-width: 700px) {
  .bn-hero { background-image: none; }
  .bn-stage::before {
    content: '';
    position: absolute;
    inset: -9% calc(var(--sp-5) * -1) -7%;
    z-index: -1;
    background: url(../img/black-november/hero-fondo-1100.webp) 76% 100% / auto 100% no-repeat;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 92%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 92%, transparent);
  }
  .bn-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "copy" "stage" "actions";
    min-height: 0;
    padding-top: 22px;
    padding-bottom: 20px;
  }
  .bn-title { font-size: min(14vw, 118px); }
  .bn-lead strong { font-size: clamp(19px, 5.2vw, 26px); }
  .bn-stage { height: min(92vw, 560px); min-height: 0; margin-top: 14px; }
  .bn-prod, .bn-prod--equipo { right: auto; left: 2%; }
  .bn-prod img.bn-prod-equipo { width: min(50%, calc(97cqw + 12px - min(61vw, 371px))); } /* lo que queda tras el patinete (alto min(92vw, 560px) × 730/1100) */
  .bn-box { top: 11%; width: clamp(138px, 39vw, 196px); padding: 13px 14px; }
  .bn-box-precio { font-size: clamp(29px, 8.4vw, 40px); }
  .bn-box-nombre { font-size: clamp(16px, 4.6vw, 21px); }
  .bn-cta { gap: 12px 18px; margin-top: 22px; }
  .bn-btn { flex: none; padding-inline: 22px; }
  .bn-btn-link { font-size: 14px; }
  .bn-nav { max-width: none; margin-top: 12px; }
  .bn-franja-in { min-height: 50px; gap: 12px; }
  .bn-franja-txt { display: none; }
  .bn-franja-fin { padding-left: 12px; font-size: 14px; }
  .bn-solo-ancho { display: none; }
  .bn-franja-fin svg { width: 15px; height: 15px; }
  .bn-franja-marca { font-size: clamp(18px, 5.2vw, 26px); }
  .bn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bn-card-body { padding: 0 12px 12px; }
  .bn-duo-grid { grid-template-columns: minmax(0, 1fr); }
  .bn-duo-taller, .bn-duo-equipo { min-height: 216px; }
}
@media (max-width: 560px) {
  .bn-ventajas { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
  .bn-ventajas li:nth-child(3) { border-left: 0; }
  .bn-card-cta { min-height: 40px; font-size: 13px; }
  .bn-card-iva { margin-bottom: 10px; }
  .bn-card-badge { top: 9px; left: 9px; padding: 3px 8px; font-size: 11px; }
  .bn-card-media { padding-top: 40px; }
  .bn-duo-txt { max-width: 62%; }
  .bn-duo-taller .bn-link { white-space: nowrap; }
  .bn-duo-taller img { top: -14%; right: -20%; height: 114%; }
  .bn-duo-candado { left: auto; right: 44%; bottom: 4%; width: 25%; }
  .bn-duo-casco { width: 52%; top: 14%; }
}

@media (max-width: 360px) {
  .bn-franja-in { gap: 8px; }
  .bn-franja-marca { font-size: 16px; }
  .bn-franja-fin { padding-left: 10px; font-size: 13px; }
  .bn-franja-fin svg { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bn-hero.bn-auto .bn-seg.is-on i::after { animation: none; }
  .bn-btn, .bn-flecha, .bn-pill, .bn-card-media img, .bn-link svg, .bn-card-cta,
  .bn-duo-taller img, .bn-duo-casco, .bn-duo-candado { transition-duration: 0.01ms; }
}
