/* =============================================
   OM — Especial de BLITZ 🔥 
   Ribbon badge + Promo Page styles
   Tipografía: Poppins (igual que archive/cards)
   Paleta: #5c1f9e morado | #ec199c rosa | #3f2161 texto
   ============================================= */

/* --- RIBBON DIAGONAL (Card & Hero) --- */
.om-blitz-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    overflow: hidden;
    width: 140px;
    height: 140px;
    pointer-events: none;
}
.om-blitz-ribbon span {
    position: absolute;
    display: block;
    width: 210px;
    padding: 7px 0;
    background: linear-gradient(135deg, #ec199c 0%, #ff2eb5 100%);
    box-shadow: 0 3px 12px rgba(236, 25, 156, 0.45);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    left: -48px;
    top: 30px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

/* Gallery es relative para posicionar ribbon */
.om-card-gallery {
    position: relative;
}

/* Ribbon en el hero — más grande */
.om-blitz-ribbon--hero {
    width: 170px;
    height: 170px;
}
.om-blitz-ribbon--hero span {
    width: 250px;
    padding: 9px 0;
    font-size: 0.9rem;
    left: -55px;
    top: 40px;
}

/* Animación brillo */
.om-blitz-ribbon span::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: om-blitz-shine 3s ease-in-out infinite;
}
@keyframes om-blitz-shine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}


/* =============================================
   BLITZ PROMO PAGE — Shortcode [blitz_promos]
   ============================================= */

.om-blitz-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    font-family: 'Poppins', sans-serif;
}
.om-blitz-page *, .om-blitz-page *::before, .om-blitz-page *::after {
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

/* --- Header viejo --- */
.om-blitz-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.om-blitz-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3f2161;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.om-blitz-header h2 .om-blitz-fire {
    display: inline-block;
    animation: om-blitz-pulse 1.5s ease-in-out infinite;
    font-size: 2.5rem;
}
@keyframes om-blitz-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
.om-blitz-header p {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
}

/* --- Filtros por tipo --- */
.om-blitz-filters {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.om-blitz-filter-btn {
    padding: 0.6rem 1.4rem;
    border: 2px solid #e5e0ed;
    border-radius: 50px;
    background: #fff;
    color: #3f2161;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
}
.om-blitz-filter-btn:hover {
    border-color: #ec199c;
    color: #ec199c;
    background: #fdf2f8;
}
.om-blitz-filter-btn.active {
    background: linear-gradient(135deg, #ec199c, #ff2eb5);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(236, 25, 156, 0.3);
}

/* --- Grid de promos --- */
.om-blitz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}
@media (max-width: 960px) {
    .om-blitz-grid { grid-template-columns: repeat(2, 1fr); }
    .om-blitz-header h2 { font-size: 2rem; }
}
@media (max-width: 600px) {
    .om-blitz-grid { grid-template-columns: 1fr; }
    .om-blitz-header h2 { font-size: 1.75rem; }
}

/* --- Promo Card --- */
.om-blitz-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(63, 33, 97, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.om-blitz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(236, 25, 156, 0.14);
}

.om-blitz-card__img {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.om-blitz-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.om-blitz-card:hover .om-blitz-card__img img {
    transform: scale(1.05);
}

.om-blitz-card__tipo {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(63, 33, 97, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.om-blitz-card .om-blitz-ribbon {
    width: 120px;
    height: 120px;
}
.om-blitz-card .om-blitz-ribbon span {
    width: 180px;
    font-size: 0.65rem;
    padding: 5px 0;
    left: -42px;
    top: 24px;
}

.om-blitz-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
}
.om-blitz-card__destino {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ec199c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}
.om-blitz-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #3f2161;
    margin: 0 0 0.35rem 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.om-blitz-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.om-blitz-card__title a:hover {
    color: #5c1f9e;
}
.om-blitz-card__subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.om-blitz-card__meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.om-blitz-card__meta-item {
    font-size: 0.813rem;
    color: #3f2161;
    background: #f0ebff;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.om-blitz-card__fechas {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 1rem;
}
.om-blitz-card__fecha-pill {
    font-size: 0.75rem;
    background: #f0ebff;
    color: #3f2161;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 500;
}

.om-blitz-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f0ebff;
}
.om-blitz-card__price-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-weight: 500;
    margin-bottom: 2px;
}
.om-blitz-card__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3f2161;
    line-height: 1.1;
}
.om-blitz-card__price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: #6b7280;
    margin-left: 2px;
}
.om-blitz-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, #ec199c, #ff2eb5);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2rem;
    transition: all 0.25s;
    box-shadow: 0 4px 12px rgba(236, 25, 156, 0.25);
}
.om-blitz-card__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(236, 25, 156, 0.35);
    color: #fff;
}

.om-blitz-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
    font-size: 1.125rem;
    grid-column: 1 / -1;
}

/* =============================================
   BLITZ MINI HERO (NUEVO)
   ============================================= */
.om-blitz-hero {
    position: relative;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2rem;
    background: #3f2161;
}
.om-blitz-hero__bg {
    position: absolute;
    inset: 0;
    /* imagen se inyecta inline desde ACF */
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}
.om-blitz-hero:hover .om-blitz-hero__bg { transform: scale(1.12); }
.om-blitz-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(63,33,97,0.92) 0%, rgba(120,53,232,0.85) 35%, rgba(236,25,156,0.78) 70%, rgba(255,46,181,0.72) 100%);
}
.om-blitz-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem 1.5rem;
}
.om-blitz-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.35rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    animation: omBlitzPulse 2s ease-in-out infinite;
}
@keyframes omBlitzPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,46,181,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255,46,181,0); }
}
.om-blitz-hero__title {
    margin: 0 0 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 16px rgba(236,25,156,0.35);
    letter-spacing: -0.02em;
}
.om-blitz-hero__sub {
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
    max-width: 500px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .om-blitz-hero { min-height: 120px; border-radius: 0.75rem; }
    .om-blitz-hero__content { padding: 1.25rem 1rem; }
    .om-blitz-hero__title { font-size: 1.5rem; }
    .om-blitz-hero__sub { font-size: 0.9rem; }
}