#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 1100;
  background: var(--fg);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--r);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast-icon { font-size: 1rem; }

#live-toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

[dir="rtl"] #live-toast-container {
  left: auto;
  right: 24px;
}

.live-activity-toast {
  background: rgba(18, 12, 14, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  max-width: 360px;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

[dir="rtl"] .live-activity-toast {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-right: 3px solid var(--accent);
}

.live-activity-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.lat-img {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: #221a1f;
}
.lat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lat-info {
  flex: 1;
  min-width: 0;
}
.lat-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.lat-city {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}
.lat-item {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lat-item strong {
  color: var(--accent);
}
.lat-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 2px;
}
.lat-verified {
  color: var(--green);
  font-weight: 600;
}

.lat-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 4px;
}
.lat-close:hover { color: var(--white); }

#floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #000;
  padding: 10px 18px 10px 14px;
  border-radius: 100px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity 0.25s ease;
}

[dir="rtl"] #floating-whatsapp {
  right: auto;
  left: 24px;
}

#floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.55);
}

body.cart-open #floating-whatsapp {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(20px) !important;
}

.fwa-icon {
  font-size: 1.3rem;
  line-height: 1;
}
