#homeart-promo-notice[hidden] {
    display: none !important;
}

#homeart-promo-space {
    height: var(--homeart-promo-space, 0px);
}

#homeart-promo-notice {
    box-sizing: border-box;
    position: fixed;
    top: calc(var(--homeart-admin-bar, 0px) + 12px + env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 99990;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto 28px;
    align-items: center;
    gap: 28px;
    width: calc(100% - 40px);
    max-width: 1160px;
    padding: 17px 20px 17px 26px;
    border: 1px solid rgba(198, 174, 113, .5);
    border-radius: 12px;
    background: #252722;
    color: #fffdf7;
    box-shadow: 0 8px 30px rgba(25, 28, 20, .18);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

.homeart-promo__message,
.homeart-promo__timer {
    display: flex;
    flex-direction: column;
}

.homeart-promo__eyebrow {
    margin-bottom: 3px;
    color: #d6c18c;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .16em;
}

.homeart-promo__title {
    color: inherit;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

.homeart-promo__title > span {
    color: #e5cc91;
}

.homeart-promo__dates {
    margin-top: 4px;
    color: #dfdfd5;
    font-size: 11px;
}

.homeart-promo__timer {
    gap: 2px;
    padding-left: 26px;
    border-left: 1px solid rgba(255, 255, 255, .18);
    color: #dfdfd5;
    font-size: 11px;
    white-space: nowrap;
}

.homeart-promo__timer strong {
    min-width: 124px;
    color: #fffdf7;
    font-size: 17px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

#homeart-promo-notice .homeart-promo__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 19px;
    border: 1px solid #e5cc91;
    border-radius: 5px;
    background: #e5cc91;
    color: #252722;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

#homeart-promo-notice .homeart-promo__link:hover {
    background: #f0ddb1;
    border-color: #f0ddb1;
    color: #252722;
}

#homeart-promo-notice .homeart-promo__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 44px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #dfdfd5;
    font-family: inherit;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

#homeart-promo-notice .homeart-promo__close:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

#homeart-promo-notice a:focus-visible,
#homeart-promo-notice button:focus-visible {
    outline: 2px solid #fffdf7;
    outline-offset: 4px;
}

/* Stockie's sticky header must sit below the floating announcement. */
body.homeart-promo-visible #masthead.site-header.header-fixed {
    top: calc(var(--homeart-admin-bar, 0px) + var(--homeart-promo-space, 0px)) !important;
}

@media (max-width: 767px) {
    #homeart-promo-notice {
        grid-template-columns: minmax(0, 1fr) auto 28px;
        gap: 12px 14px;
        width: calc(100% - 24px);
        padding: 14px 14px 14px 18px;
    }

    .homeart-promo__message {
        grid-column: 1 / 3;
    }

    .homeart-promo__title {
        font-size: 17px;
    }

    .homeart-promo__dates {
        font-size: 10px;
    }

    .homeart-promo__timer {
        grid-row: 2;
        padding-left: 0;
        border: 0;
        font-size: 10px;
    }

    .homeart-promo__timer strong {
        min-width: 0;
        font-size: 15px;
    }

    #homeart-promo-notice .homeart-promo__link {
        grid-column: 2 / 4;
        grid-row: 2;
        min-height: 44px;
        padding: 10px 12px;
        gap: 10px;
    }

    #homeart-promo-notice .homeart-promo__close {
        grid-column: 3;
        grid-row: 1;
        align-self: start;
        margin-top: -8px;
    }
}
