/* In-page suggestions use the shared Pragma Global brand tokens. */
.timed-cta {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 4;
  width: min(370px, calc(100vw - 40px));
  max-height: calc(100vh - 150px);
  max-height: calc(100dvh - 150px);
  overflow-y: auto;
  padding: 24px;
  border: 1px solid var(--l);
  border-top: 4px solid var(--g);
  border-radius: 10px;
  background: #fff;
  color: var(--i);
  box-shadow: 0 12px 36px rgba(6, 41, 70, .2);
}

.timed-cta[hidden],
.timed-cta [hidden] { display: none !important; }

.timed-cta .timed-cta__brand {
  margin: 0 44px 16px 0;
  color: var(--g);
  font-size: .68rem;
  letter-spacing: .1em;
}

.timed-cta .timed-cta__title {
  margin: 0;
  color: var(--n);
  font: 600 1.35rem/1.3 'Playfair Display', Georgia, serif;
  overflow-wrap: anywhere;
}

.timed-cta .btn {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.timed-cta .btn:hover { background: #005d31; }

.timed-cta__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--n);
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}

.timed-cta__close:hover { background: var(--p); color: var(--g); }
.timed-cta :focus-visible { outline: 3px solid #8b5e00; outline-offset: 3px; }

.timed-cta-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 580px) {
  .timed-cta {
    right: max(16px, env(safe-area-inset-right));
    left: max(16px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    padding: 20px;
  }
  .timed-cta .timed-cta__title { font-size: 1.2rem; }
}
