﻿*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue: #1a56db;
    --blue-dark: #1447c0;
    --blue-light: #eff6ff;
    --navy: #1e2535;
    --white: #ffffff;
    --grey-soft: #f8fafc;
    --grey-bdr: #e2e8f0;
    --text-dark: #0f172a;
    --text-muted: #94a3b8;
    --orange: #FF6B35;
    --orange-dark: #e85d28;
}

body {
    font-family: 'Manrope', sans-serif;
    background: #f0f4f8;
    min-height: 100vh;
}

/* ─── BANNER OUTER — collapses on dismiss ─── */
#i4l-banner-wrap {
    width: 100%;
    background: #f0f4f8;
    padding: 12px 16px;
    max-height: 150px;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.4,0,.2,1), padding .4s ease, opacity .35s ease;
    opacity: 1;
}

    #i4l-banner-wrap.dismissed {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        opacity: 0;
        pointer-events: none;
    }

/* ─── BANNER CARD ─── */
.banner {
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(26,86,219,.14), 0 1px 6px rgba(0,0,0,.07);
    border: 1.5px solid rgba(26,86,219,.14);
    overflow: hidden;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

/* blue top bar */
.banner-topbar {
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%);
    height: 4px;
}

/* entire inner area is a link */
.banner-link {
    display: flex;
    align-items: center;
    padding: 10px 14px 10px 18px;
    gap: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s;
}

    .banner-link:hover {
        background: #fafbff;
    }

/* ─── GET DISCOUNT CODE BUTTON ─── */
.get-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    color: var(--white);
    border-radius: 100px;
    padding: 8px 18px;
    white-space: nowrap;
    pointer-events: none; /* click handled by parent link */
}

    .get-btn .fire {
        font-size: 16px;
        line-height: 1;
    }

    .get-btn .get-text {
        display: flex;
        flex-direction: column;
        gap: 0px;
        line-height: 1.15;
    }

.get-top {
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    opacity: .88;
}

.get-main {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* divider */
.vdivider {
    width: 1px;
    align-self: stretch;
    background: var(--grey-bdr);
    flex-shrink: 0;
}

/* ─── COUNTDOWN ─── */
.countdown-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.expires-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--text-muted);
}

.countdown {
    display: flex;
    align-items: center;
    gap: 3px;
}

.count-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.count-num {
    background: var(--blue-light);
    border: 1.5px solid rgba(26,86,219,.2);
    border-radius: 6px;
    width: 38px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    color: var(--blue-dark);
    letter-spacing: -.02em;
    position: relative;
    overflow: hidden;
}

    .count-num::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        height: 1px;
        background: rgba(26,86,219,.12);
    }

.count-label {
    font-size: 7.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
}

.count-sep {
    font-size: 16px;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 30px;
    line-height: 1;
}

/* spacer */
.banner-spacer {
    flex: 1;
}

/* ─── VALUE PROP NOTE ─── */
.value-note {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    line-height: 1.35;
    flex-shrink: 0;
    max-width: 220px;
}

    .value-note strong {
        color: var(--blue);
    }

/* ─── SHOP DEALS CTA ─── */
.cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--navy);
    color: var(--white);
    padding: 0 18px;
    height: 38px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none; /* handled by parent link */
    transition: background .2s;
}

.banner-link:hover .cta-btn {
    background: #2c3a52;
    text-decoration: none;
}

/* ─── CLOSE (outside the link) ─── */
.close-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .2s, color .2s;
    z-index: 2;
}

    .close-btn:hover {
        background: #f1f5f9;
        color: #475569;
    }

/* extra right padding on the link so close btn doesn't overlap */
.banner-link {
    padding-right: 48px;
    text-decoration: none;
}

/* ─── MOBILE ─── */
@media (max-width: 640px) {
    .banner-link {
        gap: 10px;
        padding: 10px 44px 10px 12px;
    }

    .get-main {
        font-size: 10px;
    }

    .count-num {
        width: 32px;
        height: 28px;
        font-size: 13px;
    }

    .value-note {
        display: none;
    }

    .vdivider:last-of-type {
        display: none;
    }

    .cta-btn {
        font-size: 10px;
        padding: 0 12px;
    }
}
