/* ============================================================================
   BLACK JUVIA 2026 (22/11 00:00 al 1/12 00:00). Ver static/js/black.js.
   Todo cuelga de html.bk-on (lo pone layout.tpl por fecha o con ?blackprueba=1) y de
   body:not(.empuje-mayorista): la mayorista no ve nada del Black.
   Negro Juvia #211f1c con letra Isabelline #f4efe9 = Black · rojo #d7261e = Gangas.
   Medidas del banner en vw: el banner va a todo el ancho, así que 1vw = 1% del banner
   (en el mockup eran cqw).
   El CSS del tema carga después que el nuestro: por eso va con !important.
   ============================================================================ */

/* ---------- Barra negra arriba de todo (mismo lugar y mismas medidas que la del Cyber) ---------- */
.bk-barra { display: none !important; }
html.bk-on body:not(.empuje-mayorista) .bk-barra {
  display: flex !important; justify-content: center; align-items: center; gap: 9px;
  position: fixed; top: 0; left: 0; right: 0; height: 30px; z-index: 2147483647;
  background: #211f1c !important; color: #f4efe9 !important; text-decoration: none !important;
  font: 300 10.5px/1 'Jost', 'Inter', Arial, sans-serif !important; letter-spacing: .32em; text-transform: uppercase;
  padding: 0 12px !important; white-space: nowrap; overflow: hidden;
}
html.bk-on body:not(.empuje-mayorista) .bk-barra .bk-barra-b { font-weight: 500; }
html.bk-on body:not(.empuje-mayorista) .bk-barra .bk-barra-lg { display: block; line-height: 0; margin: 0 2px 0 -4px; }
html.bk-on body:not(.empuje-mayorista) .bk-barra .bk-barra-lg svg { display: block; width: 40px; height: auto; fill: #f4efe9; margin-top: -1px; }
html.bk-on body:not(.empuje-mayorista) .bk-barra .bk-sep { opacity: .6; }
html.bk-on body:not(.empuje-mayorista) .bk-barra b { font: 400 10.5px/1 'DM Mono', ui-monospace, Menlo, monospace; letter-spacing: .12em; }
html.bk-on body:not(.empuje-mayorista) .bk-barra i { font-style: normal; opacity: .65; letter-spacing: .14em; }
@media (min-width: 769px) {
  html.bk-on body:not(.empuje-mayorista) .bk-barra { font-size: 11px; }
  html.bk-on body:not(.empuje-mayorista) .bk-barra .bk-barra-lg svg { width: 46px; }
}
html.bk-on body:not(.empuje-mayorista) .empuje-home-usp { transform: translateY(30px); }
html.bk-on body.empuje-has-usp:not(.empuje-mayorista) { padding-top: 64px !important; }
html.bk-on body.empuje-has-usp:not(.empuje-mayorista) .js-head-main,
html.bk-on body.empuje-has-usp:not(.empuje-mayorista) .head-main,
html.bk-on body.empuje-has-usp:not(.empuje-mayorista) header { top: 64px !important; }
@media (max-width: 768px) {
  html.bk-on body.empuje-has-usp:not(.empuje-mayorista) { padding-top: 62px !important; }
  html.bk-on body.empuje-has-usp:not(.empuje-mayorista) .js-head-main,
  html.bk-on body.empuje-has-usp:not(.empuje-mayorista) .head-main,
  html.bk-on body.empuje-has-usp:not(.empuje-mayorista) header { top: 62px !important; }
}
html.bk-on body.empuje-menu-abierto .bk-barra,
html.bk-on body[data-empuje-menu-open] .bk-barra { visibility: hidden; }
html.bk-on body.empuje-menu-abierto .empuje-home-usp,
html.bk-on body[data-empuje-menu-open] .empuje-home-usp { transform: none; }
html body.p-popup-open .bk-barra { z-index: 2147482000 !important; }

/* ---------- Tarjetas y ficha ---------- */
.bk-precio, .bk-ficha { display: none !important; }
html.bk-on body:not(.empuje-mayorista) .bk-precio,
html.bk-on body:not(.empuje-mayorista) .bk-ficha {
  display: flex !important; flex-direction: column; align-items: flex-start; gap: 3px;
  font-family: 'Inter', Arial, sans-serif; font-variant-numeric: tabular-nums; margin: 6px 0 2px;
}
html.bk-on body:not(.empuje-mayorista) .bk-fechas { font-size: 11px; color: #8c8889; letter-spacing: .02em; }
html.bk-on body:not(.empuje-mayorista) .bk-antes { font-size: 13px; color: #8c8889; text-decoration: line-through; }
html.bk-on body:not(.empuje-mayorista) .bk-caja {
  display: inline-flex; align-items: baseline; gap: 7px; padding: 2px 7px 3px; white-space: nowrap;
  background: #211f1c; color: #f4efe9;
}
html.bk-on body:not(.empuje-mayorista) .bk-ga .bk-caja { background: #d7261e; color: #fff; }
html.bk-on body:not(.empuje-mayorista) .bk-caja span { font-size: 12px; font-weight: 700; }
html.bk-on body:not(.empuje-mayorista) .bk-caja b { font-size: 16px; font-weight: 800; }
html.bk-on body:not(.empuje-mayorista) .bk-transf { font-size: 12px; font-weight: 600; color: #1b1b1b; }
html.bk-on body:not(.empuje-mayorista) .bk-otros { font-size: 12px; color: #4a4845; }
html.bk-on body:not(.empuje-mayorista) .bk-ficha { margin: 10px 0 12px; gap: 4px; }
html.bk-on body:not(.empuje-mayorista) .bk-ficha .bk-fechas { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
html.bk-on body:not(.empuje-mayorista) .bk-ficha .bk-caja b { font-size: 22px; }
html.bk-on body:not(.empuje-mayorista) .bk-ficha .bk-caja span { font-size: 14px; }

/* En las tarjetas con precio Black o Gangas se esconden las líneas de siempre y el % de TN. */
html.bk-on body:not(.empuje-mayorista) .js-item-product.bk-card .item-price-container,
html.bk-on body:not(.empuje-mayorista) .js-item-product.bk-card .js-item-price-container,
html.bk-on body:not(.empuje-mayorista) .js-item-product.bk-card .empuje-card-installments,
html.bk-on body:not(.empuje-mayorista) .js-item-product.bk-card .empuje-card-transfer,
html.bk-on body:not(.empuje-mayorista) .js-item-product.bk-card [class*="payment-discount-price-product-container"],
html.bk-on body:not(.empuje-mayorista) .js-item-product.bk-card .js-offer-label,
html.bk-on body:not(.empuje-mayorista) #single-product.bk-card .js-offer-label,
html.bk-on body:not(.empuje-mayorista) #single-product.bk-card .empuje-pdp-transfer,
html.bk-on body:not(.empuje-mayorista) #single-product.bk-card .js-price-container,
html.bk-on body:not(.empuje-mayorista) .js-item-product.bk-card.empuje-engine-card .item-price {
  display: none !important;
}

/* ---------- Inicio: banner en lugar del carrusel ---------- */
.bk-inicio, .bk-home-precios { display: none !important; }
html.bk-on body:not(.empuje-mayorista) .bk-inicio,
html.bk-on body:not(.empuje-mayorista) .bk-home-precios { display: block !important; }
html.bk-on body:not(.empuje-mayorista) .js-home-slider,
html.bk-on body:not(.empuje-mayorista) .js-home-slider-mobile,
html.bk-on body:not(.empuje-mayorista) .empuje-portada-cta { display: none !important; }

html.bk-on body:not(.empuje-mayorista) .bk-hero { position: relative; overflow: hidden; margin: 0; color: #fff; background: #222; }
html.bk-on body:not(.empuje-mayorista) .bk-hero * { box-sizing: border-box; }
html.bk-on body:not(.empuje-mayorista) .bk-hero .bk-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
html.bk-on body:not(.empuje-mayorista) .bk-hero .bk-vel { position: absolute; inset: 0; }
html.bk-on body:not(.empuje-mayorista) .bk-st { position: absolute; display: flex; flex-direction: column; }
html.bk-on body:not(.empuje-mayorista) .bk-fe { font-family: 'DM Mono', ui-monospace, Menlo, monospace; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; }
html.bk-on body:not(.empuje-mayorista) .bk-n { display: flex; align-items: center; white-space: nowrap; }
html.bk-on body:not(.empuje-mayorista) .bk-n-b { font-family: 'Jost', 'Inter', Arial, sans-serif; font-weight: 500; letter-spacing: .36em; line-height: 1; text-transform: uppercase; }
html.bk-on body:not(.empuje-mayorista) .bk-n-lg { display: block; line-height: 0; }
html.bk-on body:not(.empuje-mayorista) .bk-n-lg svg { display: block; fill: currentColor; height: auto; }
html.bk-on body:not(.empuje-mayorista) .bk-n-lg svg path { stroke: currentColor; stroke-width: 7; stroke-linejoin: round; }
html.bk-on body:not(.empuje-mayorista) .bk-of { font-family: 'Jost', 'Inter', Arial, sans-serif; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
html.bk-on body:not(.empuje-mayorista) .bk-of b { font-weight: 500; }
html.bk-on body:not(.empuje-mayorista) .bk-tr { font-family: 'Inter', Arial, sans-serif; font-weight: 400; }
html.bk-on body:not(.empuje-mayorista) .bk-bts { display: grid; grid-template-columns: 1fr 1fr; }
html.bk-on body:not(.empuje-mayorista) .bk-btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  font-family: 'Inter', Arial, sans-serif; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.9); color: #fff !important; text-decoration: none !important; background: transparent;
}
html.bk-on body:not(.empuje-mayorista) .bk-btn.bk-lleno { background: #fff; color: #211f1c !important; border-color: #fff; }

/* Celular: foto 125, todo a la izquierda, con la cinta cruzada */
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel { aspect-ratio: 4 / 5; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-vel { background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.74) 100%); }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-st { left: 6vw; right: 6vw; bottom: 6vw; align-items: flex-start; gap: 2.2vw; z-index: 2; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-fe { font-size: 2.4vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-n { gap: 3.6vw; justify-content: flex-start; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-n-b { font-size: 6.6vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-n-lg svg { width: 22vw; margin-top: -.6vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-of { font-size: 6.8vw; margin-top: 1.4vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-tr { font-size: 2.6vw; margin: -.6vw 0 1.4vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-bts { width: 100%; gap: 2.4vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-btn { height: 10vw; font-size: 2.6vw; }

/* La cinta: blanca, cruzada (−8°), corre sola */
html.bk-on body:not(.empuje-mayorista) .bk-tape {
  position: absolute; left: -25%; width: 150%; top: 47%; height: 7.6vw; transform: rotate(-8deg); z-index: 1;
  background: #fff; color: #211f1c; display: flex; align-items: center; overflow: hidden;
  box-shadow: 0 1.2vw 3vw rgba(0,0,0,.28);
}
html.bk-on body:not(.empuje-mayorista) .bk-run {
  display: flex; align-items: center; gap: 3.2vw; white-space: nowrap; padding-left: 3vw;
  font-family: 'Jost', 'Inter', Arial, sans-serif; font-weight: 500; font-size: 3.1vw; letter-spacing: .28em; text-transform: uppercase;
  animation: bk-corre 22s linear infinite; will-change: transform;
}
html.bk-on body:not(.empuje-mayorista) .bk-run i { font-style: normal; font-size: 2.6vw; opacity: .7; }
html.bk-on body:not(.empuje-mayorista) .bk-t-lg { display: block; line-height: 0; }
html.bk-on body:not(.empuje-mayorista) .bk-t-lg svg { display: block; width: 12vw; height: auto; fill: currentColor; }
@keyframes bk-corre { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html.bk-on body:not(.empuje-mayorista) .bk-run { animation: none; } }

/* Compu: tríptico 118 · 125 · 116, la info al centro y SIN cinta */
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc { display: none; aspect-ratio: 2400 / 911; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-vel { background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.66) 100%); }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-st { left: 50%; transform: translateX(-50%); bottom: 3.2vw; align-items: center; text-align: center; gap: 1.1vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-n { order: -1; gap: 1.5vw; justify-content: center; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-n-b { font-size: 2.7vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-n-lg svg { width: 9vw; margin-top: -.25vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-fe { font-size: .9vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-of { font-size: 2.3vw; margin-top: .6vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-of b { font-weight: 300; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-tr { font-size: .95vw; margin-top: -.6vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-bts { width: 24vw; gap: 1vw; margin-top: .8vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-btn { height: 3.3vw; font-size: .92vw; }
@media (min-width: 769px) {
  html.bk-on body:not(.empuje-mayorista) .bk-hero-cel { display: none; }
  html.bk-on body:not(.empuje-mayorista) .bk-hero-pc { display: block; }
}

/* ---------- Menú ---------- */
/* Se esconde cuando NO corresponde, así cada entrada conserva el display del tema. */
html:not(.bk-on) .bk-solo, body.empuje-mayorista .bk-solo { display: none !important; }
html.bk-on body:not(.empuje-mayorista) .bk-no { display: none !important; }
/* Gangas: se ve en el Cyber y en el Black (ev-solo), siempre en rojo, nunca para la mayorista. */
html:not(.cy-on):not(.bk-on) .ev-solo, body.empuje-mayorista .ev-solo { display: none !important; }
html.bk-on body:not(.empuje-mayorista) .empuje-menu-simple li.ev-solo a,
html.bk-on body:not(.empuje-mayorista) .empuje-menu-simple li.ev-solo small,
html.bk-on body:not(.empuje-mayorista) .js-nav-desktop-list a.cy-bar-ga { color: #d7261e !important; }
html.bk-on body:not(.empuje-mayorista) .js-nav-desktop-list a.cy-bar-ga { font-weight: 600 !important; }
/* Celular: franja negra "BLACK · hasta 60% off" arriba de todo. */
html.bk-on body:not(.empuje-mayorista) .empuje-menu-simple li.bk-item a {
  background: #211f1c; color: #f4efe9 !important; padding-left: 14px; padding-right: 14px; margin: 6px 0;
  font-family: 'Jost', 'Inter', Arial, sans-serif; font-weight: 300 !important; letter-spacing: .32em; text-transform: uppercase;
}
html.bk-on body:not(.empuje-mayorista) .empuje-menu-simple li.bk-item small {
  color: #bdb6ad !important; font-family: 'DM Mono', ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: none;
}
/* Compu: "BLACK" más firme, una sola palabra, sin fondo (opción 1, 13/11). */
html.bk-on body:not(.empuje-mayorista) .js-nav-desktop-list a.bk-bar-bk {
  font-family: 'Jost', 'Inter', Arial, sans-serif !important; font-weight: 500 !important; font-size: 13px !important;
  letter-spacing: .26em !important; text-transform: uppercase; color: #211f1c !important;
}

/* ---------- Categoría /black/ ---------- */
html.bk-on body:not(.empuje-mayorista) .bk-h1-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html.bk-on body:not(.empuje-mayorista) .bk-cathead { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 12px 14px; color: #211f1c; text-align: center; }
html.bk-on body:not(.empuje-mayorista) .bk-cathead .bk-n { gap: 12px; }
html.bk-on body:not(.empuje-mayorista) .bk-cathead .bk-n-b { font-size: 22px; }
html.bk-on body:not(.empuje-mayorista) .bk-cathead .bk-n-lg svg { width: 74px; }
html.bk-on body:not(.empuje-mayorista) .bk-cathead p { margin: 0; font: 400 12px 'Inter', Arial, sans-serif; color: #535456; }
html.bk-on body:not(.empuje-mayorista) .bk-gangas {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 12px 26px; padding: 14px 0;
  border-top: 1px solid #e6e0d8; border-bottom: 1px solid #e6e0d8; text-decoration: none !important;
  font: 400 12px 'Inter', Arial, sans-serif; color: #535456 !important;
}
html.bk-on body:not(.empuje-mayorista) .bk-gangas b { color: #d7261e; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.bk-cathead, .bk-gangas { display: none; }
html.bk-on body:not(.empuje-mayorista) .bk-cathead { display: flex; }
html.bk-on body:not(.empuje-mayorista) .bk-gangas { display: flex; }

/* ---------- Mínimo de compra como descuento (16/11, Mati eligió B + D) ---------- */
/* B: en el banner, debajo de "pagando con transferencia", separado por una línea fina. */
html.bk-on body:not(.empuje-mayorista) .bk-mb {
  display: flex; align-items: baseline; flex-wrap: nowrap; white-space: nowrap;
  font-family: 'Jost', 'Inter', Arial, sans-serif; text-transform: uppercase; border-top: 1px solid rgba(255,255,255,.35);
}
html.bk-on body:not(.empuje-mayorista) .bk-mb .bk-mb-k { font-family: 'DM Mono', ui-monospace, Menlo, monospace; letter-spacing: .18em; opacity: .85; }
html.bk-on body:not(.empuje-mayorista) .bk-mb s { font-weight: 300; opacity: .6; letter-spacing: .06em; text-decoration-thickness: 1px; }
html.bk-on body:not(.empuje-mayorista) .bk-mb b { font-weight: 500; letter-spacing: .06em; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-mb { gap: 2.4vw; margin: -.4vw 0 1.6vw; padding-top: 2vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-mb .bk-mb-k { font-size: 2.3vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-mb s { font-size: 3.6vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel .bk-mb b { font-size: 4.6vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-mb { gap: 1vw; justify-content: center; margin: .2vw 0; padding-top: .8vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-mb .bk-mb-k { font-size: .85vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-mb s { font-size: 1.25vw; }
html.bk-on body:not(.empuje-mayorista) .bk-hero-pc .bk-mb b { font-size: 1.6vw; }
/* D: en la barra de beneficios de arriba, el $80.000 tachado al lado del $50.000. */
html.bk-on body:not(.empuje-mayorista) .jb-antes { opacity: .6; font-weight: 400; text-decoration: line-through; }
/* Con la línea del mínimo el bloque de texto sube: la cinta sube también para no tapar las fechas. */
html.bk-on body:not(.empuje-mayorista) .bk-hero-cel.bk-con-min .bk-tape { top: 35%; }
