/* ------------------------------------------------------------
   Limited-time offer banner (Figma: Dapachecker.org › Offer Banner / Compact)
   Rendered by layout/frontend/components/limited-offer-banner.blade.php.
   Note: generic.css resets font-weight / text-decoration on `*`, so every
   element below sets its own weight explicitly.
------------------------------------------------------------- */
.lto-banner {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 48px;
    padding: 0 16px;
    overflow: hidden;
    background: linear-gradient(231.27deg, #d4403a 7.32%, #ce177b 87.33%);
    color: #fff;
}

.lto-banner__offer {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.lto-banner__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 100px;
    background: #fff;
    color: #0a0909;
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
    white-space: nowrap;
}

.lto-banner__badge-star {
    color: #d4403a;
    font-weight: 700;
}

.lto-banner__text {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
}

/* Countdown */
.lto-banner__countdown {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.lto-banner__unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lto-banner__box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 31px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #fff;
    color: #0a0909;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    white-space: nowrap;
}

.lto-banner__label {
    color: #fff;
    font-size: 8px;
    font-weight: 500;
    line-height: 11px;
    text-transform: uppercase;
    white-space: nowrap;
}

.lto-banner__sep {
    width: 3px;
    height: 20px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* CTA */
.lto-banner__link,
.lto-banner__link:hover,
.lto-banner__link:focus,
.lto-banner__link:active {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    white-space: nowrap;
}

.lto-banner__link-text {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: underline;
    text-decoration-thickness: from-font;
    text-underline-position: from-font;
}

.lto-banner__link-arrow {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease;
}

.lto-banner__link:hover .lto-banner__link-arrow {
    transform: translateX(3px);
}

.lto-banner__link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Tablet & below: offer on the first row, countdown + CTA on the second. */
@media (max-width: 767px) {
    .lto-banner {
        flex-wrap: wrap;
        row-gap: 8px;
        column-gap: 20px;
        padding: 8px 16px;
    }

    .lto-banner__offer {
        flex: 1 0 100%;
        justify-content: center;
    }

    .lto-banner__text {
        white-space: normal;
    }
}

@media (max-width: 360px) {
    .lto-banner__offer {
        gap: 8px;
    }

    .lto-banner__text {
        font-size: 13px;
        line-height: 18px;
    }
}
