/* Botones para compartir un artículo del Mercadillo (página pública y Mi Espacio). Texto blanco sobre el color de
   cada red con contraste AA (los colores de marca más claros se oscurecieron un poco para cumplirlo). */
.mks { display: flex; flex-direction: column; gap: 0.55rem; }
.mks-title { margin: 0; color: #12201d; font-size: 0.9rem; font-weight: 800; }
.mks-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 0.45rem; }
.mks-btn span { white-space: nowrap; }
.mks-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 2.5rem; padding: 0 0.7rem; border: none; border-radius: 0.6rem;
  color: #fff; font: inherit; font-size: 0.85rem; font-weight: 700; text-decoration: none; cursor: pointer; transition: filter 0.15s ease, transform 0.15s ease; }
.mks-btn:hover { filter: brightness(0.92); color: #fff; }
.mks-btn:active { transform: translateY(1px); }
.mks-btn:focus-visible { outline: 3px solid rgba(15, 107, 92, 0.4); outline-offset: 2px; }
.mks-btn i { font-size: 1rem; }
.mks-facebook { background: #1565d8; }
.mks-x { background: #000; }
.mks-whatsapp { background: #0e7a3e; }
.mks-telegram { background: #1f6fa8; }
.mks-pinterest { background: #c8102e; }
.mks-linkedin { background: #0a66c2; }
.mks-email { background: #4b5563; }
.mks-instagram { background: linear-gradient(45deg, #c13584 0%, #b1157a 45%, #833ab4 100%); }
.mks-copy { background: #fff; color: #0f6b5c; box-shadow: inset 0 0 0 1.5px #0f6b5c; }
.mks-copy:hover { color: #0b5549; background: #ecf7f4; }
.mks-more { background: #0f6b5c; }
.mks-toast { position: fixed; left: 50%; bottom: 6rem; z-index: 10001; max-width: min(92vw, 520px); transform: translateX(-50%); padding: 0.7rem 1rem;
  border-radius: 0.8rem; background: #12201d; color: #fff; font-weight: 700; font-size: 0.9rem; line-height: 1.4; text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }

/* Ventana de compartir en Mi Espacio */
.mks-overlay { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 1rem; background: rgba(10, 20, 18, 0.55); }
.mks-dialog { width: min(520px, 100%); padding: 1.1rem; border-radius: 1rem; background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
.mks-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.mks-dialog-head h3 { margin: 0; color: #12201d; font-size: 1.05rem; }
.mks-close { width: 2.3rem; height: 2.3rem; border: none; border-radius: 50%; background: #eef3f1; color: #12201d; cursor: pointer; }
.mks-dialog .mks-title { display: none; }
@media (prefers-reduced-motion: reduce) { .mks-btn { transition: none; } }
