/* Promo Ribbon — ribbon.css */

.hpr-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1;
}

.hpr-ribbon__img {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    align-self: flex-end;
    vertical-align: unset;
    display: block;
}

.hpr-ribbon__text {
    white-space: nowrap;
}

.hpr-ribbon__btn--desktop {
    display: inline-block;
    padding: 0 16px;
    height: 30px;
    line-height: 30px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

/* Mobile text link — hidden on desktop */
.hpr-ribbon__link--mobile {
    display: none;
}

/* Tablet: shrink font, tighten gap */
@media ( max-width: 900px ) {
    .hpr-ribbon {
        font-size: 12px;
        gap: 8px;
        padding: 0 12px;
    }
}

/* Mobile */
@media ( max-width: 600px ) {
    .hpr-ribbon {
        height: auto;
        min-height: 44px;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 6px 12px;
        font-size: 11px;
    }

    .hpr-ribbon__img {
        display: none;
    }

    .hpr-ribbon__text {
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    /* Hide blue button on mobile */
    .hpr-ribbon__btn--desktop {
        display: none;
    }

    /* Show inline text link on mobile */
    .hpr-ribbon__link--mobile {
        display: inline;
        font-weight: 700;
        text-decoration: underline;
        margin-left: 4px;
    }
}
