/* Componentes compartidos de la vista previa. La home los carga despues de home.css. */
.bh-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
}
.bh-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.35) 50%, transparent 65%);
  transform: translateX(-120%);
}
.bh-btn:hover::after { transform: translateX(120%); transition: transform .6s ease; }
.bh-btn-principal { background: #FBFAF7; color: #2F5662; }
.bh-btn-secundario { background: transparent; border-color: #E3EEF1; color: #FFFFFF; }

.bh-onda { display: block; height: 56px; margin-top: -1px; overflow: hidden; line-height: 0; }
.bh-onda svg { display: block; width: 100%; height: 72px; margin-top: -8px; }

.bh-cuerpo,
.bh-cuerpo-l { margin: 0; color: #E3EEF1; }
.bh-cuerpo-l { margin-top: 12px; font-size: 18px; line-height: 28px; }
.bh-firma {
  margin: 8px 0 0;
  color: #F4F1EC;
  font-family: "Dancing Script", cursive !important;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.05;
}
.bh-firma.bh-firma-clara { color: #2F5662; }

.bh-vidrio {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(227, 238, 241, 0.16);
  border-radius: 24px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.35);
}
.bh-vidrio:hover,
.bh-vidrio:focus-within {
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 0 6px color-mix(in srgb, var(--sabor, #5891A2) 35%, transparent);
}
.bh-marco {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #FBFAF7;
  border-radius: 12px;
}
.bh-marco img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bh-nuevo,
.bh-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 16px;
}
.bh-nuevo { background: #FBFAF7; color: #2F5662; }
.bh-pill { background: #2F5662; color: #FFFFFF; }
.bh-pastillas { display: flex; flex-wrap: wrap; gap: 8px; }
.bh-etiqueta,
.bh-sabor-chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 4px 14px;
  border: 1.5px solid var(--sabor, #5891A2);
  border-radius: 999px;
  background: #FBFAF7;
  font-family: "Dancing Script", cursive !important;
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
}
.bh-etiqueta-sans {
  font-family: "Outfit", sans-serif !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

.bh-controles { display: flex; gap: 8px; margin-top: 8px; }
.bh-controles button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid rgba(227, 238, 241, 0.45);
  border-radius: 12px;
  background: transparent;
  color: #F4F1EC;
}

.bh-revelar.bh-espera {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.bh-revelar.bh-espera.bh-visible {
  opacity: 1;
  transform: none;
}
  .bh-vidrio { backdrop-filter: blur(12px); }
}
@media (min-width: 1024px) {
  .bh-para { height: calc(100% + 24px); margin-top: -12px; }
  @supports (animation-timeline: view()) {
    .bh-para {
      animation: bh-para-sutil linear both;
      animation-timeline: view();
      animation-range: cover 0% cover 100%;
    }
  }
}
@keyframes bh-para-sutil {
  from { transform: translateY(12px); }
  to { transform: translateY(-12px); }
}

@media (prefers-reduced-motion: no-preference) {
  .bh-frente,
  .bh-dorso {
    backface-visibility: hidden;
    transition: transform .5s ease;
  }
  .bh-dorso { transform: rotateY(180deg); visibility: visible; }
  .bh-flip.is-vuelta .bh-frente { visibility: visible; }
  .bh-flip.is-vuelta .bh-flip-inner { transform: rotateY(180deg); }
  .bh-flip-inner {
    transform-style: preserve-3d;
    transition: transform .5s ease;
  }
  .bh-vidrio { transition: box-shadow .25s ease, transform .25s ease; }
  .bh-vidrio:hover,
  .bh-vidrio:focus-within { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .bh-btn::after,
  .bh-vidrio,
  .bh-flip-inner,
  .bh-slide { transition: none !important; }
  .bh-btn:hover::after { transform: none; }
  .bh-vidrio:hover,
  .bh-vidrio:focus-within { transform: none; }
  .bh-revelar.bh-espera { opacity: 1; transform: none; }
  .bh-palabra { opacity: 1 !important; transform: none !important; }
  .bh-borde-luz,
  .bh-reflejo,
  .bh-cinta-pista,
  .bh-onda svg,
  .bh-marco img,
  .bh-figura,
  .bh-para { animation: none !important; transition: none !important; filter: none !important; }
}

.bh-para,
.bh-marco picture { display: block; height: 100%; }
.bh-marco-vivo { position: relative; }
.bh-borde-clip,
.bh-reflejo-clip,
.bh-luz-puntero {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.bh-borde-clip {
  z-index: 4;
  overflow: hidden;
  padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.bh-borde-luz {
  position: absolute;
  inset: -120%;
  background: conic-gradient(from 0deg, transparent 0 42%, color-mix(in srgb, var(--sabor, #5891A2) 40%, transparent) 62%, transparent 82%);
  opacity: 0;
}
.bh-reflejo-clip { z-index: 3; overflow: hidden; }
.bh-reflejo {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.28) 50%, transparent 64%);
  transform: translateX(-130%);
}
.bh-reflejo.is-brillo { animation: bh-reflejo .9s ease; }
.bh-luz-puntero {
  z-index: 2;
  opacity: 0;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--sabor, #5891A2) 28%, transparent), transparent 68%);
  transition: opacity .25s ease;
}
@media (min-width: 769px) {
  .bh-marco-vivo.bh-en-pantalla .bh-borde-luz { opacity: 1; animation: bh-giro 10s linear infinite; }
  .bh-marco-vivo:hover .bh-luz-puntero,
  .bh-marco-vivo:focus-within .bh-luz-puntero { opacity: 1; }
}
@media (max-width: 768px) {
  .bh-luz-puntero { display: none; }
  .bh-marco-vivo:focus-within.bh-en-pantalla .bh-borde-luz { opacity: 1; animation: bh-giro 10s linear infinite; }
}
@keyframes bh-giro { to { transform: rotate(1turn); } }
@keyframes bh-reflejo {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}
@keyframes bh-ken {
  from { transform: translateY(-6px) scale(1); }
  to { transform: translateY(6px) scale(1.04); }
}
.bh-marco-vivo.bh-en-pantalla .bh-marco img { animation: bh-ken 6.5s ease-in-out infinite alternate; }
html.bh-animar .bh-palabra {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
}
html.bh-animar .bh-titular.bh-visible .bh-palabra {
  opacity: 1;
  transform: none;
  transition: opacity .45s ease, transform .45s ease;
}
.bh-cinta {
  overflow: hidden;
  background: #FBFAF7;
  padding: 16px 0;
}
.bh-cinta-pista {
  display: flex;
  width: max-content;
  gap: 32px;
  margin: 0;
  padding-left: 32px;
}
.bh-cinta span {
  font-family: "Dancing Script", cursive;
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
  white-space: nowrap;
}
.bh-cinta.bh-en-pantalla .bh-cinta-pista { animation: bh-cinta 36s linear infinite; }
.bh-cinta:hover .bh-cinta-pista { animation-play-state: paused; }
@keyframes bh-cinta {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.bh-onda.bh-en-pantalla svg { animation: bh-ola 7s ease-in-out infinite alternate; }
@keyframes bh-ola {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}
@property --aura {
  syntax: "<color>";
  inherits: true;
  initial-value: #5891A2;
}
.bh-novedad {
  --aura: #5891A2;
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  height: 78vh;
  min-height: 560px;
  padding: 28px 16px 20px;
  overflow: visible;
  background:
    radial-gradient(ellipse at 50% 36%, color-mix(in srgb, var(--aura) 34%, transparent), transparent 58%),
    linear-gradient(180deg, #1F3A42 0%, #2F5662 100%);
  color: #F4F1EC;
  transition: --aura .8s ease;
}
.bh-novedad-escena {
  position: relative;
  min-height: 0;
  overflow: hidden;
}
.bh-figura {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(440px, 86%);
  height: auto;
  transform: translateX(-50%);
  opacity: 1;
  clip-path: none;
  pointer-events: none;
}
.bh-figura.is-sale {
  opacity: 0;
  transform: translateX(-50%) scale(1.06);
  filter: blur(10px);
  transition: opacity .6s ease, transform .6s ease, filter .55s ease;
}
.bh-figura.is-recorte { filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35)); }
.bh-figura.is-sale.is-recorte { filter: blur(10px) drop-shadow(0 16px 24px rgba(0, 0, 0, 0.35)); }
.bh-novedad.is-play .bh-figura.is-activa { animation: bh-flota 6s ease-in-out infinite alternate; }
.bh-novedad.is-play .bh-progreso > span {
  transform-origin: left center;
  animation: bh-progreso 6s linear forwards;
}
@keyframes bh-progreso {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
.bh-novedad-escena { background: transparent; }
.bh-figura.is-base {
  width: min(340px, 70%);
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  background: #FBFAF7;
  box-shadow: 0 1px 2px rgba(28, 42, 47, 0.06), 0 6px 20px rgba(28, 42, 47, 0.08);
}
.bh-figura.is-base.is-activa,
.bh-figura.is-base.is-sale { clip-path: none; }
.bh-figura.is-recorte { background: transparent; border-radius: 0; box-shadow: none; }
.bh-figura.is-recorte.is-activa { clip-path: none; }
@keyframes bh-flota {
  from { transform: translateX(-50%) translateY(-6px) scale(1); }
  to { transform: translateX(-50%) translateY(6px) scale(1.04); }
}
.bh-novedad-copia { position: relative; z-index: 2; max-width: 560px; min-height: 168px; }
.bh-novedad h2,
.bh-novedad h2.bh-firma,
.bh-novedad h2.bh-nombre-recto {
  display: block;
  min-height: 0;
  margin: 8px 0 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #F4F1EC !important;
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(32px, 8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.bh-nombre-recto {
  color: #1C2A2F;
  font-family: "Outfit", sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.bh-novedad .bh-cuerpo-l { max-width: 36em; }
.bh-novedad-copia .bh-btn { margin-top: 16px; }
.bh-novedad-ui {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.bh-novedad-ui .bh-controles { order: -1; margin-top: 0; }
.bh-novedad-ui .bh-progreso { flex: 1; width: auto; margin: 0; }
.bh-progreso {
  width: min(280px, 100%);
  height: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(227, 238, 241, 0.28);
}
.bh-progreso > span {
  display: block;
  width: 100%;
  height: 100%;
  background: #E3EEF1;
  transform: scaleX(0);
  transform-origin: left center;
}
.bh-novedad .bh-pausa {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1.5px solid rgba(227, 238, 241, 0.45);
  border-radius: 12px;
  background: transparent;
  color: #F4F1EC;
}
.bh-novedad .bh-pausa .bh-ico-play { display: none; }
.bh-novedad .bh-pausa[aria-pressed="true"] .bh-ico-pausa { display: none; }
.bh-novedad .bh-pausa[aria-pressed="true"] .bh-ico-play { display: block; }
.bh-novedad .bh-controles button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1.5px solid rgba(227, 238, 241, 0.45);
  background: transparent;
  color: #F4F1EC;
}
.bh-novedad .bh-controles svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}
.bh-novedad-datos { display: none; }
@media (min-width: 900px) {
  .bh-novedad {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: 1fr auto;
    align-items: end;
    height: 100vh;
    min-height: 640px;
    padding: 96px 32px 40px;
  }
  .bh-novedad-escena {
    grid-row: 1 / span 2;
    align-self: stretch;
    min-height: 420px;
  }
  .bh-novedad-copia { align-self: center; }
  .bh-figura { width: min(520px, 46vw); bottom: 8%; }
}
@supports (animation-timeline: view()) {
  html.bh-timeline .bh-revelar.bh-espera {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
    animation: bh-mascara linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}
@media (max-width: 899px) {
  .bh-novedad {
    height: auto;
    min-height: 0;
    padding: 20px 16px calc(132px + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .bh-novedad-escena { height: 250px; }
  .bh-figura,
  .bh-figura.is-base { width: min(220px, 58vw); }
  .bh-nombre-recto { font-size: 32px; }
  .bh-novedad .bh-firma { font-size: 36px; }
}
@keyframes bh-mascara {
  from { opacity: 1; transform: translateY(24px); clip-path: inset(16% 0 0 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}

