document.addEventListener('DOMContentLoaded', function () {
const storageKey = 'fpNotificationBannerDismissed-2026-Ground-Shipping';
function showBannerPadding() {
document.body.classList.add('fpNotificationBanner-is-visible');
}
function hideBannerPadding() {
document.body.classList.remove('fpNotificationBanner-is-visible');
}
if (localStorage.getItem(storageKey)) {
hideBannerPadding();
return;
}
const navLower = document.querySelector('#navlower');
if (!navLower) return;
const banner = document.createElement('section');
banner.id = 'fpNotificationBanner';
banner.className = 'fpNotificationBanner';
banner.innerHTML = `
📦
We are CLOSED Thursday 11/26/2026 for Thanksgiving, and closing early on Friday 11/27/2026. Friday same-day shipping cutoff is 12pm CST/1pm EST.
`;
navLower.insertAdjacentElement('afterend', banner);
showBannerPadding();
banner.querySelector('.fpNotificationBanner-close')
.addEventListener('click', function () {
banner.remove();
hideBannerPadding();
localStorage.setItem(storageKey, 'true');
});
});
—>