.lj-bw-strip,
.lj-bw-topbar,
.lj-bw-topbar *,
.lj-bw-dialog,
.lj-bw-dialog * {
    box-sizing: border-box;
}

.lj-bw-strip[hidden],
.lj-bw-topbar[hidden],
.lj-bw-dialog:not([open]) {
    display: none !important;
}

.lj-bw-topbar {
    position: relative;
    z-index: 9998;
    width: 100%;
    margin: 0;
    padding: 11px 24px;
    background: #000;
    color: #fff;
    font: 400 14px/1.4 "Instrument Sans", Arial, sans-serif;
    text-align: center;
}

.lj-bw-topbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 24px;
    max-width: 1440px;
    margin: 0 auto;
}

.lj-bw-topbar .lj-bw-topbar__inner p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 16px;
    margin: 0;
    color: inherit;
    font: inherit;
}

.lj-bw-topbar strong {
    font-weight: 600;
    letter-spacing: .07em;
}

.lj-bw-topbar__timer,
.lj-bw-strip__timer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    white-space: nowrap;
}

.lj-bw-topbar__timer b,
.lj-bw-strip__timer b {
    display: inline-block;
    min-width: 144px;
    padding: 7px 12px;
    border: 1px solid #fff;
    border-radius: 6px;
    background: #fff;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    letter-spacing: .015em;
    text-align: center;
}

.lj-bw-topbar .lj-bw-topbar__inner a {
    padding: 2px 0;
    color: inherit;
    font: 600 14px/1.4 "Instrument Sans", Arial, sans-serif;
    letter-spacing: .04em;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.lj-bw-topbar a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.lj-bw-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 24px;
    clear: both;
    width: 100%;
    margin: 0 0 28px;
    padding: 15px 24px;
    border-radius: 14px;
    background: #000;
    color: #fff;
    font: 400 14px/1.4 "Instrument Sans", Arial, sans-serif;
    text-align: center;
}

.lj-bw-strip__title {
    font-size: inherit;
    font-weight: 600;
    letter-spacing: .08em;
}

.lj-bw-strip .lj-bw-strip__offers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 20px;
    margin: 0;
    color: inherit;
    font: inherit;
}

.lj-bw-strip__offers span,
.lj-bw-strip__date {
    white-space: nowrap;
}

.lj-bw-strip__offers b {
    font-weight: 600;
}

.lj-bw-strip .lj-bw-strip__details {
    appearance: none;
    margin: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: 600 14px/1.4 "Instrument Sans", Arial, sans-serif;
    letter-spacing: .04em;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.lj-bw-dialog {
    position: fixed;
    inset: 0;
    width: min(880px, calc(100vw - 40px));
    max-width: none;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 24px;
    background: #000;
    color: #fff;
    box-shadow: 0 24px 100px rgb(0 0 0 / 40%);
    font: 400 16px/1.4 "Instrument Sans", Arial, sans-serif;
}

.lj-bw-dialog::backdrop {
    background: rgb(0 0 0 / 65%);
    backdrop-filter: blur(4px);
}

.lj-bw-dialog__layout {
    display: grid;
    grid-template-columns: .94fr 1.06fr;
    min-height: 540px;
}

.lj-bw-dialog__photo {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #000;
}

.lj-bw-dialog .lj-bw-dialog__photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    border: 0;
    border-radius: 0;
    object-fit: cover;
    object-position: 50% 40%;
}

.lj-bw-dialog__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 40px 32px;
}

.lj-bw-dialog p {
    margin: 0;
    color: inherit;
    font-family: inherit;
}

.lj-bw-dialog .lj-bw-dialog__date {
    margin: 0 0 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .12em;
}

.lj-bw-dialog .lj-bw-dialog__title {
    margin: 0 0 26px;
    color: inherit;
    font: 400 clamp(32px, 4vw, 43px)/1.08 "TANAngletonRegular", "Tan Aegan", Georgia, serif;
    letter-spacing: -.035em;
    text-transform: none;
}

.lj-bw-dialog__title span {
    white-space: nowrap;
}

.lj-bw-dialog__offers {
    display: grid;
    gap: 15px;
    margin-bottom: 22px;
}

.lj-bw-dialog__offers p {
    display: grid;
    grid-template-columns: 112px 1fr;
    align-items: center;
    gap: 12px;
}

.lj-bw-dialog__offers strong {
    font-size: 43px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.055em;
}

.lj-bw-dialog__offers span {
    font-size: 16px;
    line-height: 1.3;
}

.lj-bw-dialog__offers b {
    font-weight: 600;
}

.lj-bw-dialog .lj-bw-dialog__automatic {
    margin-bottom: 18px;
    font-size: 16px;
}

.lj-bw-dialog__countdown {
    margin: -3px 0 18px;
    padding: 13px 0;
    border-top: 1px solid rgb(255 255 255 / 35%);
    border-bottom: 1px solid rgb(255 255 255 / 35%);
    text-align: center;
}

.lj-bw-dialog__countdown > p {
    margin-bottom: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.lj-bw-dialog__clock {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.lj-bw-dialog__clock span {
    display: grid;
    min-width: 0;
    gap: 4px;
    padding: 12px 4px 10px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: #fff;
    color: #000;
}

.lj-bw-dialog__clock b {
    color: inherit;
    font-size: 43px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.lj-bw-dialog__clock small {
    color: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.lj-bw-dialog .lj-bw-dialog__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font: 600 14px/1.3 "Instrument Sans", Arial, sans-serif;
    letter-spacing: .07em;
    text-align: center;
    text-decoration: none;
    transition: background .15s, color .15s;
}

.lj-bw-dialog .lj-bw-dialog__cta:hover {
    background: transparent;
    color: #fff;
}

.lj-bw-dialog .lj-bw-dialog__terms {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.4;
}

.lj-bw-dialog .lj-bw-dialog__close {
    appearance: none;
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #000;
    box-shadow: none;
    cursor: pointer;
}

.lj-bw-dialog__close svg {
    display: block;
    pointer-events: none;
}

.lj-bw-dialog :focus-visible,
.lj-bw-strip :focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

body.lj-bw-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .lj-bw-topbar {
        padding: 10px 16px;
    }

    .lj-bw-topbar__inner {
        gap: 6px 14px;
    }

    .lj-bw-topbar .lj-bw-topbar__inner p {
        flex-basis: 100%;
        gap: 3px 12px;
    }

    .lj-bw-topbar__inner p > span:last-child {
        flex-basis: 100%;
    }

    .lj-bw-strip {
        gap: 8px 16px;
        padding: 14px 16px;
        margin-bottom: 22px;
    }

    .lj-bw-strip__title {
        flex-basis: 100%;
    }

    .lj-bw-strip .lj-bw-strip__offers {
        flex-basis: 100%;
        gap: 6px 16px;
    }

    .lj-bw-dialog {
        width: min(420px, calc(100vw - 24px));
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        border-radius: 20px;
        text-align: center;
    }

    .lj-bw-dialog__layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .lj-bw-dialog__photo {
        height: 170px;
    }

    .lj-bw-dialog .lj-bw-dialog__photo img {
        object-position: 50% 31%;
    }

    .lj-bw-dialog__content {
        padding: 22px 26px 24px;
    }

    .lj-bw-dialog .lj-bw-dialog__date {
        margin-bottom: 12px;
    }

    .lj-bw-dialog .lj-bw-dialog__title {
        margin-bottom: 20px;
        font-size: 32px;
    }

    .lj-bw-dialog__offers {
        gap: 12px;
        margin-bottom: 18px;
    }

    .lj-bw-dialog__offers p {
        grid-template-columns: 102px 1fr;
        width: max-content;
        max-width: 100%;
        margin-inline: auto;
        text-align: left;
    }

    .lj-bw-dialog__offers strong {
        font-size: 32px;
    }

    .lj-bw-dialog__clock b {
        font-size: 32px;
    }

    .lj-bw-dialog .lj-bw-dialog__automatic {
        margin-bottom: 16px;
        font-size: 13px;
    }
}

@media (max-width: 600px) and (max-height: 690px) {
    .lj-bw-dialog__photo {
        height: 120px;
    }

    .lj-bw-dialog__content {
        padding-block: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lj-bw-dialog .lj-bw-dialog__cta {
        transition: none;
    }
}
