/* Lo que los plugins dibujan en la tienda pública (plugins-tienda.js). Prefijo pt-. Toma la letra y los colores de cada diseño
   (hereda color y fuente); solo los botones flotantes llevan colores propios de cada servicio. */

/* ---------- Botones flotantes: WhatsApp, chat y turnos ---------- */
.pt-flotantes { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pt-flotantes.pt-izquierda { right: auto; left: 18px; align-items: flex-start; }
.pt-flotante { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.pt-whatsapp { width: 56px; height: 56px; padding: 0; background: #25d366; }
.pt-whatsapp::before { content: ''; width: 26px; height: 26px; border: 3px solid #fff; border-radius: 50% 50% 50% 8px; }
.pt-chat { background: #1f2937; }
.pt-calendly { background: #006bff; }

/* ---------- Ficha del producto ---------- */
.pt-cuotas { margin: 10px 0; padding: 10px 12px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 10px; }
.pt-cuotas table { width: 100%; margin-top: 6px; border-collapse: collapse; font-size: 14px; }
.pt-cuotas td { padding: 4px 0; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.pt-cuotas td + td { text-align: right; }
.pt-gris { opacity: 0.7; font-size: 0.92em; }
.pt-stock, .pt-novedades { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.pt-stock b, .pt-novedades b, .pt-stock p, .pt-novedades p { flex-basis: 100%; margin: 0; }
.pt-stock input, .pt-novedades input {
  flex: 1 1 180px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  font: inherit;
}
.pt-stock button, .pt-novedades button { min-height: 40px; padding: 0 16px; border-radius: 8px; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Ventana de novedades ---------- */
.pt-ventana { width: min(420px, calc(100% - 32px)); padding: 24px; border: 0; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); }
.pt-ventana::backdrop { background: rgba(0, 0, 0, 0.45); }
.pt-ventana b { font-size: 1.25em; }
.pt-cerrar { float: right; border: 0; background: none; font-size: 18px; cursor: pointer; }

/* ---------- Confirmación del pedido ---------- */
.pt-pago { margin: 14px 0; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 12px; text-align: left; }
.pt-pago p { margin: 6px 0; }
.pt-pago code { font-size: 1.05em; font-weight: 600; }
.pt-copiar { margin-left: 6px; padding: 2px 10px; border-radius: 6px; font: inherit; font-size: 0.85em; cursor: pointer; }
.pt-boton {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.pt-suscribir .pt-boton { background: #1f2937; }

/* ---------- Reseñas y sellos ---------- */
.pt-resenas { max-width: 1200px; margin: 32px auto; padding: 0 16px; }
.pt-resenas-cabeza { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.pt-resenas-cabeza h2 { flex-basis: 100%; margin: 0; }
.pt-estrellas { color: #f5a400; letter-spacing: 2px; }
.pt-resenas-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.pt-resena { margin: 0; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 12px; }
.pt-resena blockquote { margin: 8px 0; font-size: 0.95em; }
.pt-resena figcaption { opacity: 0.7; font-size: 0.85em; }
.pt-sellos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1200px; margin: 24px auto; padding: 0 16px; }
.pt-sello { padding: 8px 14px; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 999px; color: inherit; font-size: 0.9em; text-decoration: none; }
.pt-sello::before { content: '✔ '; color: #059669; }

@media (max-width: 700px) {
  .pt-flotantes { right: 12px; bottom: 12px; }
  .pt-flotantes.pt-izquierda { left: 12px; }
}
