/*
 * banner.css — the site banner (banner.php, operator 2026-10-21). Its three colours are staff's, set on the
 * element as --ncllc-banner-bg / -fg / -link. Top: in the page's flow above the header. Bottom: fixed to
 * the screen; banner.js sets --ncllc-banner-h so the page, the side cart's button and the product page's
 * add bar make room. Outside the theme's content containers, so its link/paragraph rules never reach it.
 */
.ncllc-banner {
  position: relative; z-index: 9989; box-sizing: border-box; width: 100%; margin: 0;
  padding: 9px 52px 9px 16px; background: var(--ncllc-banner-bg, #14532d); color: var(--ncllc-banner-fg, #fff);
  font-size: 15px; line-height: 1.4; font-weight: 600; text-align: center;
}
.ncllc-banner--bottom { position: fixed; left: 0; right: 0; bottom: 0; box-shadow: 0 -4px 16px rgba(0, 0, 0, .18); }
.ncllc-banner__msgs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 0; max-width: 1200px; margin: 0 auto; }
.ncllc-banner .ncllc-banner__msg { margin: 0; padding: 0; color: inherit; font: inherit; }
/* Wide screens: one line, a bullet between messages. */
.ncllc-banner .ncllc-banner__msg + .ncllc-banner__msg::before { content: "\2022"; margin: 0 14px; opacity: .7; }
.ncllc-banner .ncllc-banner__link,
.ncllc-banner .ncllc-banner__link:visited {
  color: var(--ncllc-banner-link, #f6c453); font-weight: 800; text-decoration: underline; text-underline-offset: 3px;
  background: none; white-space: nowrap;
}
.ncllc-banner .ncllc-banner__link:hover { text-decoration-thickness: 2px; }
.ncllc-banner .ncllc-banner__link:focus-visible,
.ncllc-banner .ncllc-banner__close:focus-visible,
.ncllc-banner .ncllc-banner__step:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.ncllc-banner .ncllc-banner__close,
.ncllc-banner .ncllc-banner__step {
  position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0; padding: 0;
  color: inherit; background: transparent; border: 0; border-radius: 22px; box-shadow: none;
  font-size: 26px; line-height: 1; cursor: pointer; opacity: .85;
}
.ncllc-banner .ncllc-banner__close:hover,
.ncllc-banner .ncllc-banner__step:hover { opacity: 1; background: rgba(255, 255, 255, .14); }
.ncllc-banner .ncllc-banner__step[hidden] { display: none; }
/* ‹ › (banner.js: visitors who ask for less motion step through the messages themselves). */
.ncllc-banner .ncllc-banner__step { font-size: 30px; }
.ncllc-banner .ncllc-banner__step--prev { right: auto; left: 4px; }
.ncllc-banner .ncllc-banner__step--next { right: 48px; }

/* Phones: one message a line. */
@media (max-width: 600px) {
  .ncllc-banner { padding: 8px 46px 8px 12px; font-size: 14px; }
  .ncllc-banner__msgs { flex-direction: column; gap: 4px; }
  .ncllc-banner .ncllc-banner__msg + .ncllc-banner__msg::before { content: none; }
}
/* Messages that do not fit on one line (banner-logic.js; on a phone, two or more): one at a time, on
   every screen. The others are hidden from sight only — a screen reader still reads every message, and
   a link tabbed into becomes the one shown. */
.ncllc-banner--one .ncllc-banner__msg:not(.is-current) {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.ncllc-banner--one .ncllc-banner__msg + .ncllc-banner__msg::before { content: none; }
.ncllc-banner.ncllc-banner--stepping { padding-left: 52px; padding-right: 96px; }
@media (max-width: 600px) {
  .ncllc-banner.ncllc-banner--stepping { padding-left: 48px; padding-right: 92px; }
}
@media (prefers-reduced-motion: no-preference) {
  /* Only when it moves on (banner.js), never when the layout is redone. */
  .ncllc-banner--one .ncllc-banner__msg.is-current.is-entering { animation: ncllc-banner-in .35s ease-out; }
}
@keyframes ncllc-banner-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* At the bottom: room for it, and the other things fixed to the bottom of the screen sit above it. */
html.ncllc-banner-bottom body { padding-bottom: var(--ncllc-banner-h, 0); }
html.ncllc-banner-bottom #fkcart-floating-toggler { bottom: calc(36px + var(--ncllc-banner-h, 0px)) !important; }
html.ncllc-banner-bottom .ncllc-sf-bar { bottom: var(--ncllc-banner-h, 0); }

@media (prefers-reduced-motion: no-preference) {
  .ncllc-banner .ncllc-banner__close { transition: opacity .15s, background-color .15s; }
}
@media print { .ncllc-banner { display: none; } }
