/* Homepage offers: above the mobile call bar and below navigation/lightbox. */
.offer-popup {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 96;
  width: min(360px, calc(100% - 32px));
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  padding: 22px;
  background: var(--cream);
  color: var(--forest-dark);
  border: 1px solid var(--cream-dark);
  border-top: 3px solid var(--amber);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(15, 35, 18, 0.24);
  animation: offer-arrive 450ms ease-out both;
}
.offer-popup[hidden] { display: none; }
.offer-popup-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--forest);
  font: 28px var(--sans);
  cursor: pointer;
  border-radius: 4px;
}
.offer-popup-close:hover { background: var(--cream-dark); }
.offer-popup-eyebrow { margin: 0 24px 7px 0; font-size: 10px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--sage); }
.offer-popup h2 { margin: 0 20px 14px 0; font: 600 24px/1.25 var(--serif); }
.offer-popup-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 0; border-top: 1px solid var(--cream-dark); color: var(--forest); text-decoration: none; }
.offer-popup-link strong { display: block; font-size: 16px; }
.offer-popup-link span span { display: block; margin: 2px 0 5px; color: var(--text-muted); font-size: 13px; line-height: 1.4; }
.offer-popup-link b { font-size: 13px; font-weight: 600; }
.offer-popup-link > span:last-child { font-size: 22px; }
.offer-popup-link:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.offer-popup :focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
@keyframes offer-arrive {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  .offer-popup { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 184px - env(safe-area-inset-bottom)); padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-popup { animation: none; }
}
