.px-evento {
display: inline-flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1px;
min-width: 64px;
max-width: 88px;
min-height: 44px;
padding: 4px 5px;
box-sizing: border-box;
border-radius: 10px;
border: 1.5px solid rgba(255, 255, 255, 0.75);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
color: #fff;
text-align: center;
transform: rotate(-4deg);
}
.px-evento-dibujo { font-size: 14px; line-height: 1; }
.px-evento-nombre {
font: 800 8.5px/1.05 'Inter', 'Segoe UI', system-ui, sans-serif;
letter-spacing: 0.2px;
text-transform: uppercase;
overflow-wrap: break-word;
}
.px-evento-imagen {
display: block;
max-width: 68px;
max-height: 50px;
object-fit: contain;
transform: rotate(-4deg);
filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
}
.card.con-oferta .card-pill:not(.badge-oferta) { display: none; }
.card .oferta-signo { display: none; }
.card .badge-oferta {
background: linear-gradient(90deg, #e11d48, #f43f5e);
color: #fff;
border: 0;
font-size: 11.5px;
line-height: 16px;
padding: 2px 9px;
letter-spacing: 0.3px;
max-width: 72%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
box-shadow: 0 2px 8px rgba(225, 29, 72, 0.4);
}
.card.con-oferta .card-img-wrap { position: relative; }
.card .oferta-tiempo {
position: absolute;
left: 6px;
bottom: 6px;
display: inline-flex;
align-items: center;
gap: 4px;
max-width: calc(100% - 12px);
padding: 4px 8px 4px 6px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.3);
background: rgba(10, 8, 20, 0.9);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
color: #fff;
font-size: 11.5px;
font-weight: 800;
line-height: 1.15;
letter-spacing: 0.2px;
white-space: nowrap;
}
.card .oferta-tiempo::before {
content: '';
flex: 0 0 auto;
width: 12px;
height: 12px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='13' r='8'/%3E%3Cpath d='M12 9v4l2.5 2.5M9.5 2.5h5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.card .card-img-wrap:has(.oferta-evento) .oferta-tiempo { max-width: calc(100% - 82px); white-space: normal; line-height: 1.1; }
.card .oferta-tiempo.oferta-urgente {
border-color: rgba(255, 255, 255, 0.55);
background: linear-gradient(90deg, #e11d48, #f43f5e);
box-shadow: 0 2px 10px rgba(225, 29, 72, 0.55);
}
.card .oferta-evento {
position: absolute;
right: 5px;
bottom: 5px;
line-height: 0;
}
.card.con-oferta .card-img-wrap .oferta-evento img.px-evento-imagen {
position: static !important;
width: auto !important;
height: auto !important;
min-width: 0 !important;
min-height: 0 !important;
max-width: var(--evento-ancho, 68px) !important;
max-height: var(--evento-alto, 50px) !important;
margin: 0 !important;
padding: 0 !important;
border: 0 !important;
background: transparent !important;
object-fit: contain !important;
transform: rotate(-4deg) !important;
transition: none !important;
}
.card.con-oferta .precio-label:not(.oferta-etiqueta) { display: none !important; }
.card .precio-antes {
display: flex;
align-items: center;
gap: 6px;
height: 16px;
margin-bottom: 1px;
}
:has(> .card.con-oferta) > .card:not(.con-oferta) .precio-box::before {
content: '';
display: block;
height: 17px;
}
.card .precio-antes s {
color: #cbd5e1;
font-size: 11.5px;
font-weight: 600;
}
.card .precio-chip {
padding: 1px 5px;
border-radius: 6px;
background: #16a34a;
color: #fff;
font-size: 10px;
font-weight: 800;
}
body.light-mode .card .precio-antes s { color: #64748b; }
body.light-mode .card .badge-oferta,
body.light-mode .card .badge-oferta *,
body.light-mode .card .oferta-tiempo,
body.light-mode .card .oferta-tiempo *,
body.light-mode .card .precio-chip,
body.light-mode .px-evento,
body.light-mode .px-evento-nombre { color: #fff !important; }
@media (max-width: 480px) {
.card .oferta-palabra { display: none; }
.card .oferta-signo { display: inline; }
.card .oferta-tiempo { font-size: 10.5px; gap: 3px; padding: 3px 7px 3px 5px; }
.card .card-img-wrap:has(.oferta-evento) .oferta-tiempo { max-width: calc(100% - 66px); white-space: normal; line-height: 1.1; }
.card .oferta-tiempo::before { width: 11px; height: 11px; }
.card .badge-oferta { font-size: 11px; padding: 2px 8px; }
.card .px-evento { min-width: 56px; max-width: 74px; min-height: 40px; }
.card .px-evento-nombre { font-size: 7.5px; }
.card .oferta-evento { --evento-ancho: 58px; --evento-alto: 44px; }
}
.ficha-oferta {
display: flex;
align-items: center;
gap: 12px;
margin: 0 0 10px;
padding: 10px 12px;
border-radius: 12px;
border: 1px solid rgba(244, 63, 94, 0.55);
background: rgba(225, 29, 72, 0.1);
}
.ficha-oferta-evento { flex: 0 0 auto; line-height: 0; }
.ficha-oferta-texto { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12.5px; }
.ficha-oferta-titulo { color: #fb7185; font-size: 13.5px; }
.ficha-oferta-precios s { opacity: 0.75; margin-right: 4px; }
.ficha-oferta-fechas { font-weight: 600; }
.ficha-oferta-condiciones { font-size: 11px; opacity: 0.8; }
body.light-mode .ficha-oferta { background: #fff1f2; border-color: #fda4af; }
body.light-mode .ficha-oferta-titulo { color: #be123c; }
