.ceri-position-fixed_bottom { position: fixed !important; bottom: 0; left: 0; }

#ceri-dynamic-banner {
    position: relative; width: 100%; display: flex; align-items: stretch; 
    box-sizing: border-box; transition: opacity 0.3s ease;
}

.ceri-banner-content { padding: 10px 50px 10px 50px; width: 100%; display: flex; flex-wrap: wrap; gap: 25px; }

/* 3 COLUMNAS DINÁMICAS */
.ceri-cols-2 .ceri-col, .ceri-cols-3 .ceri-col { flex: 0 1 auto; min-width: 0; }
.ceri-col { display: flex; align-items: center; justify-content: inherit; height: 100%; }
.ceri-banner-content.ceri-cols-1 .ceri-col { flex: 1 1 100%; max-width: 100%; justify-content: center !important; }

/* EL TEXTO: Reglas independientes */
.ceri-text-column { flex: 1 1 0%; min-width: 250px; overflow: hidden; max-width: 100%; }

/* Solamente la Marquesina Larga necesita el hack de 100vw */
.ceri-force-100vw .ceri-text-inner { width: 100vw; }
.ceri-text-inner { display: inline-flex; align-items: center; justify-content: inherit; max-width: 100%; overflow: hidden; } 

.ceri-text-inner p, .ceri-text-inner h1, .ceri-text-inner h2, .ceri-text-inner h3, .ceri-text-inner span { 
    margin: 0 !important; padding: 0 !important; line-height: normal !important; text-align: inherit;
}
.ceri-marquee-content p { display: inline-block; margin: 0; padding: 0; }

/* === ANIMACIONES DE TEXTO === */

/* Ticker (Marquesina Larga) */
.ceri-anim-ticker { display: inline-block; white-space: nowrap; padding-left: 100vw; animation: ceriTickerV4 var(--anim-speed, 15s) linear infinite; will-change: transform; }
@keyframes ceriTickerV4 { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }

/* Rebote: Ya no usa 100vw. Solo se mueve en el espacio que el texto ocupa */
.ceri-anim-bounce .ceri-marquee-content { display: inline-block; white-space: nowrap; animation: ceriBounceV4 var(--anim-speed, 15s) ease-in-out infinite alternate; will-change: transform; }
@keyframes ceriBounceV4 { 0% { transform: translateX(20px); } 100% { transform: translateX(-20px); } }

/* Latido: Respira en su lugar */
.ceri-anim-pulse .ceri-marquee-content { display: inline-block; animation: ceriPulseText var(--anim-speed, 2s) infinite; will-change: transform; transform-origin: center; }
@keyframes ceriPulseText { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* Flash: Parpadeo */
.ceri-anim-flash .ceri-marquee-content { display: inline-block; animation: ceriFlashText var(--anim-speed, 1.5s) infinite; }
@keyframes ceriFlashText { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: 0; } }

/* Shake: Temblor */
.ceri-anim-shake .ceri-marquee-content { display: inline-block; animation: ceriShakeText var(--anim-speed, 0.8s) infinite; }
@keyframes ceriShakeText { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* --- CUENTA REGRESIVA --- */
.ceri-countdown { display: flex; gap: 10px; align-items: center; transition: all 0.3s ease; }
.ceri-cd-item { display: flex; flex-direction: column; align-items: center; perspective: 1000px; }
.ceri-cd-num { display: inline-block; backface-visibility: hidden; text-align: center; font-variant-numeric: tabular-nums; min-width: 2.2em; box-sizing: border-box; }

.ceri-cd-classic .ceri-cd-num { background-color: var(--cd-bg); color: var(--cd-text); font-weight: bold; font-size: var(--cd-fs, 20px); padding: var(--cd-pad, 8px); border-radius: 4px; line-height: 1; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.ceri-cd-classic .ceri-cd-label { font-size: 11px; margin-top: 4px; text-transform: uppercase; font-weight: 600; opacity: 0.9; }

.ceri-cd-modern .ceri-cd-item { background-color: var(--cd-bg); padding: 5px var(--cd-pad, 12px); border-radius: 20px; flex-direction: row; gap: 5px; align-items: baseline; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); }
.ceri-cd-modern .ceri-cd-num { color: var(--cd-text); font-weight: 800; font-size: var(--cd-fs, 18px); min-width: auto; }
.ceri-cd-modern .ceri-cd-label { color: var(--cd-text); font-size: 10px; text-transform: uppercase; opacity: 0.7; }

.ceri-cd-minimal .ceri-cd-item { flex-direction: row; gap: 2px; align-items: baseline; }
.ceri-cd-minimal .ceri-cd-num { color: var(--cd-text); font-weight: 800; font-size: var(--cd-fs, 22px); min-width: auto; }
.ceri-cd-minimal .ceri-cd-label { color: var(--cd-text); font-size: 12px; opacity: 0.8; margin-right: 8px; }

.ceri-cd-neon .ceri-cd-num { background: transparent; color: var(--cd-text); font-weight: 900; font-size: var(--cd-fs, 22px); padding: var(--cd-pad, 5px); border: 2px solid var(--cd-bg); border-radius: 8px; box-shadow: 0 0 10px var(--cd-bg), inset 0 0 5px var(--cd-bg); text-shadow: 0 0 8px var(--cd-bg); line-height: 1; }
.ceri-cd-neon .ceri-cd-label { color: var(--cd-text); font-size: 10px; margin-top: 5px; text-transform: uppercase; letter-spacing: 1px; }

.ceri-num-anim-pop { animation: cdNumPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
@keyframes cdNumPop { 0% { transform: scale(1.2); color: #ffd700; } 100% { transform: scale(1); } }
.ceri-num-anim-flip { animation: cdNumFlip 0.5s ease-in-out; }
@keyframes cdNumFlip { 0% { transform: rotateX(-90deg); opacity: 0; } 100% { transform: rotateX(0deg); opacity: 1; } }
.ceri-num-anim-slide-down { animation: cdNumSlide 0.3s ease-out; }
@keyframes cdNumSlide { 0% { transform: translateY(-10px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
.ceri-num-anim-fade { animation: cdNumFade 0.4s ease-in; }
@keyframes cdNumFade { 0% { opacity: 0; } 100% { opacity: 1; } }

.ceri-cd-anim-pulse { animation: cdPulse 2s infinite; }
@keyframes cdPulse { 0%, 100% { scale: 1; } 50% { scale: 1.03; } }
.ceri-cd-anim-glow { animation: cdGlow 2s infinite alternate; }
@keyframes cdGlow { from { filter: drop-shadow(0 0 0px transparent); } to { filter: drop-shadow(0 0 10px var(--cd-bg)); } }

/* --- CUPÓN --- */
.ceri-promo-box { display: inline-flex; align-items: center; gap: 12px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); box-sizing: border-box; }
#ceri-code-text { font-weight: 800; letter-spacing: 1px; }

#ceri-copy-btn {
    border: none; padding: 6px 12px; font-size: 13px; cursor: pointer; font-weight: bold; text-transform: uppercase;
    scale: 1; translate: 0 0; transition: scale 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), translate 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s; backface-visibility: hidden;
}
#ceri-copy-btn:hover { background-color: var(--c-hover-bg) !important; color: var(--c-hover-text) !important; }
#ceri-copy-btn.ceri-hover-scale-up:hover { scale: 1.05 !important; }
#ceri-copy-btn.ceri-hover-scale-down:hover { scale: 0.95 !important; }
#ceri-copy-btn.ceri-hover-lift:hover { translate: 0 -3px !important; box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important; }
#ceri-copy-btn.ceri-hover-pulse:hover { animation: hoverPulse 0.4s 1; }
@keyframes hoverPulse { 0% { scale: 1; } 50% { scale: 1.08; } 100% { scale: 1.05; } }

.ceri-btn-anim-wiggle { animation: btnWiggle 3s infinite; }
@keyframes btnWiggle { 0%, 90% { transform: rotate(0deg); } 92% { transform: rotate(-5deg); } 94% { transform: rotate(5deg); } 96% { transform: rotate(-5deg); } 98% { transform: rotate(5deg); } 100% { transform: rotate(0deg); } }
.ceri-btn-anim-heartbeat { animation: btnHeartbeat 1.5s infinite; }
@keyframes btnHeartbeat { 0% { scale: 1; } 14% { scale: 1.05; } 28% { scale: 1; } 42% { scale: 1.05; } 70% { scale: 1; } }
.ceri-btn-anim-glow { animation: btnGlow 2s infinite alternate; }
@keyframes btnGlow { from { box-shadow: 0 0 2px var(--c-bg); } to { box-shadow: 0 0 12px var(--c-hover-bg); } }
.ceri-btn-anim-flash { animation: btnFlash 2s infinite; }
@keyframes btnFlash { 0%, 50%, 100% { opacity: 1; } 25%, 75% { opacity: 0.7; } }
.ceri-btn-anim-rubberBand { animation: btnRubber 2.5s infinite; }
@keyframes btnRubber { 0%, 80% { transform: scale3d(1, 1, 1); } 83% { transform: scale3d(1.1, 0.9, 1); } 86% { transform: scale3d(0.9, 1.1, 1); } 89% { transform: scale3d(1.05, 0.95, 1); } 92% { transform: scale3d(0.95, 1.05, 1); } 95% { transform: scale3d(1.02, 0.98, 1); } 100% { transform: scale3d(1, 1, 1); } }

/* --- BOTÓN CERRAR "X" --- */
#ceri-close-btn {
    position: absolute; top: 50%; right: 15px; margin-top: -14px; 
    cursor: pointer; display: flex; align-items: center; justify-content: center; 
    opacity: 0.6; padding: 0 !important; rotate: 0deg; scale: 1; box-sizing: border-box;
    transition: rotate 0.3s ease, scale 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
.ceri-shape-circle { border-radius: 50%; }
.ceri-shape-square { border-radius: 0px; }
.ceri-shape-rounded { border-radius: 6px; }

/* === NUEVOS ESTILOS AVANZADOS PARA LA "X" === */
/* Vidrio Esmerilado (Requiere fondo con transparencia RGBA) */
.ceri-glass-glass { backdrop-filter: blur(10px) saturate(150%); -webkit-backdrop-filter: blur(10px) saturate(150%); border: 1px solid rgba(255,255,255,0.3) !important; }

/* Neón */
.ceri-glass-neon { box-shadow: 0 0 10px currentColor, inset 0 0 5px currentColor; border: 1px solid currentColor !important; }

/* Sombra Flotante 3D */
.ceri-glass-shadow { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.4); }

/* Neumorfismo (Elegante bajo relieve) */
.ceri-glass-neumorphism { box-shadow: 4px 4px 8px rgba(0,0,0,0.3), -4px -4px 8px rgba(255,255,255,0.1); border: none !important; }

#ceri-close-btn.ceri-close-hover-spin:hover { opacity: 1; rotate: 90deg !important; }
#ceri-close-btn.ceri-close-hover-scale:hover { opacity: 1; scale: 1.15 !important; }
#ceri-close-btn.ceri-close-hover-sink:hover { opacity: 1; transform: translateY(4px) !important; }
#ceri-close-btn.ceri-close-hover-none:hover { opacity: 1; }