/* ============================================================
   HEADER STRIPS — Special Offer Strip + Mini Top Header
   Desktop (.weblizar-offer-shell) untouched.
   Mobile uses separate markup: .weblizar-offer-shell-mobile
   ============================================================ */


/* ============================================================
   1. SPECIAL OFFER STRIP — SHARED / DESKTOP BASE STYLES
   ============================================================ */

.container-fluid.weblizar-offer {
    background: #050505;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
    position: relative;
    z-index: 999;
}

.container-fluid.weblizar-offer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(255, 193, 7, .06),
            transparent 35%,
            transparent 65%,
            rgba(79, 70, 229, .08));
    pointer-events: none;
}

/* Desktop / mobile wrapper visibility */
.header_for_desktop {
    display: block;
}

.header_for_mobile {
    display: none;
}

/* ---------- DESKTOP SHELL (untouched) ---------- */

.weblizar-offer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.weblizar-offer-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Badge (shared look, used by both desktop and mobile) */
.weblizar-offer-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #FFC107;
    color: #111;
    border-radius: 50px;
    padding: 5px 10px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(255, 193, 7, .25);
}

.offer-badge-icon {
    color: #111;
    font-size: 14px;
}

.offer-badge-text {
    color: #111;
    letter-spacing: .5px;
    font-size: 12px;
}

/* Links (shared look) */
.weblizar-offer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.offer-link {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #111;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 5px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    transition: .3s;
}

.offer-link:hover {
    transform: translateY(-2px);
    background: #181818;
    border-color: #FFC107;
    box-shadow: 0 8px 18px rgba(255, 193, 7, .12);
}

.offer-link i {
    color: #FFC107;
    font-size: 11px;
}

.offer-link-text {
    color: #fff;
    font-weight: 600;
}

.offer-link-price {
    color: #FFC107;
    font-weight: 700;
    margin-left: 2px;
}

/* CTA (shared look) */
.weblizar-offer-cta {
    background: linear-gradient(135deg, #FFC107, #FFD54F);
    color: #111;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;
    width: auto;
    transition: .3s;
    box-shadow: 0 8px 18px rgba(255, 193, 7, .30);
}

.weblizar-offer-cta:hover {
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 193, 7, .45);
}


/* ============================================================
   2. MINI TOP HEADER — BASE (DESKTOP) STYLES
   ============================================================ */

.mini-top-header {
    background: #111;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    padding: 6px 0;
}

.mini-top-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.mini-top-header-item,
.mini-top-header-actions,
.mini-top-header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.mini-top-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ddd;
    background: #1b1b1b;
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .06);
    font-size: 12px;
    text-decoration: none;
}

.mini-top-link:hover {
    color: #fff;
    background: #232323;
}

.mini-top-action {
    border-radius: 12px;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: .3s;
}

.mini-top-action-primary,
a.mini-top-action-primary,
a.mini-top-action-primary:link,
a.mini-top-action-primary:visited {
    background: #ffffff !important;
    color: #000000 !important;
}

.mini-top-action-primary:hover {
    background: #e2e8f0 !important;
    color: #000000 !important;
}

.mini-top-action-secondary,
a.mini-top-action-secondary,
a.mini-top-action-secondary:link,
a.mini-top-action-secondary:visited {
    background: #4F46E5 !important;
    color: #ffffff !important;
}

.mini-top-action-secondary:hover {
    background: #3730a3 !important;
    color: #ffffff !important;
}

.mini-top-auth-link {
    border: 1px solid rgba(255, 255, 255, .08);
    color: #fff;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.mini-top-auth-link:hover {
    background: #1c1c1c;
}

.mini-top-auth-link-alt {
    background: #4F46E5;
    color: #fff;
}

.mini-top-auth-link-alt:hover {
    background: #635BFF;
}


/* ============================================================
   3. MOBILE (≤768px)
   ============================================================ */

@media (max-width: 768px) {

    .header_for_desktop {
        display: none !important;
    }

    .header_for_mobile {
        display: block !important;
    }

    .container-fluid.weblizar-offer {
        padding: 3px 0 !important;
    }

    /* ---------- Mobile Offer Shell: single row, order fixed, low padding ---------- */

    .weblizar-offer-shell-mobile {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 6px;
        padding: 0 8px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        direction: ltr;
        scroll-behavior: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE / old Edge */
    }

    .weblizar-offer-shell-mobile::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
        /* Chrome / Safari / Edge (Chromium) */
    }

    /* Badge — first item, reduced width/padding */
    .weblizar-offer-shell-mobile .weblizar-offer-badge {
        flex: 0 0 auto;
        order: 1;
        gap: 4px;
        padding: 2px 6px;
        white-space: nowrap;
    }

    .weblizar-offer-shell-mobile .offer-badge-icon {
        font-size: 11px;
    }

    .weblizar-offer-shell-mobile .offer-badge-text {
        font-size: 9.5px;
    }

    /* Links wrapper — Themes, Plugins, Bundle in order */
    .weblizar-offer-shell-mobile .weblizar-offer-links {
        display: flex;
        flex-wrap: nowrap;
        flex: 0 0 auto;
        order: 2;
        gap: 5px;
    }

    .weblizar-offer-shell-mobile .offer-link {
        flex: 0 0 auto;
        white-space: nowrap;
        gap: 3px;
        padding: 2px 6px;
        font-size: 9.5px;
    }

    .weblizar-offer-shell-mobile .offer-link i {
        font-size: 9px;
    }

    .weblizar-offer-shell-mobile .offer-link-price {
        font-size: 9px;
    }

    /* CTA — last item, width auto */
    .weblizar-offer-shell-mobile .weblizar-offer-cta {
        flex: 0 0 auto;
        order: 3;
        width: auto;
        white-space: nowrap;
        padding: 3px 10px;
        font-size: 9.5px;
    }

    /* ---------- Mini Top Header on mobile ---------- */

    .mini-top-header {
        padding: 3px 0;
    }

    .mini-top-header-bar {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        direction: ltr;
        scroll-behavior: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .mini-top-header-bar::-webkit-scrollbar {
        width: 0;
        height: 0;
        display: none;
    }

    .mini-top-header-item,
    .mini-top-header-actions,
    .mini-top-header-auth {
        flex-wrap: nowrap;
        flex-shrink: 0;
        gap: 5px;
    }

    .mini-top-link,
    .mini-top-action,
    .mini-top-auth-link {
        flex-shrink: 0;
        white-space: nowrap;
        padding: 3px 8px;
        font-size: 9.5px;
    }
}