#opening-offer-root {
  --offer-ink: #332a25;
  --offer-muted: #71665e;
  --offer-paper: #fffdfa;
  --offer-line: #e5dcd2;
  --offer-accent: #c94e2d;
  position: fixed;
  z-index: 998;
  left: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  width: min(22rem, calc(100% - 2rem));
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--offer-line);
  border-top: 4px solid var(--offer-accent);
  border-radius: 0.75rem;
  background: var(--offer-paper);
  color: var(--offer-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 18px 55px rgb(47 34 26 / 20%);
  animation: opening-offer-in 360ms ease-out both;
}
#opening-offer-root *, #opening-offer-root *::before, #opening-offer-root *::after { box-sizing: border-box; }
#opening-offer-root p { margin: 0; }
#opening-offer-root h2 {
  margin: 0.2rem 0 0;
  padding-right: 1.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
}
.opening-offer-eyebrow { color: var(--offer-accent); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.opening-offer-body { margin-top: 0.55rem !important; color: var(--offer-muted); font-size: 0.875rem; line-height: 1.5; }
.opening-offer-meter { height: 0.5rem; margin-top: 0.9rem; overflow: hidden; border-radius: 999px; background: #efe6dc; }
.opening-offer-meter span { display: block; height: 100%; border-radius: inherit; background: var(--offer-accent); }
.opening-offer-left { margin-top: 0.4rem !important; font-size: 0.85rem; font-weight: 700; }
.opening-offer-cta {
  display: flex; min-height: 2.75rem; margin-top: 0.85rem; align-items: center; justify-content: center;
  border-radius: 0.4rem; background: var(--offer-accent); color: #fff; font-size: 0.9rem; font-weight: 700; text-decoration: none;
}
.opening-offer-cta:hover { background: #b0431f; }
.opening-offer-cta:focus-visible, .opening-offer-close:focus-visible { outline: 3px solid #332a25; outline-offset: 2px; }
.opening-offer-terms { margin-top: 0.7rem !important; color: var(--offer-muted); font-size: 0.72rem; line-height: 1.4; }
.opening-offer-close {
  position: absolute; top: 0.5rem; right: 0.5rem; width: 2.5rem; height: 2.5rem; border: 0; border-radius: 999px;
  background: transparent; color: var(--offer-muted); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.opening-offer-close:hover { background: #f6f0e9; color: var(--offer-ink); }
@media (max-width: 640px) {
  #opening-offer-root { left: 0.5rem; bottom: calc(4.25rem + env(safe-area-inset-bottom)); width: calc(100% - 1rem); }
}
@keyframes opening-offer-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #opening-offer-root { animation: none; } }
