/* "Comparte y gana" (afiliados) en la página del producto — includes/afiliados_tarjeta.php */
.af-card { display: flex; align-items: center; gap: 12px; background: #F7F3FF; border: 1px solid #E7DDFD; border-radius: 14px; padding: 12px 14px; }
.af-ic { width: 40px; height: 40px; border-radius: 12px; background: #7C3AED; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.af-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.af-tx b { font-size: 15px; color: #161823; }
.af-tx small { font-size: 12.5px; color: #6b6b75; line-height: 1.35; }
.af-btn { border: 0; background: #7C3AED; color: #fff; font-weight: 800; font-size: 14px; border-radius: 22px; padding: 9px 18px; cursor: pointer; flex: none; }
.af-btn:hover { background: #6D28D9; }
.af-card.af-pc { margin: 14px 0 4px; }
.af-card.af-cel { display: none; }
@media (max-width: 767px) {
  .af-card.af-pc { display: none; }
  .af-card.af-cel { display: flex; margin: 10px 12px 0; }
}
/* Ventana con el enlace */
.af-sw { text-align: left; font-size: 14.5px; color: #3f4254; }
.af-sw p { margin: 0 0 12px; line-height: 1.45; }
.af-sw-link { display: flex; gap: 8px; }
.af-sw-link input { flex: 1; min-width: 0; border: 1.5px solid #E4E4EA; border-radius: 12px; padding: 10px 12px; font-size: 13.5px; color: #161823; background: #F7F7F9; font-family: inherit; }
.af-sw-link button { border: 0; background: #161823; color: #fff; font-weight: 800; border-radius: 12px; padding: 0 16px; cursor: pointer; }
.af-sw-wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; background: #25D366; color: #fff !important; font-weight: 800; border-radius: 12px; padding: 11px; text-decoration: none; }
.af-sw-mas { display: block; text-align: center; margin-top: 12px; color: #6D28D9 !important; font-weight: 700; text-decoration: none; font-size: 14px; }
