aad

aad

 (+1,500 Reseñas )
Precio habitual $0,00
Precio habitual $0,00 Precio de oferta
SAVE Agotado



<style>

  /* Oculta los elementos normales del producto */

  .product__info-wrapper, 

  .product__media-wrapper { 

    display: none !important; 

  }


  /* Estilos de la prelanding */

  #prelanding {

    background: #000;

    border: 2px solid #e63030;

    border-radius: 16px;

    max-width: 420px;

    margin: 0 auto;

    overflow: hidden;

    box-shadow: 0 0 40px rgba(230,48,48,0.3);

    font-family: -apple-system, sans-serif;

  }

  #prelanding .video-area {

    background: #000;

    position: relative;

    aspect-ratio: 9/16;

    max-height: 500px;

  }

  #prelanding video {

    width: 100%;

    height: 100%;

    object-fit: cover;

  }

  #sound-btn {

    position: absolute;

    bottom: 16px;

    left: 50%;

    transform: translateX(-50%);

    background: rgba(255,255,255,0.15);

    border: 1px solid rgba(255,255,255,0.3);

    color: #fff;

    padding: 8px 20px;

    border-radius: 24px;

    font-size: 14px;

    cursor: pointer;

    backdrop-filter: blur(4px);

    white-space: nowrap;

    border: none;

  }

  #prelanding .body {

    padding: 24px 20px;

    text-align: center;

    background: #0a0a0a;

  }

  .pre-bell { font-size: 36px; margin-bottom: 10px; }

  .pre-title {

    color: #fff;

    font-size: 20px;

    font-weight: 700;

    line-height: 1.3;

    margin-bottom: 8px;

  }

  .pre-sub {

    color: #999;

    font-size: 14px;

    margin-bottom: 16px;

    line-height: 1.5;

  }

  .pre-countdown {

    color: #e63030;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    margin-bottom: 8px;

  }

  .pre-progress {

    height: 3px;

    background: #222;

    border-radius: 2px;

    margin-bottom: 16px;

    overflow: hidden;

  }

  .pre-progress-bar {

    height: 100%;

    width: 100%;

    background: #e63030;

    border-radius: 2px;

    transition: width 1s linear;

  }

  .pre-cta {

    display: block;

    width: 100%;

    background: #e63030;

    color: #fff;

    border: none;

    border-radius: 8px;

    padding: 16px;

    font-size: 16px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    text-transform: uppercase;

    text-decoration: none;

  }

</style>


<!-- ⬇ ESTRUCTURA DE LA PRELANDING ⬇ -->

<div id="prelanding">


  <!-- ÁREA DE VIDEO -->

  <div class="video-area">

    <video 

      id="mi-video"

      src="URL_DE_TU_VIDEO_AQUI"  <!-- ⬅ CAMBIA ESTO: pega la URL del video subido a Shopify -->

      playsinline

      autoplay

      muted

      loop

    ></video>


    <button id="sound-btn" onclick="toggleSound()">

      🔇 Tocar para sonido

    </button>

  </div>


  <!-- CUERPO CON TEXTO Y COUNTDOWN -->

  <div class="body">

    <div class="pre-bell">🔔</div>


    <div class="pre-title">

      ¿Te falta energía o control cuando más importa?  <!-- ⬅ CAMBIA ESTO: tu título -->

    </div>


    <div class="pre-sub">

      Recupera potencia, resistencia y confianza desde el interior  <!-- ⬅ CAMBIA ESTO: tu subtítulo -->

    </div>


    <div class="pre-countdown">

      Redirigiendo en <span id="cuenta">7</span> s

    </div>


    <div class="pre-progress">

      <div class="pre-progress-bar" id="barra"></div>

    </div>


    <a 

      class="pre-cta" 

      href="/products/TU-PRODUCTO-REAL"  <!-- ⬅ CAMBIA ESTO: URL de tu producto real -->

    >

      Ver oferta ahora

    </a>

  </div>

</div>


<!-- ============================================

     JAVASCRIPT - COUNTDOWN + REDIRECCIÓN + SONIDO

     ============================================ -->

<script>

  // ─── CONFIGURACIÓN (solo cambia estos valores) ───

  const SEGUNDOS = 7;                          // Duración del countdown

  const URL_DESTINO = '/products/TU-PRODUCTO-REAL'; // ⬅ CAMBIA ESTO también aquí


  // ─── COUNTDOWN ───

  let restante = SEGUNDOS;

  const cuenta = document.getElementById('cuenta');

  const barra = document.getElementById('barra');


  const timer = setInterval(function() {

    restante--;

    cuenta.textContent = restante;

    barra.style.width = (restante / SEGUNDOS * 100) + '%';


    if (restante <= 0) {

      clearInterval(timer);

      window.location.href = URL_DESTINO;

    }

  }, 1000);


  // ─── BOTÓN DE SONIDO ───

  function toggleSound() {

    const video = document.getElementById('mi-video');

    const btn = document.getElementById('sound-btn');

    video.muted = !video.muted;

    btn.textContent = video.muted ? '🔇 Tocar para sonido' : '🔊 Sonido activado';

  }

</script>

Ver todos los detalles