/* Offers tab, WhatsApp button, mobile bottom nav, toasts */

.offers-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: var(--z-sticky);
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: 1rem .55rem;
  min-width: 40px;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 0 12px 12px 0;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: var(--shadow-2);
  transition: padding var(--dur) var(--ease-out), box-shadow var(--dur);
}
.offers-tab .icon { transform: rotate(90deg); width: 1.05rem; height: 1.05rem; }
.offers-tab:hover { padding-right: .8rem; box-shadow: var(--glow); }
@media (max-width: 767.98px) {
  .offers-tab { top: auto; bottom: calc(var(--bottom-nav-h) + 96px); transform: rotate(180deg); padding: .8rem .45rem; }
}

.wa-fab {
  position: fixed;
  left: 16px;
  bottom: calc(16px + var(--bottom-nav-h) + env(safe-area-inset-bottom));
  z-index: var(--z-sticky);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--accent-ink);
  box-shadow: var(--shadow-2);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur);
}
[data-theme="light"] .wa-fab { color: var(--surface-2); }
.wa-fab .icon { width: 28px; height: 28px; }
.wa-fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 30px color-mix(in srgb, var(--mint) 40%, transparent); }

/* ── Mobile bottom nav ── */
.bottom-nav { display: none; }
@media (max-width: 767.98px) {
  .bottom-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-header);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--glass);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-top: 1px solid var(--border);
  }
}
.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--dur);
}
.bottom-nav__item .icon { width: 22px; height: 22px; }
.bottom-nav__item[aria-current="page"] { color: var(--accent-text); }
.bottom-nav__item[aria-current="page"] .icon { stroke-width: 2.25; }

/* ── Toasts ── */
.toasts {
  position: fixed;
  left: 50%;
  bottom: calc(24px + var(--bottom-nav-h));
  z-index: var(--z-toast);
  display: grid;
  gap: .5rem;
  width: min(420px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  background: var(--text);
  color: var(--bg);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--shadow-3);
  pointer-events: auto;
  animation: toast-in 360ms var(--ease-out);
}
.toast .icon { flex-shrink: 0; }
.toast--success .icon { color: var(--toast-ok); }
.toast--error .icon { color: var(--toast-err); }
.toast__action { margin-left: auto; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.toast.is-out { animation: toast-out 260ms var(--ease-in-out) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.97); } }
