/* Top offer strip — original orange style + embedded starburst badge */
.site-offer-star-banner {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #7c2d12 0%, #ea580c 35%, #f59e0b 70%, #fbbf24 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 28px rgba(234, 88, 12, 0.35);
    animation: offerBannerGlow 2.4s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

.site-offer-star-inner {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    width: 100%;
    max-width: min(100%, 1100px);
    margin: 0 auto;
    padding: 0 0.5rem;
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
}

/* Embedded starburst seal (like reference image) */
.offer-starburst-wrap {
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    margin-right: 0.1rem;
    animation: offerBurstPulse 2.2s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.offer-starburst-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.offer-starburst-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.02;
    padding: 0.4rem;
    pointer-events: none;
}

.offer-starburst-top,
.offer-starburst-off {
    font-size: 0.42rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.offer-starburst-off {
    animation: offerBlink 1.5s step-end infinite;
}

.offer-flash-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.45);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    animation: offerBlink 1.5s step-end infinite;
}

.offer-season-name {
    font-size: 0.86rem;
    white-space: nowrap;
    font-weight: 800;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.offer-discount-pill,
.offer-countdown-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.72rem;
    white-space: nowrap;
}

.offer-discount-pill {
    background: #fff;
    color: #c2410c;
}

.offer-countdown-pill {
    background: rgba(127, 29, 29, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.35);
    animation: offerPulse 1.8s ease-in-out infinite;
}

.offer-cta-link {
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    padding-bottom: 1px;
}

.offer-cta-link:hover {
    color: #fff;
    opacity: 0.9;
}

.offer-sparkle {
    position: absolute;
    z-index: 1;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
    pointer-events: none;
    animation: offerStarTwinkle 2s ease-in-out infinite;
}

.offer-sparkle-1 { top: 8px; left: 4%; font-size: 1.1rem; animation-delay: 0s; }
.offer-sparkle-2 { top: 50%; right: 6%; font-size: 1.35rem; transform: translateY(-50%); animation-delay: 0.5s; }
.offer-sparkle-3 { bottom: 6px; left: 18%; font-size: 0.95rem; animation-delay: 1s; }
.offer-sparkle-4 { top: 10px; right: 20%; font-size: 1rem; animation-delay: 1.4s; }

@keyframes offerBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

@keyframes offerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@keyframes offerBurstPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes offerStarTwinkle {
    0%, 100% { opacity: 0.35; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.15); }
}

@keyframes offerBannerGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.08); }
}

@media (max-width: 768px) {
    .site-offer-star-inner {
        flex-wrap: wrap;
        font-size: 0.74rem;
        gap: 0.3rem 0.4rem;
        max-width: 100%;
    }

    .offer-season-name {
        white-space: normal;
    }

    .offer-starburst-wrap {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }
}
