.mobile-offer-cta { display: none; }

@media (max-width: 700px) {
  .mobile-offer-cta {
    position: fixed;
    z-index: 70;
    left: 8px;
    right: 8px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    height: clamp(48px, 12vw, 60px);
    padding: 4px 8px 4px clamp(14px, 4.3vw, 18px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1.5px solid #253346;
    border-radius: 999px;
    background: #f8f7f1;
    color: #253346;
    box-shadow: 0 3px 12px rgba(9,24,38,.12);
    font: clamp(12px, 3.55vw, 16px)/1.05 var(--serif);
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 34px));
    transition: opacity .38s ease, transform .5s cubic-bezier(.2,.8,.2,1), visibility .5s;
  }

  .mobile-offer-cta.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-offer-cta:hover,
  .mobile-offer-cta:focus-visible { background: #f0eee6; }

  .mobile-offer-arrow {
    width: clamp(34px, 9vw, 44px);
    height: clamp(34px, 9vw, 44px);
    flex: 0 0 clamp(34px, 9vw, 44px);
    display: grid;
    place-items: center;
    border: 1.5px solid #253346;
    border-radius: 50%;
    background: transparent;
    color: #253346;
  }

  .mobile-offer-arrow svg { width: clamp(18px, 5vw, 25px); height: 14px; }

  body:has(#offer-dialog[open]) .mobile-offer-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body:has(.mobile-offer-cta.is-visible) footer { padding-bottom: calc(105px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-offer-cta { transition: none; }
}
