/* POP Smart Coupons — Frontend */

.popc-tier-progress {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    margin: 16px 0;
    position: relative;
    height: auto;
}

.popc-tier-track {
    height: 10px;
    background: #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.popc-tier-bar {
    background: linear-gradient(90deg, #0f766e, #115e59);
    height: 100%;
    border-radius: 8px;
    transition: width 0.6s ease;
    min-width: 4px;
}

.popc-tier-msg {
    position: static;
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #134e4a;
    margin: 8px 0 0;
    padding: 0;
    text-shadow: none;
    line-height: 1.4;
}

.popc-flash-banner {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99980;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 40px;
    height: auto;
    padding: 8px 40px 8px 12px;
    background: #0f766e;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .08);
    flex-wrap: wrap;
}
.popc-flash-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    max-width: 58vw;
}
.popc-flash-kicker {
    font-size: 10px;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: .85;
    font-weight: 700;
}
.popc-flash-msg {
    font-weight: 500;
}
.popc-flash-msg-mob {
    display: none;
}
.popc-flash-cta-mob {
    display: none;
}
.popc-flash-cta {
    flex-shrink: 0;
    background: #fff !important;
    color: #0f766e !important;
    text-decoration: none !important;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}
.popc-flash-cta span {
    color: inherit !important;
}
body.popc-has-flash {
    padding-top: 0;
    padding-bottom: 56px;
}
body.popc-has-flash .der-spin-launcher {
    bottom: 140px;
}
.popc-flash-banner[hidden] {
    display: none !important;
}
.popc-flash-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-variant-numeric: tabular-nums;
    background: rgba(0, 0, 0, .18);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    flex-shrink: 0;
}
.popc-flash-tz,
.popc-flash-ends {
    opacity: .8;
    font-weight: 500;
    font-size: 10px;
}
.popc-flash-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: inherit;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: .8;
}

@media (max-width: 600px) {
    .popc-flash-kicker,
    .popc-flash-msg-desk,
    .popc-flash-ends {
        display: none;
    }
    .popc-flash-msg-mob {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 11px;
        line-height: 1.2;
    }
    .popc-flash-copy {
        max-width: none;
        flex: 1 1 auto;
        min-width: 0;
        display: block;
    }
    .popc-flash-banner {
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        gap: 6px;
        min-height: 36px;
        height: 36px;
        padding: 0 28px 0 8px;
        font-size: 12px;
        overflow: hidden;
    }
    .popc-flash-cta-desk {
        display: none;
    }
    .popc-flash-cta-mob {
        display: inline;
    }
    .popc-flash-timer {
        padding: 2px 6px;
        font-size: 11px;
        gap: 4px;
    }
    body.popc-has-flash {
        padding-bottom: 36px;
    }
    body.popc-has-flash .der-spin-launcher {
        bottom: 124px;
    }

    .popc-tier-progress {
        height: auto;
    }

    .popc-tier-msg {
        font-size: 12px;
    }
}
