/* Production UI overrides — chat widget + mobile sale toasts
   Loaded after styles.css by both layouts. */

/* Tawk.to bubble: lift above the mobile bottom nav.
   Tawk re-applies its own inline transform every frame, so the layouts also
   ship a small #tawk-lift watcher that re-asserts this via setProperty(). */
iframe[title="Chat widget"] {
  transform: translateY(-84px) !important;
}

@media (min-width: 992px) {
  iframe[title="Chat widget"] {
    transform: none !important;
  }
}

/* Sale toasts: full-size and readable on mobile (undo compact shrink) */
@media (max-width: 576px) {
  .sale-popups-root {
    max-width: min(320px, calc(100vw - 24px)) !important;
  }
  .sale-toast {
    padding: 0.65rem 0.85rem !important;
    gap: 0.65rem !important;
    border-radius: 12px !important;
  }
  .sale-toast-icon {
    width: 30px !important;
    height: 30px !important;
    font-size: 0.9rem !important;
  }
  .sale-toast-line1 { font-size: 0.78rem !important; }
  .sale-toast-price { font-size: 0.78rem !important; }
  .sale-toast-time { font-size: 0.68rem !important; }
}
