/* Summer / promo badge — top-left on product card image */
.tvproduct-wrapper .tvproduct-image {
    position: relative;
}

.gs-card-banner {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 20px);
    width: auto;
    margin: 0;
    padding: 6px 10px;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    pointer-events: none;
    overflow: hidden;
}

.gs-card-banner-icon {
    flex-shrink: 0;
    display: block;
}

.gs-card-banner-text {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 11rem;
}

/* Admin / static preview (non-absolute) */
.gs-card-banner-preview {
    position: static !important;
    display: inline-flex;
    max-width: 100%;
    pointer-events: auto;
    box-shadow: none;
}

.lang-rtl .gs-card-banner {
    left: auto;
    right: 10px;
}

@media (max-width: 767px) {
    .gs-card-banner {
        top: 8px;
        left: 8px;
        padding: 5px 8px;
        font-size: 9px;
        border-radius: 8px;
        gap: 4px;
    }

    .gs-card-banner-icon {
        width: 12px;
        height: 12px;
    }

    .gs-card-banner-text {
        max-width: 8.5rem;
    }

    .lang-rtl .gs-card-banner {
        left: auto;
        right: 8px;
    }
}

/* Compact cards (side products) */
.tvleft-right-product-slider .gs-card-banner {
    top: 6px;
    left: 6px;
    padding: 4px 7px;
    font-size: 8px;
}

.tvleft-right-product-slider .gs-card-banner-text {
    max-width: 5.5rem;
}
