/** WhatsApp flotante */

/* ── Sistema de precios v2 ───────────────────────────────── */

/* Oculta precios hasta que el JS los aplique (evita flash de texto vacío) */
html.zoway-prices-js:not(.zoway-prices-ready) [data-price],
html.zoway-prices-js:not(.zoway-prices-ready) [data-price-total],
html.zoway-prices-js:not(.zoway-prices-ready) a[data-price-link] {
  visibility: hidden !important;
}

/* Skeleton loader para precios que esperan la API de MeLi */
@keyframes zoway-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.price-skeleton {
  display: inline-block !important;
  min-width: 80px;
  min-height: 1em;
  border-radius: 6px;
  color: transparent !important;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.06) 25%,
    rgba(255,255,255,.14) 50%,
    rgba(255,255,255,.06) 75%
  );
  background-size: 200% 100%;
  animation: zoway-shimmer 1.4s ease infinite;
  pointer-events: none;
  user-select: none;
}

/* Precio que faltó en el JSON */
.price-missing {
  color: #9ca3af;
  font-style: italic;
  font-size: .85em;
}

a.wa-float {
  background: #25d366 !important;
  color: #fff !important;
}

a.wa-float:active {
  background: #128c7e !important;
  color: #fff !important;
}

a.wa-float:hover {
  filter: brightness(1.06);
}

.marquee-content {
  color: #111 !important;
}

.marquee-bar .city-name {
  color: #e11d48 !important;
}

.seo-localities {
  max-width: 56rem;
  margin: 1.25rem auto 1.5rem;
  padding: 0 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #555;
}

.seo-localities summary {
  cursor: pointer;
  font-weight: 600;
  color: #333;
  list-style-position: outside;
}

.theme-night .seo-localities {
  color: #a1a1aa;
}

.theme-night .seo-localities summary {
  color: #e4e4e7;
}

.footer-social {
  margin: 0.75rem 0 1rem;
}

.footer-social__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  justify-content: center;
  align-items: center;
}

.footer-social__link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-social__link:hover {
  color: #e11d48;
  border-color: rgba(225, 29, 72, 0.35);
  background: rgba(225, 29, 72, 0.04);
}

.theme-night .footer-social__link {
  color: #a1a1aa;
  border-color: rgba(255, 255, 255, 0.12);
}

.theme-night .footer-social__link:hover {
  color: #fda4af;
  border-color: rgba(253, 164, 175, 0.45);
  background: rgba(225, 29, 72, 0.12);
}
