Envio Gratis
Envío gratis en Santiago para compras sobre $99.00
Garantía de Satisfacción
Tienes 10 días para devolver el producto
Pago Seguro
Paga con tu medio pago preferido de forma 100% segura
Post Venta
Te ayudaremos a resolver cualquier duda
Seminuevos
iPhone 12 Pro Max 512GB Seminuevo
0
iPhone 12 Pro Max 256GB Seminuevo
0
iPhone 11 64GB Seminuevo
0

Seleccionar opciones
Este producto tiene múltiples variantes. Las opciones se pueden elegir en la página de producto
iPhone 14 128GB Seminuevo
0

Seleccionar opciones
Este producto tiene múltiples variantes. Las opciones se pueden elegir en la página de producto
iPhone 13 Pro Max 128GB Seminuevo
0

Seleccionar opciones
Este producto tiene múltiples variantes. Las opciones se pueden elegir en la página de producto
iPhone 13 256GB Seminuevo
0

Seleccionar opciones
Este producto tiene múltiples variantes. Las opciones se pueden elegir en la página de producto
Samsung Galaxy S23 Plus Seminuevo
0

Seleccionar opciones
Este producto tiene múltiples variantes. Las opciones se pueden elegir en la página de producto
iPhone 15 128GB Seminuevo
0
Consolas

Seleccionar opciones
Este producto tiene múltiples variantes. Las opciones se pueden elegir en la página de producto
Valve Steam Deck OLED 1TB
0
Valve Steam Deck 256GB
0
Joystick Razer Kishi V1 Android Seminuevo
0
Funko
POP! Animation: Naruto – Sasuke
0
POP! GAMES: Pokemon- Munchlax
0
POP! Marvel: Monster Hunters – Green Goblin
0
Boxed Tee: DC Comics – Joker [XL]
0
POP! Television: GoT – House of the Dragon – Otto Hightower
0
POP! Television: House of the Dragon – Viserys Targaryen
0
<?php
add_action('wp_footer', 'add_animated_text_banner_with_link_and_close');
function add_animated_text_banner_with_link_and_close() {
?>
<style>
/* Contenedor del banner */
#animated-banner {
position: fixed;
bottom: 20px;
left: 100%;
width: auto;
max-width: 100%;
background-color: #f39c12;
color: #fff;
padding: 10px 20px;
font-size: 18px;
font-weight: bold;
border-radius: 5px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
z-index: 9999;
white-space: nowrap;
overflow: hidden;
display: flex;
align-items: center;
gap: 10px;
}
/* Enlace */
#animated-banner a {
color: #fff;
text-decoration: underline;
font-weight: bold;
}
/* Botón de cierre */
#banner-close-btn {
background: #e74c3c;
color: #fff;
border: none;
border-radius: 50%;
width: 20px;
height: 20px;
font-size: 14px;
line-height: 20px;
text-align: center;
cursor: pointer;
}
/* Animación */
@keyframes slideBanner {
0% {
left: 100%;
}
10% {
left: 50%;
transform: translateX(-50%);
}
90% {
left: 50%;
transform: translateX(-50%);
}
100% {
left: -100%;
}
}
#animated-banner {
animation: slideBanner 10s linear infinite;
}
/* Ocultar el banner al cerrar */
#animated-banner.hidden {
display: none !important;
}
/* Estilos para móviles */
@media screen and (max-width: 768px) {
#animated-banner {
bottom: 80px; /* Se muestra más arriba */
font-size: 14px; /* Tamaño de fuente reducido */
padding: 8px 15px; /* Espaciado ajustado */
}
#banner-close-btn {
width: 18px;
height: 18px;
font-size: 12px;
line-height: 18px;
}
}
</style>
<div id="animated-banner">
<a href="https://todogeek.cl/collections/pop/" target="_blank">¡Por la compra de cualquier Funko, llevate 2 gratis!</a>
<button id="banner-close-btn">×</button>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
const banner = document.getElementById('animated-banner');
const closeBtn = document.getElementById('banner-close-btn');
closeBtn.addEventListener('click', function () {
banner.classList.add('hidden');
localStorage.setItem('bannerDismissed', 'true');
});
if (localStorage.getItem('bannerDismissed') === 'true') {
banner.classList.add('hidden');
}
});
</script>
<?php
}