/* ETL Holiday Banner — Centered pill v5 (2026-04-24)
   Sits in center strip between logo and search controls. Glass + rounded. */

.etl-holiday-banner {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6600; /* above nav (6500) but doesn't cover its sides */
  width: auto;
  max-width: calc(100vw - 540px);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(26px);
  -webkit-backdrop-filter: saturate(180%) blur(26px);
  color: #1D1D1B;
  font-family: "Instrument Sans", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.05),
    0 10px 32px -10px rgba(229, 38, 41, 0.22);
  animation: etl-banner-slide-down 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes etl-banner-slide-down {
  from {
    transform: translateX(-50%) translateY(-130%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.etl-holiday-banner__inner {
  padding: 7px 38px 7px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
}

.etl-holiday-banner__text {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}

.etl-holiday-banner__label {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: #E52629;
  color: #fff;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(229, 38, 41, 0.4);
}

.etl-holiday-banner__msg {
  color: #2a2a28;
  font-size: 13px;
  white-space: nowrap;
}
.etl-holiday-banner__msg strong {
  color: #1D1D1B;
  font-weight: 600;
}

/* Divider */
.etl-holiday-banner__divider {
  width: 1px;
  height: 18px;
  background: rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

/* Contact chips — compact icon-only with tooltip on hover */
.etl-holiday-banner__contacts {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.etl-holiday-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  color: #1D1D1B;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.etl-holiday-banner__chip:hover {
  background: rgba(229, 38, 41, 0.1);
  color: #E52629;
}
.etl-holiday-banner__chip:focus-visible {
  outline: 2px solid #E52629;
  outline-offset: 2px;
}
.etl-holiday-banner__chip svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #6b6b69;
  transition: color 0.15s ease;
}
.etl-holiday-banner__chip:hover svg {
  color: #E52629;
}

/* Close button */
.etl-holiday-banner__close {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: #6b6b69;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.etl-holiday-banner__close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #1D1D1B;
}
.etl-holiday-banner__close:focus-visible {
  outline: 2px solid #E52629;
  outline-offset: 2px;
}
.etl-holiday-banner__close svg {
  width: 13px;
  height: 13px;
}

/* Tablet — full text preserved, narrower spacing */
@media (max-width: 1100px) {
  .etl-holiday-banner {
    max-width: calc(100vw - 360px);
    font-size: 12.5px;
  }
  .etl-holiday-banner__msg {
    font-size: 12.5px;
  }
  .etl-holiday-banner__chip {
    padding: 4px 8px;
    font-size: 12px;
  }
}

/* Mobile — switch to full-width strip BELOW nav */
@media (max-width: 768px) {
  .etl-holiday-banner {
    position: fixed;
    top: 64px; /* below mobile nav */
    left: 0;
    right: 0;
    transform: none;
    max-width: 100%;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.12);
    animation: etl-banner-slide-mobile 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  @keyframes etl-banner-slide-mobile {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  .etl-holiday-banner__inner {
    padding: 8px 36px 8px 12px;
    overflow: visible;
    flex-wrap: wrap;
    white-space: normal;
  }
  .etl-holiday-banner__text {
    flex-wrap: wrap;
    width: 100%;
  }
  .etl-holiday-banner__msg {
    white-space: normal;
    font-size: 12px;
  }
  .etl-holiday-banner__divider {
    display: none;
  }
  .etl-holiday-banner__contacts {
    width: 100%;
    margin-top: 4px;
    gap: 2px;
  }
  .etl-holiday-banner__chip span {
    display: inline;
    font-size: 11.5px;
  }
  .etl-holiday-banner__chip {
    padding: 3px 7px;
  }
  .etl-holiday-banner__chip svg {
    width: 12px;
    height: 12px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .etl-holiday-banner,
  .etl-holiday-banner__chip,
  .etl-holiday-banner__close {
    animation: none !important;
    transition: none !important;
  }
}

/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .etl-holiday-banner {
    background: rgba(255, 255, 255, 0.97);
  }
}

/* Dark theme */
html[data-theme="dark"] .etl-holiday-banner {
  background: rgba(28, 28, 32, 0.78);
  color: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 8px 28px -10px rgba(229, 38, 41, 0.3);
}
html[data-theme="dark"] .etl-holiday-banner__msg {
  color: rgba(255, 255, 255, 0.78);
}
html[data-theme="dark"] .etl-holiday-banner__msg strong {
  color: #fff;
}
html[data-theme="dark"] .etl-holiday-banner__divider {
  background: rgba(255, 255, 255, 0.12);
}
html[data-theme="dark"] .etl-holiday-banner__chip {
  color: rgba(255, 255, 255, 0.94);
}
html[data-theme="dark"] .etl-holiday-banner__chip svg {
  color: rgba(255, 255, 255, 0.55);
}
html[data-theme="dark"] .etl-holiday-banner__chip:hover {
  background: rgba(229, 38, 41, 0.18);
  color: #ff6063;
}
html[data-theme="dark"] .etl-holiday-banner__chip:hover svg {
  color: #ff6063;
}
html[data-theme="dark"] .etl-holiday-banner__close {
  color: rgba(255, 255, 255, 0.55);
}
html[data-theme="dark"] .etl-holiday-banner__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html[data-theme="dark"] .etl-holiday-banner {
    background: rgba(28, 28, 32, 0.97);
  }
}
