html.idealbeds-promo-visible body {
    padding-top: var(--idealbeds-promo-height, 42px);
}

#upd .idealbeds-promo-bar {
    display: none;
    position: relative;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    background: #b9926b;
    color: #111111;
    font-family: 'Circe', sans-serif;
    z-index: 2;
}

html.idealbeds-promo-visible #upd .idealbeds-promo-bar {
    display: flex;
    align-items: center;
}

#upd .idealbeds-promo-bar__link {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 48px;
    color: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
}

#upd .idealbeds-promo-bar__link:hover {
    text-decoration: underline;
}

#upd .idealbeds-promo-bar__text {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

#upd .idealbeds-promo-bar__text--mobile {
    display: none;
}

#upd .idealbeds-promo-bar__arrow {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

#upd .idealbeds-promo-bar__close {
    position: absolute;
    top: 50%;
    right: 5px;
    width: 36px;
    height: 36px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    background: none;
    color: inherit;
    font: 26px/1 Arial, sans-serif;
    cursor: pointer;
}

#upd .idealbeds-promo-bar__link:focus-visible,
#upd .idealbeds-promo-bar__close:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -3px;
}

@media (max-width: 768px) {
    #upd .idealbeds-promo-bar__link {
        gap: 8px;
        padding: 8px 58px 8px 43px;
        font-size: 16px;
        line-height: 21px;
    }

    #upd .idealbeds-promo-bar__text--desktop {
        display: none;
    }

    #upd .idealbeds-promo-bar__text--mobile {
        display: block;
    }
}
