/* Promotional Banner Styling for Calculator */
.promo-banner {
    margin-top: 20px;
    padding: 12px 16px;
    background: linear-gradient(to right, #fff5f0 0%, #ffffff 100%);
    border-left: 4px solid #ff6b35;
    border-radius: 6px;
    box-shadow: none;
    display: block;
    position: relative;
    overflow: visible;
    animation: none;
    transition: none;
    min-height: auto;
}

.promo-banner:hover {
    transform: none;
    box-shadow: none;
}

.promo-banner.hidden {
    display: none;
}

.promo-content {
    flex: none;
    color: #ff6b35;
    position: relative;
    z-index: auto;
    padding-right: 0;
}

.promo-content::before {
    content: "🎉";
    margin-right: 8px;
    font-size: 16px;
}

.promo-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ff6b35;
    text-shadow: none;
    display: inline;
}

.promo-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 0;
    color: #666;
    display: inline;
}

.promo-text span {
    /* Date appears inline with same styling as rest of text */
    display: inline;
    color: inherit;
    font-weight: inherit;
}


.promo-image {
    display: none;
}

.promo-image img {
    display: none;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 14px 16px;
        /* Allow height to adjust naturally on mobile */
        min-height: auto;
    }

    .promo-content {
        padding-right: 0;
        z-index: 2;
    }

    .promo-title {
        font-size: 15px;
    }

    .promo-text {
        font-size: 13px;
    }

    .promo-validity {
        font-size: 11px;
    }

    .promo-image {
        position: relative;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: 120px;
        /* Fixed height for image area on mobile */
        margin-top: 10px;
        z-index: 1;
    }

    .promo-image img {
        object-position: center;
        /* Center image on mobile */
        mask-image: linear-gradient(to top, transparent, black 10%);
        -webkit-mask-image: linear-gradient(to top, transparent, black 10%);
    }
}